Skip to content
Skillpedia
Writing394k · #69

obsidian

What it does

It guides an AI agent through the official Obsidian command line to work with notes in an Obsidian vault. It is for people who keep their knowledge in Obsidian and want an agent to help manage it.

When to use it

  • ✓When you want your agent to find or read a note in your Obsidian vault.
  • ✓When you need to create or edit a note, task, or property in Obsidian.
  • ✓When you have several Obsidian vaults and need to choose the right one.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/obsidian/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/obsidian/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Search my Obsidian vault for notes with the status set to active and list them for me.”

5 new skills a week. 1 minute to read.

How it works

The skill uses the obsidian command, which needs the Obsidian app running and its command line turned on. It reads or changes notes, and it can edit plain Markdown files directly when that is safer.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Obsidian

Use the official obsidian CLI for Obsidian vault work. Vault files are plain Markdown, so direct file edits are still fine when safer/faster.

Requirements

  • Obsidian 1.12.7+ installed.
  • Settings -> General -> Command line interface enabled.
  • obsidian registered on PATH.
  • Obsidian app running; the CLI connects to the running app.

Check:

obsidian version
obsidian help

macOS registration creates /usr/local/bin/obsidian pointing at the app-bundled CLI. Linux registration copies the binary to ~/.local/bin/obsidian.

Vault model

  • Notes: *.md.
  • Config: .obsidian/; avoid editing unless asked.
  • Canvases: *.canvas JSON.
  • Attachments: vault-configured folder.
  • Multiple vaults are common; pass vault="<name>" when ambiguous.

Obsidian desktop tracks vaults here:

  • ~/Library/Application Support/obsidian/obsidian.json

Command pattern

obsidian <command> [name=value] [flag]
obsidian vault="Notes" search query="meeting notes" format=json

Parameter values with spaces need quotes. Add --copy to copy output where useful.

Common commands

Open/read:

obsidian open file=Recipe
obsidian open path="Inbox/Idea.md" newtab
obsidian read
obsidian read file=Recipe

Search:

obsidian search query="TODO" matches
obsidian search query="status::active" format=json
obsidian search:open query="project notes"

Create/modify:

obsidian create name="New Note"
obsidian create path="Inbox/Idea.md" content="# Idea"
obsidian append file=Note content="New line"
obsidian prepend file=Note content="After frontmatter"

Move/delete:

obsidian move file=Note to=Archive/
obsidian move path="Inbox/Old.md" to="Projects/New.md"
obsidian delete file=Note

Daily/tasks:

obsidian daily
obsidian daily:read
obsidian daily:append content="- [ ] Review inbox"
obsidian tasks all todo
obsidian task file=Note line=8 done

Properties/links:

obsidian tags all counts
obsidian property:read file=Note name=status
obsidian property:set file=Note name=status value=done
obsidian backlinks file=Note
obsidian unresolved verbose counts

Developer/debug:

obsidian plugin:reload my-plugin
obsidian dev:errors
obsidian dev:screenshot file=shot.png
obsidian eval "app.vault.getFiles().length"

Notes

  • file=<name> uses Obsidian-style file resolution; path=<vault-relative.md> is exact.
  • Prefer CLI move/delete/property commands for Obsidian-aware updates.
  • Prefer direct Markdown edits for bulk text changes after locating the vault path.
  • Do not rely on third-party obsidian-cli unless user explicitly asks for it.
FAQ

Does Obsidian have to be open?

Yes. The command line connects to the running Obsidian app, so the app must be open.

What if I have more than one vault?

You name the vault in the command when there is more than one, so the right one is used.

Will it change my settings folder?

The skill avoids editing the .obsidian settings folder unless you ask for it.

Details

Original description by the author

Work with Obsidian vaults using the official obsidian CLI: read/search/create/edit notes, tasks, links, properties, plugins.

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#69
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills