obsidian-cli

obsidian-cli is a skill for Claude Code, Codex from Bahgs/Self-Improving-Obsidian-LLM-Wiki. It costs 28 tokens per session (112 once invoked), scanned A, original, MIT.

A command-line interface for a running Obsidian app, which stores notes in a searchable vault. It can inspect files, search notes, reload plugins, and check how content appears.

In plain words
What is it for?
Use it to inspect the active note, search the vault, reload plugins, check errors, and capture screenshots.
Why use it?
It helps verify the state and behavior of an open Obsidian vault without relying only on manual inspection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect the active note, search the vault, reload plugins, check errors, and capture screenshots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli
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 Bahgs/Self-Improving-Obsidian-LLM-Wiki --skill obsidian-cli
Clone the repo
git clone --depth 1 https://github.com/Bahgs/Self-Improving-Obsidian-LLM-Wiki

Made for: Claude Code, Codex.

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 obsidian-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli/github.svg)](https://agentmods.dev/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli)
Your own site
<a href="https://agentmods.dev/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli"><img src="https://agentmods.dev/badge/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-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 obsidian-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli"><img src="https://agentmods.dev/badge/skills/bahgs/self-improving-obsidian-llm-wiki/obsidian-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 112 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.
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.00028 $0.00112
Opus 5 $0.00014 $0.00056
Sonnet 5 $0.00006 $0.00022
Haiku 4.5 $0.00003 $0.00011

Measured 10d ago against content hash ad771dc6ac4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

obsidian-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 10d 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/obsidian-cli/SKILL.md · 21 lines

What it actually says

Obsidian CLI Skill

Use this skill when the user asks to interact with an open Obsidian vault or verify plugin/theme behavior.

Possible tasks:

  • inspect active file
  • run vault searches
  • verify links or rendered markdown
  • reload plugins
  • inspect errors
  • take screenshots

Do not use this skill for ordinary file edits when direct markdown editing is enough.

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. 10d ago First seen · 21 lines · 28 tokens per session scan A ad771dc6ac4b

Subscribe to this mod's changes

obsidian-cli is a skill published in the GitHub repository Bahgs/Self-Improving-Obsidian-LLM-Wiki (31 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 112 once invoked, about $0.0001 per session on Opus 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.