obsidianlisted
Install: claude install-skill lx-wnk/skills
# Obsidian Knowledge Base – curl API Reference
## When to use this skill
There are three natural moments to reach for Obsidian:
1. **Before a task** — search for existing context so you don't repeat research or contradict prior decisions
2. **Mid-task** — when you discover something non-obvious (a hidden bug cause, a framework gotcha, an architecture constraint, a deliberate tradeoff) that would cost future-you to rediscover
3. **After a task** — persist new learnings, updated project status, or decisions made during the session
If something gets written to CLAUDE.md or project documentation, consider whether it also belongs in Obsidian — CLAUDE.md is project-scoped, Obsidian is cross-project and searchable.
---
## Base Config
- **URL:** `$OBSIDIAN_BASE_URL`
- **Auth:** `$OBSIDIAN_API_KEY`
- **Root folder:** `$OBSIDIAN_ROOT` (default: `claude-memory`)
- **SSL:** self-signed cert → always use `curl -sk`
- **Default subfolders:** `private/`, `work/`, `misc/`
> **Setup:** Add these vars to `~/.claude/settings.json` under the `"env"` key — **not** to `~/.claude/settings.local.json` (that path is not a recognized Claude Code settings scope and is silently ignored):
>
> ```json
> { "env": { "OBSIDIAN_BASE_URL": "https://127.0.0.1:27124", "OBSIDIAN_API_KEY": "your-key" } }
> ```
## Helper alias (reduces repetition)
```bash
obs() { curl -sk -H "Authorization: Bearer $OBSIDIAN_API_KEY" "$@"; }
ROOT="${OBSIDIAN_ROOT:-claude-memory}"
```
> **Note:** Each Bash tool call runs i