second-brain-template
CLAUDE.md0 starsChanged 4 months agoMITView on GitHub
This is a personal knowledge vault with an AI-agent automation framework layered on top. Before doing anything: See <VAULT_ROOT>/AI-Second-Brain-Blueprint.md for the full architecture. If this vault has a knowledge graph at graphify-out/ (built by the graphify tool — install separately, see README), it has god nodes, community structure, and cross-file relationships. Rules: - For codebase questions, first run graphify query "<question>" when graphify-out/graph.json exists. Use graphify path "<A>" "<B>" for relationships and graphify explain "<concept>" for focused concepts. These return…
In this repository17 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- brain-syncSkill
- feature-guardianSkill
- feature-restorerSkill
- find-skillsSkill
- frontend-designSkill
- git-advancedSkill
- obsidian-vaultSkill
- safe-workflowSkill
- security-auditSkill
- session-wrapSkill
- spec-creationSkill
- systematic-debuggingSkill
- testing-patternsSkill
- vault-prunerSkill
- graphifySkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Read <VAULT_ROOT>/.agents/AGENTS.md for global behavior rules (read-only constraints, self-healing loop, memory routing, token …
- Very specific: line 6
Read the relevant mistakes/learnings file before coding, if your domain has one (e.g.
- Very specific: line 16
If this vault has a knowledge graph at graphify-out/ (built by the graphify tool — install separately, see README), it has god nodes, …
- Very specific: line 20
If graphify-out/wiki/index.md exists, use it for broad navigation instead of raw source browsing.
- Very specific: line 21
Read graphify-out/GRAPH_REPORT.md only for broad architecture review or when query/path/explain do not surface enough context.
- Very specific: line 22
After modifying code, run graphify update .
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.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
Second Brain — AI Agent Rules
This is a personal knowledge vault with an AI-agent automation framework layered on top. Before doing anything:
- Read
<VAULT_ROOT>/.agents/AGENTS.mdfor global behavior rules (read-only constraints, self-healing loop, memory routing, token preservation). - Read the relevant mistakes/learnings file before coding, if your domain has one (e.g.
Development/Odoo/Odoo-Mistakes.mdif you're using the Odoo example skill pack, orDevelopment/General-Mistakes.mdfor general code). - Save all learnings back to the vault:
- Domain-specific fixes → use the
brain-syncskill - General fixes → append to
General-Mistakes.md - Personal/session notes → append a bullet summary to today's daily log
- Domain-specific fixes → use the
See <VAULT_ROOT>/AI-Second-Brain-Blueprint.md for the full architecture.
graphify
If this vault has a knowledge graph at graphify-out/ (built by the graphify tool — install separately, see README), it has god nodes, community structure, and cross-file relationships.
Rules:
- For codebase questions, first run
graphify query "<question>"whengraphify-out/graph.jsonexists. Usegraphify path "<A>" "<B>"for relationships andgraphify explain "<concept>"for focused concepts. These return a scoped subgraph, usually much smaller than a full report or raw grep output. - If
graphify-out/wiki/index.mdexists, use it for broad navigation instead of raw source browsing. - Read
graphify-out/GRAPH_REPORT.mdonly for broad architecture review or when query/path/explain do not surface enough context. - After modifying code, run
graphify update .to keep the graph current (AST-only, no API cost).
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.

