obsidian-cli

obsidian-cli is a skill for Claude Code, Codex from saski/arnesto. It costs 102 tokens per session (1,551 once invoked), scanned A, a copy of obsidian-cli, Unlicense.

A command-line tool for reading, creating, searching, and managing notes, tasks, and other content in an Obsidian vault.

In plain words
What is it for?
Use it to manage notes and tasks, inspect vault content, and support Obsidian plugin or theme development.
Why use it?
It lets an agent work with an open Obsidian vault through commands instead of requiring manual note editing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to manage notes and tasks, inspect vault content, and support Obsidian plugin or theme development.

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

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/saski/arnesto/obsidian-cli/github.svg)](https://agentmods.dev/skills/saski/arnesto/obsidian-cli)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/obsidian-cli"><img src="https://agentmods.dev/badge/skills/saski/arnesto/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/saski/arnesto/obsidian-cli"><img src="https://agentmods.dev/badge/skills/saski/arnesto/obsidian-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,551 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 100% copy Near-identical to another mod 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.00102 $0.01551
Opus 5.5 $0.00041 $0.00620
Sonnet 5.5 $0.00020 $0.00310
Haiku 4.5 $0.00010 $0.00155

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

Origin

This is a copy

100% identical to obsidian-cli — 50 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/obsidian-cli/SKILL.md · 141 lines

How it starts

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

Obsidian CLI

Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.

Before using the CLI

Run obsidian help to check availability. If the command is missing, explain how to turn on the CLI using https://help.obsidian.md/cli. The obsidian command ships with the Obsidian installer; don't install the unrelated npm package obsidian-cli. If it can't find Obsidian, ask the user to open the desktop app, then retry. In a sandboxed shell the same message can mean the sandbox blocked the CLI's local socket.

On WSL, run Obsidian.com from the Windows install folder, not Obsidian.exe. Obsidian.com is the console wrapper that prints the output; Obsidian.exe exits without printing anything.

The CLI exits with status 0 even when a command fails, so read its output before reporting that a command succeeded.

Quote parameters for the current shell, and pass note text as literal argument data, never as executable shell syntax.

Command reference

Run obsidian help to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli

Syntax

Parameters take a value with =. Quote values with spaces:

obsidian create name="My Note" content="Hello world"

Flags are boolean switches with no value:

obsidian create name="My Note" open

Use overwrite only when replacing an existing file is intended.

Opening is opt-in: pass open to open the file, and add newtab to open it in a new tab. There is no silent flag.

In content=, \n becomes a newline and \t a tab. Every \n and \t is converted and there's no escape, so text such as the LaTeX \theta or the path C:\notes is corrupted. Write content that contains backslashes, or is longer than about 4 KB, directly to the note's file instead.

A dot in a file name is read as the start of an extension. When a name contains a dot, include the extension: create name="Meeting 2026.11.06.md", rename name="v1.2 notes.md", move to="Archive 2026.10/Note.md".

Read the full file on GitHub · 141 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 Changed · +34 lines f656d5b20f51
  2. 2mo ago First seen · 107 lines · 102 tokens per session scan A b54257cdc0e5

Subscribe to this mod's changes

obsidian-cli is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 102 tokens to every session and 1,551 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to obsidian-cli, differing in 50 lines, and is treated as a copy.

Related

obsidian-cli compared with skills from other repositories

obsidian-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obsidian-clisaski/arnestoSkill75d agoUnlicenseA102Claude Code, Codex
obsidian-clisd0xdev/sd0x-harnessSkill1966d agoMITA78Claude Code
workspace-explorerfeniix/pi-extensionsSkill252d agoMITA123Claude Code
lemma-bring-inlemma-work/lemma-platformSkill662todayAGPL-3.0A141Claude Code, Codex
work-workflow-filesmanishiitg/coding-agent-loopSkill132mo agoMITA84Claude Code, Codex
gogopenclaw/openclawSkill395ktodayMITA20Claude Code, Codex
pdfagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A95Claude Code, Codex