wiki-cli

wiki-cli is a skill for Claude Code from AgriciDaniel/claude-obsidian. It costs 74 tokens per session (667 once invoked), scanned A, original, MIT.

A read-only bridge to Obsidian's official command-line interface, which lets programs search and read a vault from a terminal. It checks whether that interface is actually usable and falls back to reading files when needed.

In plain words
What is it for?
Use it to detect the available vault-reading method, search notes, inspect backlinks and tags, and read Obsidian content.
Why use it?
It avoids treating a merely installed command as working when Obsidian is closed or command-line access is disabled. It keeps changes out of this tool; vault edits go through a separate transaction process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-obsidian plugin — 15 skills, 3 agents, 2 hooks shipped together

Good fit Use it to detect the available vault-reading method, search notes, inspect backlinks and tags, and read Obsidian content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agricidaniel/claude-obsidian/wiki-cli
About the project

claude-obsidian is a local knowledge system that turns source material into linked, source-cited Markdown notes in an Obsidian vault for use with Claude Code and compatible agent hosts. People use it to capture research, retrieve evidence-grounded answers, maintain knowledge, and map connections while retaining ownership of their files. The catalogue entries provide workflows and extensions for operating this knowledge system.

AgriciDaniel/claude-obsidian · 15,675 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AgriciDaniel/claude-obsidian --skill wiki-cli
Clone the repo
git clone --depth 1 https://github.com/AgriciDaniel/claude-obsidian

Made for: Claude Code.

Or install claude-obsidian, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wiki-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-cli/github.svg)](https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-cli)
Your own site
<a href="https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-cli"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wiki-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-cli"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00667
Opus 5.5 $0.00030 $0.00267
Sonnet 5.5 $0.00015 $0.00133
Haiku 4.5 $0.00007 $0.00067

Measured 1mo ago against content hash 468df53c8712, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wiki-cli/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on 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.

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.

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines 468df53c8712
  2. 1mo ago First seen · 76 lines · 74 tokens per session scan A 2885621fc55c

Subscribe to this mod's changes

wiki-cli is a skill published in the GitHub repository AgriciDaniel/claude-obsidian (15,675 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 667 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

screenpipe-api

Query the user's local and synced-device data via the screenpipe REST API at localhost:3030 — recordings, audio, UI, meetings, connected services, and memory. Use for screen activity, other-device or cross-device history, productivity, media export, connections, durable memory, or discovering and automating saved…

tonydzi/second-brain-starter-kit · 68 tokens

follower-onboard

Onboard a new machine as a receive-only follower on a multi-machine agent network: it reads the shared vault, canon, skills and memory, runs nothing heavy locally (no RAG, reindex or GPU), and never receives executable hooks from the hub. Checklist-driven, with a verify step at each stage. Triggers: "/follower-onboard…

tonydzi/second-brain-starter-kit · 79 tokens

brain-onboard

An onboarding workflow that helps another person create and use their own private knowledge store, sometimes called a second brain. It gathers their information with consent, saves it in their own workspace, and demonstrates a first useful result.

tonydzi/second-brain-starter-kit · 121 tokens

memory-tidy

Tidy an agent's always-loaded memory index (MEMORY.md) on macOS or Linux: trim long lines, move closed entries to an archive, fold domains into hub files, restore dropped pins and add pointers for orphan memory files. Use when the index is over budget or has orphans. Triggers: /memory-tidy, /mt, tidy memory.

tonydzi/second-brain-starter-kit · 78 tokens

claudeai-sync

Pull new and changed claude.ai web conversations into an Obsidian vault, extract artifacts as first-class notes, concept-link them, and refresh the RAG index and dashboard. Idempotent: curated notes are never overwritten. Triggers: "/claudeai-sync", "pull claude.ai", "grab new claude.ai chats".

tonydzi/second-brain-starter-kit · 74 tokens

mine-channel

Mine any Telegram channel or chat for signal in one command: incremental zero-token scrape, deterministic detector shortlist, LLM judge for what is genuinely valuable to this owner, then linked vault notes, a database row, a map-of-content entry and reindex. Triggers: "/mine-channel ", "alpha from ".

tonydzi/second-brain-starter-kit · 72 tokens