obsidian-clis

obsidian-clis is a skill for Claude Code from nweii/agent-stuff. It costs 46 tokens per session (1,685 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 Code

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

Part of the obsidian-tools plugin — 4 skills shipped together

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nweii/agent-stuff/obsidian-clis
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 nweii/agent-stuff --skill obsidian-clis
Clone the repo
git clone --depth 1 https://github.com/nweii/agent-stuff

Made for: Claude Code.

Or install obsidian-tools, the plugin that ships this one along with the rest of its 4 skills.

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/github.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/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-clis

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,685 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.00046 $0.01685
Opus 5.5 $0.00018 $0.00674
Sonnet 5.5 $0.00009 $0.00337
Haiku 4.5 $0.00005 $0.00169

Measured 1mo ago against content hash d811cc84e62c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

plugins/obsidian-tools/skills/obsidian-clis/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 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 · 185 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. 1mo ago Changed · +1 lines d811cc84e62c
  2. 2mo ago Changed · -35 tokens per session cdd4ef1962a1
  3. 3mo 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 (10 stars, last pushed 15d ago), licensed MIT. It adds 46 tokens to every session and 1,685 once invoked, about $0.0002 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-31.

Related

obsidian-clis compared with skills from other repositories

obsidian-clis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obsidian-clisnweii/agent-stuffSkill1015d agoMITA46Claude Code
Migratedanielmiessler/LifeOSSkill21k15d agoMITA104Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k15d agoMITA184Claude Code
Profiledanielmiessler/LifeOSSkill21k15d agoMITA108Claude Code, Codex
wiki-dashboardAr9av/obsidian-wikiSkill3.8kyesterdayMITA42Claude Code
relevance-coarse-filterelvisun/newsjackSkill1.7k8d agoMITA57Claude Code
daily-briefingvellum-ai/vellum-assistantSkill1.5k2d agoMITA75Claude Code, Codex