obsidian-clis

obsidian-clis is a skill for Claude Code, Codex from nweii/agent-stuff. It costs 81 tokens per session (1,696 once invoked), scanned A, original, MIT.

A set of command-line tools for managing Obsidian notes and vaults, using the Obsidian app CLI or a headless fallback called notesmd-cli. Obsidian is a note-taking app that stores linked notes in a vault.

In plain words
What is it for?
Use it to create, edit, search, and organise notes; inspect orphaned or broken links and backlinks; manage tasks and properties; work with Bases; or develop plugins.
Why use it?
It lets you automate and inspect notes from a terminal, including links and tasks, even when the graphical app is unavailable if the fallback is installed.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/nweii/agent-stuff/obsidian-clis
Any agent
npx skills add nweii/agent-stuff --skill obsidian-clis
Clone the repo
git clone --depth 1 https://github.com/nweii/agent-stuff

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-clis

README.md
[![agentmods](https://agentmods.dev/badge/skills/nweii/agent-stuff/obsidian-clis.svg)](https://agentmods.dev/skills/nweii/agent-stuff/obsidian-clis)
Your own site
<a href="https://agentmods.dev/skills/nweii/agent-stuff/obsidian-clis"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/obsidian-clis.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00081 $0.01696
Opus 5 $0.00041 $0.00848
Sonnet 5 $0.00016 $0.00339
Haiku 4.5 $0.00008 $0.00170

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

Security

Grade A, and why

obsidian-clis 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 5d 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-clis/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Obsidian CLIs

CLIs here means two terminal interfaces: the Obsidian app CLI (obsidian, primary) and notesmd-cli (filesystem fallback when obsidian is not available). There is no separate invocation mode—pick the binary that exists in the environment.

Which binary to use

  1. If obsidian is on PATH, use it for all workflows below (richer surface: links, Bases, tasks, plugin dev).
  2. If obsidian is missing but notesmd-cli is on PATH, follow notesmd-fallback.md for headless vault operations.
  3. If neither is available, say so and fall back to direct file edits, MCP, or other vault tools the user provides.

CLI availability

Before relying on either tool, confirm install with command -v obsidian and command -v notesmd-cli (or which) when the environment is unknown. Do not assume either binary is present.

If sandboxed obsidian cannot find the running app, retry outside the sandbox before falling back.


Obsidian app CLI

Run obsidian <command> to control a running Obsidian instance from the terminal. The app must be running for most commands; the first command will launch Obsidian if not open.

Run obsidian help or obsidian help <command> for the canonical, always-up-to-date command reference. This skill documents common patterns and non-obvious behaviors.

Targeting vaults and files

  • Vault: vault=<name> as first parameter. Default: cwd if it's a vault folder, else the active vault.
  • File: file=<name> resolves like a wikilink (name only, no path or extension needed). path=<path> for exact path from vault root.
  • TUI: Run obsidian with no args for interactive mode; omit the obsidian prefix inside.

Parameters and flags

  • Parameters: param=value. Quote values with spaces: content="Hello world".
  • Flags: Boolean, no value: silent, overwrite, newtab.
  • Multiline content: Use \n for newlines, \t for tabs in content=.

Search, links, and structure

Read the full file on GitHub · 184 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 184 lines · 81 tokens per session scan A d61a38841c67

Subscribe to this mod's changes

obsidian-clis is a skill published in the GitHub repository nweii/agent-stuff (8 stars, last pushed 17d ago), licensed MIT. It adds 81 tokens to every session and 1,696 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

Migrate

Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…

danielmiessler/LifeOS · 158 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…

coreyhaines31/makerskills · 322 tokens

calendar

Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.

fuyuxiang/echo-agent · 29 tokens

email-assistant

Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.

fuyuxiang/echo-agent · 29 tokens