/jonhill90-skills:obsidianfrom jonhill90-skills
Read, write, search, and manage notes in Obsidian vaults via the official Obsidian CLI. Use when working with Obsidian notes, vaults, knowledge bases, daily notes, tasks, or personal wikis.
Ships in jonhill90-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Interact with Obsidian vaults using the official Obsidian CLI (obsidian),
bundled with the desktop app since v1.12.
Architecture note (verified 2026-07-12): the CLI remote-controls the
Obsidian app and requires it to be already running — with the app
closed, commands fail fast with "The CLI is unable to find Obsidian"
(it does not auto-launch, despite what some docs imply; open -a Obsidian first if needed). For plain file reads/writes where the app is
unavailable (headless machines, CI), fall back to direct file operations
on the vault directory — notes are plain Markdown.
# Verify the CLI responds (also confirms the app is reachable)
obsidian version
Requirements: Obsidian desktop installer ≥1.12 and CLI enabled in Settings → General → Command line interface.
Installer-vs-core gotcha (verified): Obsidian's in-app updater updates only the core (Settings → About "Current version"); the CLI binary ships in the .app bundle, so an old installer has no CLI even when the app displays 1.12+. Fix: download a fresh installer from obsidian.md and replace the app.
The binary lives at
/Applications/Obsidian.app/Contents/MacOS/obsidian-cli. Register it on
PATH either via the app's own registration
(/usr/local/bin/obsidian, needs admin) or without sudo:
ln -sf /Applications/Obsidian.app/Contents/MacOS/obsidian-cli ~/bin/obsidian
key=value; quote values with spaces: name="My Note".overwrite, open, total.\n for newlines in content values.vault=<name> as the first parameter;
otherwise the CLI uses the vault of the current working directory or the
active vault.format=json|csv|tsv|md|yaml — prefer json
when parsing output.obsidian vault="Second Brain" search query="meeting notes" format=json
# List known vaults; confirm the target
obsidian vaults verbose
# Vault info (name, path, size, counts)
obsidian vault info=path
Check this harness's local, project-scoped configuration for vault settings — its file name and format vary by harness (a local instructions override, a local settings file, an environment variable) — for a block like:
## Obsidian
- Vault: {vault-name}
- Rules: {path to vault rules note}
If none exists, ask the user which vault to use and whether a rules/guide note exists, then have them record it in whatever local configuration this harness reads automatically. On first use per session, if a rules path is configured, read it and follow its folder, template, naming, and tagging rules exactly:
obsidian read path="{rules-note-path}"
If no rules file exists, use the generic practices in the Note Creation Guide.
obsidian read file="{note-name}"
obsidian read path="{path/from/vault/root.md}"
NEVER create a note without frontmatter.
# Create (fails into a duplicate-safe state; see gotchas)
obsidian create name="{path/or/name}" content="$(cat <<'EOF'
---
type: ...
tags: []
created: ...
updated: ...
---
# Title
EOF
)"
# Create from a vault template
obsidian create name="{name}" template="{template-name}"
# Replace an existing note (read-modify-write)
obsidian create name="{path}" content="..." overwrite
obsidian append file="{note}" content="- new line"
obsidian prepend file="{note}" content="…"
# `inline` joins without a new line
# Machine-readable results
obsidian search query="term" format=json limit=20
# With surrounding context lines
obsidian search:context query="term" path="{folder}" limit=10
Uses Obsidian's own search index — respects the vault's ignore settings and returns ranked results, unlike a plain grep.
obsidian files folder="{path}" ext=md
obsidian folders folder="{path}"
obsidian folder path="{path}" info=files
obsidian property:read name="{key}" file="{note}"
obsidian property:set name="{key}" value="{value}" type=text file="{note}"
obsidian property:remove name="{key}" file="{note}"
# All properties of a note
obsidian properties file="{note}" format=yaml
obsidian daily:read
obsidian daily:append content="- [ ] follow up"
obsidian tasks file="{note}" todo format=json
obsidian task ref="{note.md}:{line}" done
obsidian move file="{note}" to="{new/folder/path}"
obsidian rename file="{note}" name="{new-name}"
obsidian delete file="{note}" # to trash
obsidian delete file="{note}" permanent # careful
obsidian backlinks file="{note}" format=json
obsidian links file="{note}"
obsidian orphans total
obsidian read path="{note}"
# … edit content in memory …
obsidian create name="{note}" content="…full replacement…" overwrite
obsidian search query="topic" format=json limit=10
obsidian read path="{result-path}"
open -a Obsidian first, or use direct
file operations on headless machines.create without overwrite on an existing note does not replace
it — always pass overwrite (full replacement) or use append.overwrite; preserve frontmatter and bump updated.vault= must be the first parameter when targeting a non-default
vault.format=json on list/search commands when the output feeds
further steps.| Problem | Solution |
|---|---|
obsidian: command not found | Recreate the symlink (see Prerequisites) or enable the CLI in app settings |
| CLI hangs / no response | Check the app launched and finished indexing; retry |
Command "read" not found on vault= target | The target vault hasn't finished loading in the app — retry after a few seconds |
| Wrong vault targeted | Pass vault="{name}" first; verify with obsidian vault info=name |
| Note not found | obsidian files folder="{folder}" to check the real path |
| Duplicate content after update | You appended instead of overwrite (or vice versa) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jonhill90/skills --plugin jonhill90-skillsOther plugins' skills for the same job
44 skills in this plugin
/adopt-or-buildDecide, per component, whether to adopt an existing name, dependency, library, or tool or build it in-house, weighing blast radius over convenience. Use at the point a name or dependency is about to be chosen or recommended — before it is proposed, not after. Not for finding a technology's capability ceiling (research-the-limit), not the mechanism for genuinely different reviewer lenses (ask-a-council, which this skill may call), and not a substitute for attacking the chosen answer (devils-advocate, which this skill invokes as its final step)./ask-a-councilConvene several harnesses or models against one question, each doing a distinct job it can fail at — different evidence, a different objective, or a withheld conclusion — before an artifact becomes load-bearing and being wrong is expensive. Diversity comes from what each reviewer is given, never from a character it plays. Use when the failure modes genuinely differ in kind — a single reviewer's prompt would only catch what its own lens looks for. Not for a question a cheap deterministic check settles (run the check first); not for one reviewer's prompt (sanity-check owns that); not for dispatch mechanics or isolation boundaries (dispatching-subagents owns those); not for trusting a verdict already returned (verify-the-instrument owns that).