|
|
@@ -53,53 +53,99 @@ Covers **100+ commands** across all major areas:
|
|
|
|
|
|
|
|
|
|
|
|
### Claude Code — Plugin (native)
|
|
|
|
### Claude Code — Plugin (native)
|
|
|
|
|
|
|
|
|
|
|
|
Install directly from GitHub using the Claude Code plugin system:
|
|
|
|
1. Clone this repository:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
1. Open Claude Code and run:
|
|
|
|
git clone https://github.com/pablo-mano/Obsidian-CLI-skill
|
|
|
|
```
|
|
|
|
```
|
|
|
|
/plugin marketplace add https://github.com/pablo-mano/Obsidian-CLI-skill
|
|
|
|
2. Load the plugin with the `--plugin-dir` flag:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
claude --plugin-dir ./Obsidian-CLI-skill
|
|
|
|
```
|
|
|
|
```
|
|
|
|
2. Install the `obsidian-cli` skill from the plugin list.
|
|
|
|
|
|
|
|
3. Done — the skill auto-triggers when you ask Claude to interact with Obsidian, automate vault operations, manage daily notes, search your vault, etc.
|
|
|
|
3. Done — the skill auto-triggers when you ask Claude to interact with Obsidian, automate vault operations, manage daily notes, search your vault, etc.
|
|
|
|
|
|
|
|
|
|
|
|
**Alternative — manual install:**
|
|
|
|
**Persistent setup** — add to your project's `.claude/settings.json` so the plugin loads automatically:
|
|
|
|
1. Download `obsidian-cli-skill-v1.0.0.zip` from the [Releases](https://github.com/pablo-mano/Obsidian-CLI-skill/releases) page.
|
|
|
|
```json
|
|
|
|
2. Open Claude Code → Skills plugin settings → Import → select the `.zip`.
|
|
|
|
{
|
|
|
|
|
|
|
|
"plugins": {
|
|
|
|
|
|
|
|
"obsidian-cli": {
|
|
|
|
|
|
|
|
"source": { "source": "github", "repo": "pablo-mano/Obsidian-CLI-skill" }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
> The `plugin.json` manifest at the repo root makes this repository directly compatible with Claude Code's plugin system.
|
|
|
|
> The `.claude-plugin/plugin.json` manifest makes this repository directly compatible with Claude Code's plugin system.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
### Cursor
|
|
|
|
### Cursor
|
|
|
|
|
|
|
|
|
|
|
|
Cursor loads context via [Rules](https://docs.cursor.com/context/rules-for-ai). Add the skill as a project-level or global rule:
|
|
|
|
Cursor has a native skills system (launched Feb 2026) that is directly compatible with the `SKILL.md` format — no rules file needed.
|
|
|
|
|
|
|
|
|
|
|
|
1. Create the file `.cursor/rules/obsidian-cli.mdc` in your project root (or in `~/.cursor/rules/` for global scope).
|
|
|
|
**Option A — GitHub install (recommended):**
|
|
|
|
2. Paste the body of `SKILL.md` (everything after the `---` frontmatter block) into the file.
|
|
|
|
1. Open Cursor Settings → Rules
|
|
|
|
3. Optionally append the contents of `references/command-reference.md` for the full command reference.
|
|
|
|
2. Click **Add Rule** → **Remote Rule (GitHub)**
|
|
|
|
|
|
|
|
3. Paste `https://github.com/pablo-mano/Obsidian-CLI-skill`
|
|
|
|
|
|
|
|
4. Done — the skill auto-triggers on Obsidian-related tasks.
|
|
|
|
|
|
|
|
|
|
|
|
Cursor will now apply Obsidian CLI knowledge when you work on related tasks.
|
|
|
|
**Option B — Local copy:**
|
|
|
|
|
|
|
|
1. Clone or download this repo
|
|
|
|
|
|
|
|
2. Copy the folder into your project: `.cursor/skills/obsidian-cli/`
|
|
|
|
|
|
|
|
(or globally: `~/.cursor/skills/obsidian-cli/`)
|
|
|
|
|
|
|
|
3. Cursor picks it up automatically — no restart needed.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
### Windsurf
|
|
|
|
### Windsurf
|
|
|
|
|
|
|
|
|
|
|
|
Windsurf uses [Rules](https://docs.windsurf.com/windsurf/memories-and-rules) stored in `.windsurf/rules/`:
|
|
|
|
Windsurf uses a Rules system (`.windsurf/rules/`). Rules have a 12,000 character limit per file, so split the skill across two files:
|
|
|
|
|
|
|
|
|
|
|
|
1. Create `.windsurf/rules/obsidian-cli.md` in your project.
|
|
|
|
1. Create `.windsurf/rules/obsidian-cli.md` — paste the body of `SKILL.md` (everything after the `---` frontmatter).
|
|
|
|
2. Paste the body of `SKILL.md` (below the frontmatter) into the file.
|
|
|
|
2. Create `.windsurf/rules/obsidian-cli-reference.md` — paste the contents of `skills/obsidian-cli/references/command-reference.md`.
|
|
|
|
3. Optionally include the command reference from `references/command-reference.md`.
|
|
|
|
|
|
|
|
|
|
|
|
Set the activation mode to **Always On** or **Model Decision** in each file's frontmatter to control when the rules apply.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Nanoclaw
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nanoclaw loads skills from `.claude/skills/` using the same `SKILL.md` format — directly compatible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Clone or download this repo
|
|
|
|
|
|
|
|
2. Copy the skill folder into your Nanoclaw project:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
cp -r Obsidian-CLI-skill /path/to/nanoclaw/.claude/skills/obsidian-cli
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
3. The skill is available as a slash command (`/obsidian-cli`) or auto-triggers when you ask the agent to interact with Obsidian.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> This is a knowledge skill — it adds Obsidian CLI awareness to the agent without modifying Nanoclaw's codebase.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Openclaw
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Openclaw loads skills from the `skills/` directory at the project root using the `SKILL.md` format — directly compatible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Clone or download this repo
|
|
|
|
|
|
|
|
2. Copy the skill folder into Openclaw's skills directory:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
cp -r Obsidian-CLI-skill /path/to/openclaw/skills/obsidian-cli
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Restart the Openclaw agent — skills are discovered automatically.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
### GitHub Copilot (VS Code)
|
|
|
|
### GitHub Copilot (VS Code)
|
|
|
|
|
|
|
|
|
|
|
|
Copilot supports [custom instructions](https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot) via a repository-level file:
|
|
|
|
Copilot supports [custom instructions](https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot) via repository files:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Repository-wide** (applies to all files):
|
|
|
|
1. Create `.github/copilot-instructions.md` in your repo.
|
|
|
|
1. Create `.github/copilot-instructions.md` in your repo.
|
|
|
|
2. Paste the body of `SKILL.md` into the file.
|
|
|
|
2. Paste the body of `SKILL.md` into the file.
|
|
|
|
|
|
|
|
|
|
|
|
For workspace-level instructions in VS Code, add the content to your VS Code settings under `"github.copilot.chat.codeGeneration.instructions"`.
|
|
|
|
**Path-scoped** (optional alternative):
|
|
|
|
|
|
|
|
1. Create `.github/instructions/obsidian-cli.instructions.md`
|
|
|
|
|
|
|
|
2. Add frontmatter `applyTo: "**/*"` then paste the `SKILL.md` body.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
@@ -109,9 +155,9 @@ For workspace-level instructions in VS Code, add the content to your VS Code set
|
|
|
|
|
|
|
|
|
|
|
|
1. Open the agent's system prompt / custom instructions settings.
|
|
|
|
1. Open the agent's system prompt / custom instructions settings.
|
|
|
|
2. Paste the contents of `SKILL.md` (with or without the YAML frontmatter — most agents accept either).
|
|
|
|
2. Paste the contents of `SKILL.md` (with or without the YAML frontmatter — most agents accept either).
|
|
|
|
3. Optionally include `references/command-reference.md` for the complete command reference.
|
|
|
|
3. Optionally include `skills/obsidian-cli/references/command-reference.md` for the complete command reference.
|
|
|
|
|
|
|
|
|
|
|
|
This works with Aider, Continue.dev, LM Studio, Open Interpreter, or any chat interface with a system prompt field.
|
|
|
|
This works with any chat interface or coding agent that has a system prompt or custom instructions field.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
@@ -152,7 +198,7 @@ obsidian daily:append content="- Started [[projects/new-feature|New Feature]]"
|
|
|
|
|
|
|
|
|
|
|
|
## Full Command Reference
|
|
|
|
## Full Command Reference
|
|
|
|
|
|
|
|
|
|
|
|
See [`references/command-reference.md`](references/command-reference.md) for the complete reference covering all commands, parameters, flags, output formatting, multi-vault usage, and headless Linux setup.
|
|
|
|
See [`skills/obsidian-cli/references/command-reference.md`](skills/obsidian-cli/references/command-reference.md) for the complete reference covering all commands, parameters, flags, output formatting, multi-vault usage, and headless Linux setup.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|