wiki-cli
What it does
This skill finds out how your agent can read an Obsidian vault, and then searches or reads it. It is for people who keep notes in Obsidian and want quick, read-only lookups.
When to use it
- ✓When you want to search or read notes in your Obsidian vault from the command line.
- ✓When you want to find backlinks or tags in your vault.
- ✓When you need to check how the agent can reach your vault before it reads anything.
Skill link
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-cli/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Search my Obsidian vault for everything I wrote about budgeting, and list the notes that link to them.”
5 new skills a week. 1 minute to read.
How it works
The agent runs a quick check to see whether the Obsidian command line is usable, since having it installed is not enough. If it is not usable, the agent reads the vault files directly instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Obsidian CLI read transport
Use this skill only to detect transport and read or search a selected vault.
The official executable is obsidian; binary presence alone does not prove it
is usable.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
DETECT_TRANSPORT="$PRODUCT_ROOT/scripts/detect-transport.sh"
test -f "$DETECT_TRANSPORT"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Detect safely
Probe without persisting host state:
bash "$DETECT_TRANSPORT" --peek --vault "$VAULT"
Trust available.cli.usable, not merely present or exit status. A supported
CLI can still be unavailable because the Obsidian app is not running, command
line access is disabled, or its response is an error. Use filesystem reads as
the portable fallback.
Persist a refreshed .vault-meta/transport.json only when the user or setup
workflow asks for a transport snapshot:
bash "$DETECT_TRANSPORT" --force --vault "$VAULT"
That file is derived runtime configuration, not knowledge content. Preserve a
valid manual_override recorded by the detector.
Read and search
Run official CLI commands from the selected vault so Obsidian resolves the correct workspace. Confirm supported syntax with the installed CLI before relying on optional commands. Typical read-only forms are:
(cd "$VAULT" && obsidian read path="$NOTE")
(cd "$VAULT" && obsidian search query="$QUERY")
Use read-only commands for backlinks, tags, or Bases results only when the
detector reports the CLI ready. Otherwise read files under $VAULT directly
and use rg for search. Reject absolute note arguments, traversal, symlinks, or
resolved paths outside the selected vault.
Mutation boundary
Do not use CLI create, write, append, property-set, daily-append, move, rename, or delete commands. Do not replace those commands with direct filesystem writes. Any knowledge or configuration change must be expressed as one reviewed transaction through the portable core; see operation transactions.
Transport choice never changes mutation semantics. The CLI is an optional read surface, not a lock manager, transaction engine, or Git checkpoint mechanism.
Checkpoint
Observe actual capability, think about the least complex read transport, verify that every resolved path stays in the vault, and accept filesystem fallback when the CLI is not ready.
FAQ
Does it change my notes?
No. The skill is for reading and searching only. Edits go through a separate, reviewed process.
Why is a check needed?
A command can be installed but still not work, for example when the Obsidian app is closed, so the skill tests it first.
What is the fallback?
If the command line is not usable, the agent reads the vault files directly.
Details
Original description by the author
Detect and use the official Obsidian command-line interface for read-only vault access; use for wiki-cli, Obsidian CLI, Obsidian read, Obsidian search, vault transport, which transport, transport detection, backlinks, tags, or Obsidian command line. Mutations always go through the claude-obsidian transaction core.
Popularity
- GitHub stars
- 16k
- Ranking position
- #10811
- License
- MIT
- Updated
- 10/25/2026
Comments
- …
More skills from this repository
autoresearch
16kLets your agent research a topic within set limits and draft a cited report. Web findings stay as evidence and are not added to your notes automatically.
canvas
16kHelps your agent create and update visual boards in Obsidian that hold notes, files, links, and groups. Useful for maps and spatial layouts.
defuddle
16kHelps your agent plan how to clean a web page into readable text and keep local copies of source files. Network cleaning is not yet available.
obsidian-bases
16kHelps your agent design Obsidian Bases views that work like simple databases, with filters, formulas, and table or card layouts.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.