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
Who's talking about breferrari/obsidian-mind
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 breferrari / obsidian-mind ⭐ 3,950 (+113) 🗒 TypeScript A …”Bluesky · Jul 25, 2026 · 4 likes
- A Hacker News story“Obsidian vault template for engineering work docs via Claude Code”Hacker News · Mar 27, 2026 · 4 points
- @github-trending-js.bsky.social“📦 breferrari / obsidian-mind ⭐ 4,871 (+45) 🗒 TypeScript A self-organizing Obsidian vault that gives AI …”Bluesky · Oct 3, 2026 · 2 likes
- @tom-doerr.bsky.social“https://github.com/breferrari/obsidian-mind”Bluesky · Apr 3, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.breferrari.obsidian-mind: 9.0.1 → 9.1.0”GitHub · Oct 6, 2026
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
- Oct 6, 2026agent-skills.github.breferrari.obsidian-mind: 9.0.1 → 9.1.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.breferrari.obsidian-mind: 9.0.0 → 9.0.1 — sudosubin/agents.nix0 reactions
- Oct 5, 2026chore(release): 0.2.0 — breferrari/shardmind0 reactions
- Oct 3, 2026agent-skills.github.breferrari.obsidian-mind: 8.4.0 → 9.0.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.breferrari.obsidian-mind: init at 8.4.0 — sudosubin/agents.nix0 reactions
3 more on GitHub
- Aug 18, 2026[feature] https://github.com/breferrari/obsidian-mind and https://github.com/Graphify-Labs/graphify — JustineDevs/meta-architect0 reactions
- May 21, 2026is there a plan to integrate text search engine like qmd — VectifyAI/OpenKB0 reactions · 1 comment
- Apr 26, 2026Wizard TUI: missing scroll indicator + boolean prompts use Y/n typed input — breferrari/shardmind0 reactions
On Bluesky · 3
- Jul 25, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 breferrari / obsidian-mind ⭐ 3,950 (+113) 🗒 TypeScript A self-organizing Obsidian vault that gives AI… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Oct 3, 2026📦 breferrari / obsidian-mind ⭐ 4,871 (+45) 🗒 TypeScript A self-organizing Obsidian vault that gives AI coding agents persistent memory. — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Apr 3, 2026https://github.com/breferrari/obsidian-mind — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 1
- Mar 27, 2026Obsidian vault template for engineering work docs via Claude Code4 points · 1 comment
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.
- CLAUDE.mdCLAUDE.md
- defuddleSkill
- excalidraw-diagramSkill
- json-canvasSkill
- mermaid-visualizerSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- qmdSkill
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
- Very specific: line 43
Do not register the raw qmd server in a consuming repo — it searches every note directly, so the repo matches against memories written for …
≈ “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.
Files
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:
| Agent | Config | Status |
| Claude Code | .claude/settings.json | Full support |
| Codex CLI | .codex/hooks.json | Shared hook scripts |
| Gemini CLI | .gemini/settings.json | Shared hook scripts |
| Script | Purpose | Claude event | Codex event | Gemini event |
session-start.ts | Inject vault context at startup | SessionStart | SessionStart | SessionStart |
classify-message.ts | Classify messages, inject routing hints, hand over the last Stop report (Claude Code and Codex: Gemini's checklist runs on SessionEnd and saves none) | UserPromptSubmit | UserPromptSubmit | BeforeAgent |
validate-write.ts | Validate frontmatter and wikilinks | PostToolUse | PostToolUse | AfterTool |
pre-compact.ts | Back up transcript before compaction | PreCompact | — | 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 requiresnameanddescription). Mirror each.claude/agents/*.mdinto aSKILL.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.
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
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.

