agentleFS
breferraribreferrari/obsidian-mind/AGENTS.md

obsidian-mind

AGENTS.md4.9k starsChanged 3 months agoMITView on GitHub

This vault is built for Claude Code with a full operating manual in CLAUDE.md. Read CLAUDE.md for all vault conventions — structure, note types, linking rules, frontmatter schemas, indexes, and workflows. Most of the content is agent-agnostic. The hook scripts in .claude/scripts/ are agent-agnostic TypeScript and shell, executed natively by Node via --experimental-strip-types — no build step, no runtime dependencies, no Claude SDK. Hook configs are provided for three agents: Commands live in .claude/commands/ — agent-agnostic markdown with YAML frontmatter.…

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the breferrari/obsidian-mind repository that our weekly crawl found: only 12 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about breferrari/obsidian-mind

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

See all 12

Talked about on GitHub, Bluesky and Hacker News (12 times).

On GitHub · 8

3 more on GitHub

On Bluesky · 3

On Hacker News · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository9 other files it gives its agents.

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Do not register the raw qmd server in a consuming repo — it searches every note directly, so the repo matches against memories written for …

    line 43

≈ “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

Obsidian Mind

This vault is built for Claude Code with a full operating manual in CLAUDE.md.

Read CLAUDE.md for all vault conventions — structure, note types, linking rules, frontmatter schemas, indexes, and workflows. Most of the content is agent-agnostic.

Hooks

The hook scripts in .claude/scripts/ are agent-agnostic TypeScript and shell, executed natively by Node via --experimental-strip-types — no build step, no runtime dependencies, no Claude SDK. Hook configs are provided for three agents:

AgentConfigStatus
Claude Code.claude/settings.jsonFull support
Codex CLI.codex/hooks.jsonShared hook scripts
Gemini CLI.gemini/settings.jsonShared hook scripts
ScriptPurposeClaude eventCodex eventGemini event
session-start.tsInject vault context at startupSessionStartSessionStartSessionStart
classify-message.tsClassify messages, inject routing hints, hand over the last Stop report (Claude Code and Codex: Gemini's checklist runs on SessionEnd and saves none)UserPromptSubmitUserPromptSubmitBeforeAgent
validate-write.tsValidate frontmatter and wikilinksPostToolUsePostToolUseAfterTool
pre-compact.tsBack up transcript before compactionPreCompact—PreCompress

Commands

Commands live in .claude/commands/ — agent-agnostic markdown with YAML frontmatter. brain/Skills.md is the catalog.

  • Claude Code / Gemini CLI: invoke as /om-standup, /om-dump, etc.
  • Codex CLI: type the command name as a regular prompt without the / prefix (e.g. om-standup). Codex will find and execute the command file.

Memory

The vault's memory lives in brain/ — Memories.md, Patterns.md, Key Decisions.md, Gotchas.md. These are plain markdown files that any agent can read and write. When you learn something worth remembering, write it to the relevant brain/ topic note with a wikilink to context.

The ~/.claude/ auto-loaded memory index is Claude Code-specific — skip that section in CLAUDE.md. The vault-side brain/ notes are the source of truth.

Reaching this vault from another repo

The om MCP server (.claude/scripts/om-mcp.mjs) exposes this vault over MCP, so a session running in a different repository can search it, read notes, follow the graph, and record durable lessons back into it. It speaks plain MCP over stdio, so any MCP-capable agent can register it — nothing about it is Claude Code-specific.

Register it in the consuming project's MCP config, pointing at this vault's absolute path, then add a short section to that project's own agent doc telling it the vault exists. Both steps are required: measured, a session with the server wired but no repo-side instruction made zero vault calls, because a prohibition propagates into a session reliably while a positive "go look" does not.

Do not register the raw qmd server in a consuming repo — it searches every note directly, so the repo matches against memories written for unrelated projects. Applying each memory's declared scope on top of the index is what om adds. Full details in CLAUDE.md.

Subagents

9 subagents in .claude/agents/ handle isolated tasks (brag spotting, vault auditing, cross-linking, etc.). The prompt content is agent-agnostic markdown.

  • Codex CLI: as of the Skills launch (Dec 2025), Codex discovers skills at .agents/skills/<name>/SKILL.md (directory-per-skill; frontmatter requires name and description). Mirror each .claude/agents/*.md into a SKILL.md, keeping the prompt body intact. See the Codex Skills docs for the full schema.
  • Gemini CLI: agents live in .gemini/agents/. Copy the files and adapt the YAML frontmatter fields to Gemini's schema.

What's Claude Code-specific

Two things are Claude Code-specific: the ~/.claude/ auto-memory loader, and the obsidian-mind mod in .claude/skills/obsidian-mind/, which on Claude Code 2.1.287+ delivers the session context as an instruction file and presents the Stop report. Neither is needed elsewhere: the mod only changes how the settings hooks' output reaches a Claude Code session, and every other agent runs those same hooks directly. Everything else (hooks, commands, subagent prompts, vault memory) is portable.

Setup

Codex CLI: Reads AGENTS.md natively. For direct access to CLAUDE.md, add to ~/.codex/config.toml:

project_doc_fallback_filenames = ["CLAUDE.md"]

Gemini CLI: Reads GEMINI.md natively. For direct access to CLAUDE.md, add to ~/.gemini/settings.json:

{ "context": { "fileName": ["GEMINI.md", "CLAUDE.md"] } }

Other agents (Cursor, Windsurf, Copilot): Read AGENTS.md for vault conventions. Hook support varies by agent.

For more information, see the README.

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.