agentleFS
HybridAIOneHybridAIOne/hybridclaw/skills/obsidian/SKILL.md

obsidian

Skill157 starsChanged 7 months agoMITView on GitHub

Read, search, organize, and create notes in the Obsidian vault.

60 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bear-notes, blucli and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seedprodSkill

    bear-notes

    Create, search, and manage Bear notes via grizzly CLI.

    Also in 8 projects that use this

  • seedprodSkill

    blucli

    BluOS CLI (blu) for discovery, playback, grouping, and volume.

    Also in 6 projects that use this

  • +10 more from seedprod

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 55 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the vault with "open": true.

    line 41
  2. Very specific:

    Do not treat the current workspace as the vault unless the user explicitly says so, the workspace contains .obsidian/, or Obsidian's config …

    line 47
  3. Distinctive:

    If the resolved vault came from steps 3-6, tell the user which path you found and ask for confirmation before making write changes.

    line 50
  4. Very specific:

    If you find a stable, unambiguous vault path, save a short fact to MEMORY.md, for example Obsidian vault: /absolute/path/to/vault.

    line 54
  5. Very specific:

    Prefer obsidian-cli when available for vault-aware search and safe moves.

    line 66
  6. Distinctive:

    If you move manually, search for and fix stale links before finishing.

    line 103
  7. Very specific:

    prefer [[Note Name]] when nearby notes use wikilinks

    line 111
  8. Distinctive:

    search before creating to avoid duplicate notes

    line 113
  9. Distinctive:

    read before write; do not delete or overwrite notes unless the user asked

    line 114

“Common” is measured: kept by at least 6 in 10 of the 55 edited versions of this file we could read. “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

Obsidian vaults are normal folders on disk. Notes are usually *.md. Do not touch .obsidian/, *.canvas files, or plugin data unless the user explicitly asks.

Typical Vault Structure

  • notes: *.md
  • config: .obsidian/
  • canvases: *.canvas
  • attachments: images, PDFs, and other files in normal folders

Vault Location

Resolve the vault path first. Use this order:

  1. user-provided vault path
  2. remembered vault path from MEMORY.md
  3. OBSIDIAN_VAULT_PATH
  4. obsidian-cli print-default --path-only
  5. macOS config: ~/Library/Application Support/obsidian/obsidian.json Use the vault with "open": true.
  6. common defaults:
    • ~/Documents/Obsidian Vault
    • ~/Documents/Obsidian
    • ~/Library/Mobile Documents/iCloud~md~obsidian/Documents

Do not treat the current workspace as the vault unless the user explicitly says so, the workspace contains .obsidian/, or Obsidian's config points there.

If the resolved vault came from steps 3-6, tell the user which path you found and ask for confirmation before making write changes. For read-only discovery or search, you may proceed, but note the source of the vault path.

If you find a stable, unambiguous vault path, save a short fact to MEMORY.md, for example Obsidian vault: /absolute/path/to/vault. Do not save ambiguous or temporary vaults.

Quick Start

Assume:

VAULT="/absolute/path/to/vault"

Prefer obsidian-cli when available for vault-aware search and safe moves. Otherwise use the shell commands below.

Pick default vault:

obsidian-cli print-default --path-only
printenv OBSIDIAN_VAULT_PATH
cat "$HOME/Library/Application Support/obsidian/obsidian.json"
  • Read: sed -n '1,220p' "$VAULT/Folder/Note.md" This is a bounded first read. If the note is longer than 220 lines, say so and continue with a wider or full read instead of pretending you saw the whole file.
  • List: rg --files "$VAULT" -g '*.md'
  • Search: obsidian-cli search "keyword" obsidian-cli search-content "keyword" Shell fallback: rg --files "$VAULT" -g '*.md' | rg -i 'keyword' rg -n --glob '*.md' 'keyword' "$VAULT"
  • Create: obsidian-cli create "Folder/New note" --content "# Title" Shell fallback: set -C && printf '# Title\n' > "$VAULT/Folder/New note.md"; set +C
  • Append: printf '\nNew content\n' >> "$VAULT/Folder/Existing note.md"
  • Move / rename: obsidian-cli move "Old Path/Note" "New Path/Note" Shell fallback: mv -n "$VAULT/Old Path/Note.md" "$VAULT/New Path/Note.md" If you move manually, search for and fix stale links before finishing.
  • Delete: obsidian-cli delete "Path/Note" Shell fallback: rm "$VAULT/Path/Note.md"

Wikilinks:

  • prefer [[Note Name]] when nearby notes use wikilinks
  • match the vault's existing frontmatter, heading, tag, and link style
  • search before creating to avoid duplicate notes
  • read before write; do not delete or overwrite notes unless the user asked

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.