obsidianmd/obsidian-skills

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.

91K installs 56K stars

Before you install

Last update
Files in folder
1
Scripts
No script files found
SKILL.md size
6.3 KB (about 1,603 tokens of context each time it loads)
License
MIT

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Install

npx skills add obsidianmd/obsidian-skills@obsidian-cli

Runs in a terminal with Node.js 18 or newer. Add -y to skip the prompts and -g to install for every project instead of this one.

Install for your agent

npx skills add obsidianmd/obsidian-skills@obsidian-cli --agent claude-code -y
Project install writes to
.claude/skills/obsidian-cli
Global install writes to
~/.claude/skills/obsidian-cli

Start a new session afterwards so the agent picks the skill up. In Claude Code you can also call it directly with /obsidian-cli.

What it does

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…

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

Categories

Related skills

  • obsidian-markdown

    obsidianmd/obsidian-skills

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

    102K installs 56KProductivityWriting
  • obsidian-bases

    obsidianmd/obsidian-skills

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, kanban boards, filters, or formulas in Obsidian.

  • json-canvas

    obsidianmd/obsidian-skills

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

    82K installs 56K
  • defuddle

    obsidianmd/obsidian-skills

    Extract clean Markdown from HTML pages with Defuddle CLI.

    81K installs 56KData
  • knap

    obsidianmd/obsidian-skills

    Render Markdown from templates and structured data using Knap CLI. Use when the user asks to apply a Knap template, turn JSON or CSV data into notes, batch-generate Markdown files, or format Defuddle output into a note.

    11K installs 56KDataProductivity
  • obsidian-headless

    obsidianmd/obsidian-skills

    Sync and publish Obsidian vaults from the command line with Obsidian Headless (`ob`), without the desktop app. Use when the user wants to set up or run Obsidian Sync or Obsidian Publish on a server, in CI, or from a terminal, or change a vault's Sync or Publish settings.

← Search skills

/skills/obsidianmd/obsidian-skills/obsidian-cli/