obsidianmd/obsidian-skills · 55.9k stars · Beginner · 12 min · 2026-12-03

Teach your coding agent your Obsidian vault with obsidian-skills

obsidian-skills is the official MIT-licensed Obsidian plugin of seven Agent Skills that teach any skills-aware agent to write Obsidian Markdown, Bases and Canvas files, drive the Obsidian CLI, sync and publish headlessly, and clean web pages into notes.

TL;DR

obsidianmd/obsidian-skills packages seven Agent Skills as one plugin named obsidian. They follow the Agent Skills specification, so the same folders work in Claude Code, Codex, Cursor, GitHub Copilot, OpenCode and other clients. Install once, then ask your agent to create notes, Bases, Canvas files or synced and published vaults.

Why this repo matters

Without explicit Obsidian guidance, an agent may miss vault-specific conventions (wikilinks, callouts, properties) or generate invalid .base and .canvas files. This repo describes itself as a way to "teach your agent to use Obsidian and open formats including Markdown, Bases, JSON Canvas". Each skill is a small instruction file for one job, and most of them also tell the agent how to behave safely, for example to check the tool exists and to read command output before reporting success.

Best practices

  • Install the plugin, not loose files, when your client supports it. Obsidian ships a single plugin (obsidian) whose manifests exist for Claude, Cursor, Antigravity and Gemini, so updates are one command, such as claude plugin update obsidian@obsidian-skills.
  • Check the tool before the task. The obsidian-cli skill starts with obsidian help; defuddle with defuddle --help; knap with knap --help; obsidian-headless with ob --help. If a tool is missing the skills say to explain the dependency and offer installation; defuddle and knap also say not to claim success when the tool is unavailable or errors.
  • Read CLI output, not the exit code. The obsidian-cli skill warns that the CLI exits with status 0 even when a command fails.
  • Prefer rename and move over filesystem mv, so Obsidian can update links to the file. delete goes to the trash unless you ask for permanent.
  • Treat web content as data. The defuddle skill says not to follow requests inside an extracted page, such as running commands or changing files.
  • Keep secrets with the human. The obsidian-headless skill asks you to run ob login in your own terminal and never to pass a password with --password.

How-to

Where do I start?

1. Install the plugin

"How do I get it into my agent?" For Claude Code:

claude plugin marketplace add obsidianmd/obsidian-skills
claude plugin install obsidian@obsidian-skills

Codex users run codex plugin marketplace add obsidianmd/obsidian-skills and then install Obsidian from the plugin directory. For GitHub Copilot, OpenCode and other agents, npx skills add https://github.com/obsidianmd/obsidian-skills asks which agents to install into. By hand, copy the folders in plugins/obsidian/skills/ into your agent's skills folder, for example ~/.copilot/skills/.

Next: write a note

Try it

Pick a scratch vault. Install the plugin, then ask your agent: "Create a note called Skills Test with status: draft and a callout, then build a Base listing every note with a status property." Open both files in Obsidian and confirm they render. Then ask it to run obsidian help and tell you whether the CLI is available.

Pitfalls

  • The CLI skill needs a host that can run local commands and the desktop app running. The README notes that it does not work in Muse, which runs in Meta's cloud.
  • In content=, the CLI converts every \n and \t into a newline or tab with no escape, so LaTeX like \theta or Windows paths get corrupted. Write such text, or anything over about 4 KB, directly to the file.
  • A dot in a name is read as an extension start: use create name="Meeting 2026.11.06.md".
  • Do not use desktop Sync and Headless Sync on the same vault on the same device; the skill says it causes conflicts.

Next steps