agentleFS
KubementatKubementat/ai_agent_skills/skills/obsidian-master/SKILL.md

obsidian-master

Skill2 starsChanged 8 months agoMITView on GitHub

Controls Obsidian vault via CLI. Performs file operations (read/create/edit/move/delete), searches vault content, analyzes links/backlinks, manages properties and metadata, queries bases, handles tasks, retrieves history versions, and manages plugins/themes. Use when working with Obsidian notes, managing your vault, searching for content, tracking connections between notes, or administering vault settings.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always discover vault structure first: check tags, properties, and hub notes before diving in

    line 21
  2. Very specific:

    Always count results with total=true before pulling full lists

    line 22
  3. Distinctive:

    Use this skill when you need to:

    line 26
  4. Distinctive:

    Read, create, edit, move, or delete notes in your Obsidian vault

    line 27
  5. Distinctive:

    Search for content across your entire vault

    line 28
  6. Distinctive:

    When searching for information within the vault:

    line 39
  7. Distinctive:

    always also query the number of found results

    line 40
  8. Distinctive:

    if there are more than 50 findings, notify the user about it

    line 42
  9. Distinctive:

    Read content, create new notes, edit existing files, rename/move files, or delete notes.

    line 52
  10. Distinctive:

    Search vault text, find tags, explore recently opened files, access daily notes, or open random notes.

    line 57
  11. Very specific:

    Use JSON output format (format=json) for programmatic parsing

    line 109
  12. Very specific:

    Use \n for newlines in content strings

    line 111
  13. Distinctive:

    Invalid paths: Verify path format (relative vs absolute)

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Obsidian Master

A skill to control and interact with your Obsidian vault through the Obsidian CLI.

Vault Structure Primer

Before performing any vault operations, understand how Obsidian organizes information.

See Vault Structure Guide for the complete reference. Key concepts:

  • A vault is a folder of .md files — no database, just files
  • Each note has three layers: properties (YAML frontmatter), content (markdown body), connections (wikilinks [[]])
  • Notes connect via [[wikilinks]] creating a bidirectional knowledge graph (outgoing links + backlinks)
  • Organization uses folders (broad categories), tags (#label), properties (structured metadata), and links (relationships) — often all four simultaneously
  • MOCs (Maps of Content) are curated index notes — the best entry points for a topic
  • Always discover vault structure first: check tags, properties, and hub notes before diving in
  • Always count results with total=true before pulling full lists

When to Use This Skill

Use this skill when you need to:

  • Read, create, edit, move, or delete notes in your Obsidian vault
  • Search for content across your entire vault
  • Analyze connections between notes (backlinks, outgoing links)
  • Manage note properties and metadata
  • Query structured bases and databases
  • Handle tasks and task lists
  • Access file history and recovery versions
  • Administer vault settings, plugins, or themes

Skill general usage

  • This skill ALWAYS uses the bash tool for executing the obsidian cli command directly within a shell.
  • When searching for information within the vault:
    • always also query the number of found results
    • the default search limit is 50
    • if there are more than 50 findings, notify the user about it

Core Operations

Vault Structure & Navigation

Understand how the vault organizes information before performing operations. Learn about note anatomy (properties, content, links), the knowledge graph, organizational patterns (PARA, Zettelkasten, MOCs), and how to find information effectively.

Reference: See Vault Structure Guide for the complete structural reference and navigation decision trees.

File Management

Read content, create new notes, edit existing files, rename/move files, or delete notes.

Reference: See File Operations for complete command details.

Search & Discovery

Search vault text, find tags, explore recently opened files, access daily notes, or open random notes.

Reference: See Search & Discovery for search patterns and options.

Link Analysis

Discover backlinks to notes, outgoing links from notes, dead ends (no outgoing), orphans (no incoming), or unresolved links.

Reference: See Link Analysis for connection analysis commands.

Properties & Metadata

Set, read, remove, or list YAML frontmatter properties including text, lists, numbers, checkboxes, dates, and datetimes.

Reference: See Properties & Metadata for property operations.

Task Management

List tasks with filters (done/todo/status), update task status, toggle completion, or query by file/daily note.

Reference: See Task Management for task operations.

Vault Administration

Manage vault info, switch between vaults, handle plugins/themes, access templates, and perform maintenance tasks.

Reference: See Vault Administration for admin commands.

Quick Start Examples

# Read a note by name or path
obsidian read file="My Note"

# Create a new note with content
obsidian create name="New Project" content="# New Project\n\nStarted today."

# Find all backlinks to a specific note
obsidian backlinks file="Research" counts=true format=json

# Search vault for text
obsidian search query="machine learning" limit=50

# Set a property on a file
obsidian property:set name="status" value="in-progress" type=text file="Note.md"

# List tasks marked as todo
obsidian tasks done=false verbose=true format=json

# Find files with no outgoing links (dead ends)
obsidian deadends total=true

Important Notes

  • Most commands default to the active file when path is omitted
  • Use JSON output format (format=json) for programmatic parsing
  • Quote values with spaces: name="My Note"
  • Use \n for newlines in content strings

Error Handling

Common failure modes and responses:

  • File not found: The CLI will return an error; consider suggesting alternatives or offering to create the file
  • Permission errors: Clear error messages about access restrictions
  • Invalid paths: Verify path format (relative vs absolute)

For detailed command syntax, parameter options, and edge cases, consult the reference documentation linked above.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.