agentleFS
AgriciDanielAgriciDaniel/claude-obsidian/AGENTS.md

claude-obsidian

AGENTS.md15k starsChanged 3 months agoMITView on GitHub

claude-obsidian is a local-first Agent Skills package for building source-cited, compounding Obsidian knowledge bases. It also ships a Claude Code plugin adapter. The portable workflow is implemented in skills/ and the standard-library claude_obsidian/ core; host hooks never define knowledge behavior. - This repository is the product source. It is not the default user vault. - A user vault is the directory containing .claude-obsidian.json, wiki/, and .raw/. Mutable state always belongs there. - templates/vault/ is the distributable seed. Root wiki/, .raw/,…

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 4 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 10 mentionsSep 2026: 15 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the AgriciDaniel/claude-obsidian repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about AgriciDaniel/claude-obsidian

The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 36

Talked about on GitHub and Bluesky (36 times).

On GitHub · 30

25 more on GitHub

On Bluesky · 6

1 more on Bluesky

The file

We split this AGENTS.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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:

    Never derive a user vault from the plugin cache or ${CLAUDE_PLUGIN_ROOT}.

    line 15
  2. Distinctive:

    Read this file. In a development checkout, also read the host-only root CLAUDE.md when present.

    line 29
  3. Distinctive:

    Read the selected skill completely.

    line 31
  4. Distinctive:

    Read only the references that skill routes to.

    line 32
  5. Very specific:

    All 15 skills live at skills/<name>/SKILL.md.

    line 39
  6. Distinctive:

    Read targets and record expected SHA-256 values.

    line 53
  7. Very specific:

    Do not use direct shared writes, the deprecated wiki-lock.sh helper, or generic lifecycle auto-commits.

    line 59
  8. Very specific:

    Use Obsidian Flavored Markdown: flat YAML properties, YYYY-MM-DD dates, wikilinks, embeds, and valid callouts.

    line 75
  9. Very specific:

    Run make test after behavioral changes.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

claude-obsidian: Agent Instructions

claude-obsidian is a local-first Agent Skills package for building source-cited, compounding Obsidian knowledge bases. It also ships a Claude Code plugin adapter. The portable workflow is implemented in skills/ and the standard-library claude_obsidian/ core; host hooks never define knowledge behavior.

Product and vault boundaries

  • This repository is the product source. It is not the default user vault.
  • A user vault is the directory containing .claude-obsidian.json, wiki/, and .raw/. Mutable state always belongs there.
  • templates/vault/ is the distributable seed. Root wiki/, .raw/, and .vault-meta/ are contributor state and are excluded from public artifacts.
  • Never derive a user vault from the plugin cache or ${CLAUDE_PLUGIN_ROOT}.
  • A checkout containing contributor-vault state has no marketplace catalog. config/public-marketplace.json is injected as .claude-plugin/marketplace.json only inside the audited release artifact. An extracted distribution-clean artifact may retain that exact manifest and rebuild idempotently. A public default branch must be populated from the clean artifact, never by pushing contributor-vault state.

Resolve a vault in this order: explicit --vault, CLAUDE_OBSIDIAN_VAULT, nearest .claude-obsidian.json, then an unambiguous vault at or above the current directory. Fail closed when no vault is selected.

Bootstrap

  1. Read this file. In a development checkout, also read the host-only root CLAUDE.md when present; release artifacts intentionally omit it.
  2. Read the selected skill completely.
  3. Read only the references that skill routes to.
  4. Resolve the user vault. If wiki/hot.md exists, read it silently.
  5. For a new vault, run python3 scripts/claude-obsidian.py init PATH first; apply only after reviewing the dry run. Use adopt for an existing vault.

Canonical skills

All 15 skills live at skills/<name>/SKILL.md. They use the portable Agent Skills frontmatter subset: exactly name and description. Do not add mirrored files under commands/; Claude invokes plugin skills by namespaced names such as /claude-obsidian:wiki.

Core workflows are wiki, save, wiki-ingest, wiki-query, and wiki-lint. Extensions are autoresearch, canvas, defuddle, wiki-fold, wiki-mode, wiki-retrieve, and wiki-cli. Reference skills are obsidian-markdown, obsidian-bases, and think.

Mutation protocol

One logical knowledge operation is one recoverable transaction:

  1. Read targets and record expected SHA-256 values.
  2. Let parallel workers return drafts and evidence only.
  3. Merge drafts into one claude-obsidian.transaction.v1 bundle.
  4. Inspect the bundle, then apply it once through scripts/claude-obsidian.py.
  5. Report the operation ID and exact changed paths.

Do not use direct shared writes, the deprecated wiki-lock.sh helper, or generic lifecycle auto-commits. Git checkpointing is separate and explicit. Raw source payloads are create-only; .raw/.manifest.json is the only mutable legacy raw metadata file. Destructive repairs, remote egress, and canonical research merges require explicit consent.

Vault conventions

  • inbox/: visible capture intake; never deleted automatically.
  • .raw/: immutable source payloads and legacy delta manifest.
  • wiki/: generated knowledge pages.
  • wiki/meta/ledgers/: source and claim provenance.
  • wiki/hot.md: bounded recent context, never a transcript.
  • wiki/log.md: operation history, newest first.
  • .vault-meta/: ignored runtime locks, journals, indexes, queues, and config.

Use Obsidian Flavored Markdown: flat YAML properties, YYYY-MM-DD dates, wikilinks, embeds, and valid callouts. Never fabricate evidence locators, quotations, page numbers, or confidence.

Verification

Run make test after behavioral changes. It executes every Python and shell suite plus the product, capability, package, hook, and manifest contracts. Public artifacts are built locally with release build and audited without publishing. No agent may push, tag, open or mutate issues, or publish a release without explicit owner approval.

Claude SessionStart context injection is disabled by default. Treat CLAUDE_OBSIDIAN_SESSION_CONTEXT=1 as explicit user consent to place bounded wiki/hot.md data in the model context; never set it automatically. A workspace-configured vault outside the project also requires an exact CLAUDE_OBSIDIAN_SESSION_CONTEXT_VAULT path.

Reference

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.