Skip to content
SkillModel-led1,455 tokens in use

Obsidian CLI

Drive a running Obsidian vault from the terminal and debug plugins and themes with the obsidian CLI.

53,311 stars on the repository MIT Licenseobsidianmd/obsidian-skills · plugins/obsidian/skills/obsidian-cli
npx skills add https://github.com/obsidianmd/obsidian-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Obsidian CLI costs

98tokens idle
1,455tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure19/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 29

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance84
  • Community60
  • Maturity32
  • Momentum40

Obsidian CLI is an agent skill for the obsidian command that ships with the Obsidian installer. It reads, creates, appends, renames, moves and searches notes, sets properties, lists tasks and tags, and works with daily notes.

It also covers plugin and theme development: reload a plugin, read errors, run JavaScript in the app, inspect the DOM and CSS, and take screenshots.

What You Get

  • Common command patterns for notes, properties, tasks and tags
  • Rules for quoting, flags and output options
  • A develop and test cycle for plugins and themes

Common Use Cases

  • Searching and editing notes from an agent
  • Managing daily notes and tasks
  • Developing and debugging Obsidian plugins

What Makes It Unique

It steers the assistant to rename and move commands so links update, and warns that the CLI exits with status 0 on failure, so output must be read. It tells the assistant to skip the unrelated npm package of the same name.

Under The Hood

The skill is one SKILL.md with no scripts. The assistant runs the obsidian command in a shell, which talks to the open Obsidian app over a local socket. Commands can write and delete notes in your vault, and the eval command runs JavaScript inside the app.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers