claude-code-toolkit
CLAUDE.md17 starsChanged 9 months agoMITView on GitHub
Auto-generated by The AI Brain. Edit .brain/brain.yaml and run /the-ai-brain:brain-vault-align to update. Last generated: 2026-03-28
In this repository19 other files it gives its agents.
- docs/llms.txtllms.txt
- manage-skillsSkill
- manage-hooksSkill
- create-meta-promptsSkill
- create-plansSkill
- create-subagentsSkill
- damage-controlSkill
- debug-like-expertSkill
- docs-masterSkill
- file-searchSkill
- generate-imagesSkill
- generate-prdSkill
- gitSkill
- manage-slash-commandsSkill
- pytest-best-practicesSkill
- ralph-convert-prdSkill
- ralph-orchestratorSkill
- spec-interviewSkill
- sqlalchemy-postgresSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before doing ANY work:
- Very specific: line 27
Read the most recent file in Machine/Session-Logs/
- Distinctive: line 28
Read today's daily note if it exists
- Distinctive: line 32
Prefer CLI commands over raw file reads:
- Distinctive: line 44
Use [[wikilinks]] for all internal references
- Very specific: line 58
Update Machine/Memory/context-cache.md with current working context
- Very specific: line 61
Before ending any session, write a session log to Machine/Session-Logs/YYYY-MM-DD-{topic}.md using the template at …
- Distinctive: line 64
When the user corrects behavior:
- Distinctive: line 67
Wait for user approval before adding the rule
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
Claude Code Toolkit Brain — AI Brain
Auto-generated by The AI Brain. Edit .brain/brain.yaml and run
/the-ai-brain:brain-vault-alignto update. Last generated: 2026-03-28
About the Owner
- Name: cfircoo
- Role: Developer / AI tooling builder
- Domain: Claude Code skills, agents, hooks, commands
Vault Structure
Human/— Human-authored content (READ only unless explicitly asked)Human/Daily/— Daily notes (YYYY-MM-DD.md)Human/Projects/— Project filesHuman/Archive/— Completed/archived items
Machine/— AI-managed content (READ and WRITE freely)Machine/Session-Logs/— Session continuity logsMachine/Memory/— Persistent memory (entities, decisions, corrections)Machine/Rules/— Self-updating behavioral rulesMachine/Templates/— Note/project templatesMachine/Canvases/— Obsidian JSON canvas visualizations
Startup Protocol
Before doing ANY work:
- Read
Machine/Rules/active-rules.md - Read
Machine/Memory/context-cache.md - Read the most recent file in
Machine/Session-Logs/ - Read today's daily note if it exists
Obsidian CLI (active — v1.12.7)
On WSL2, obsidian is a wrapper to the Windows Obsidian.com CLI binary.
Prefer CLI commands over raw file reads:
| Task | CLI command | Fallback |
| Search vault | obsidian search query=<text> format=json | Grep files |
| Today's daily note | obsidian daily / obsidian daily:read | Read file |
| Incomplete tasks | obsidian tasks todo format=json | Grep - [ ] |
| Find orphans | obsidian orphans format=json | Manual link scan |
| Get backlinks | obsidian backlinks file=<name> format=json | Grep [[name]] |
| Open a note | obsidian open path=<path> | N/A |
Formatting Conventions
- Use [[wikilinks]] for all internal references
- Include YAML frontmatter on every new file
- Date format: YYYY-MM-DD
- Tags in frontmatter arrays:
tags: [tag1, tag2]
Directory Permissions
Human/— READ freely, WRITE only when explicitly askedMachine/— READ and WRITE freely.brain/— READ only (config, do not modify manually)
Memory Protocol
- New person/project/tool encountered → log to
Machine/Memory/entities.md - Significant decision made → log to
Machine/Memory/decisions.md - User corrects behavior → log to
Machine/Memory/corrections.md - Update
Machine/Memory/context-cache.mdwith current working context
Session End Protocol
Before ending any session, write a session log to Machine/Session-Logs/YYYY-MM-DD-{topic}.md using the template at Machine/Templates/session-log.md.
Self-Improvement Protocol
When the user corrects behavior:
- Log the correction to
Machine/Memory/corrections.md - Propose a new rule for
Machine/Rules/active-rules.md - Wait for user approval before adding the rule
- Log the rule change to
Machine/Rules/rule-changelog.md
Global Brain
At startup, also read ~/Brain/CLAUDE.md for:
- Who I am (identity, role, global preferences)
- Global rules that apply to all projects
- Cross-project entities (people, tools, recurring patterns)
- Known projects registry
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.

