obsidian-capturelisted
Install: claude install-skill chuckplayer/claude-agent-pack
# Obsidian Capture
Save an ad-hoc note, decision, or thought to the vault immediately. Captures
always land in `Claude/captures/` (global, not project-specific) and are linked
into the project's daily note automatically.
## Step 1 — Check configuration
Read `OBSIDIAN_VAULT_PATH` from the environment:
- Bash: `bash -c 'echo $OBSIDIAN_VAULT_PATH'`
- PowerShell: `$env:OBSIDIAN_VAULT_PATH`
If empty, stop and tell the user:
> "OBSIDIAN_VAULT_PATH is not set. Re-run `install.sh` and provide your vault
> path when prompted, or add it manually to `~/.claude/settings.json` under
> the `env` key."
Also read:
- `OBSIDIAN_PROJECTS_FOLDER` (empty string if unset — used for daily note routing)
You do not need the REST API variables. `obsidian-writer` owns the transport chain
(CLI → REST API → filesystem) and reads `OBSIDIAN_REST_API_KEY`, `OBSIDIAN_REST_API_PORT`,
and `OBSIDIAN_REST_API_HTTPS` from the environment itself. Never pass the API key to an
agent — it would end up in the dispatch payload and the transcript.
## Step 2 — Collect content
Ask the user: "What do you want to capture?"
Accept a title and body, or just body text (title will default to the first
line of the body if not provided separately).
## Step 3 — Dispatch obsidian-writer
Invoke the **obsidian-writer** agent with:
- `write_mode`: `capture`
- `vault_path`: value of `OBSIDIAN_VAULT_PATH`
- `projects_folder`: value of `OBSIDIAN_PROJECTS_FOLDER` (empty string if unset)
- `title`: user's title
- `body`: user'