agent-brain
CLAUDE.md2 starsChanged 11 days agoMITView on GitHub
This file stacks on top of the workspace root at C:\Code\GitHub\: - Root CLAUDE.md -- voice, rules, routing map, references, skills, slash commands, conventions. - Root MEMORY.md -- live facts across repos. - Root STATUS.md -- live PR/CI/security dashboard. - .claude/resources/ -- deep reference for collaboration, workflow, git, OSS, debugging, voice. Read those first. The guidance below only adds repo-specific context -- it does not override anything in the root. Public, sanitized export of the personal agent harness (skills, subagents,…
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aws-opsSkill
- db-opsSkill
- docs-freshSkill
- fix-allSkill
- gh-actionsSkill
- harness-auditSkill
- ideateSkill
- memory-routerSkill
- ossSkill
- parallelSkill
- prod-checkSkill
- repo-auditSkill
- save-sessionSkill
- shipSkill
- sonar-sweepSkill
The file
Files
CLAUDE.md - agent-brain
This file stacks on top of the workspace root at
C:\Code\GitHub\:
- Root
CLAUDE.md-- voice, rules, routing map, references, skills, slash commands, conventions.- Root
MEMORY.md-- live facts across repos.- Root
STATUS.md-- live PR/CI/security dashboard..claude/resources/-- deep reference for collaboration, workflow, git, OSS, debugging, voice.Read those first. The guidance below only adds repo-specific context -- it does not override anything in the root.
Project
Public, sanitized export of the personal agent harness (skills, subagents, hooks, rules) plus a shared markdown brain (bin/brain.py, stdlib Python) that Claude Code, Codex and Kiro read over CLI or stdio MCP. Ideas credited to gbrain, gstack and impeccable; no code copied from them.
Stack
- Language: Python 3.10+ standard library (brain, checks), POSIX shell (installer, hooks)
- Package manager: none; no runtime dependencies
- Deploy target: GitHub repo + Claude Code plugin marketplace (
.claude-plugin/)
Run
python bin/brain.py --dir /tmp/b recall <words>
python scripts/check.py
python scripts/test_hooks.py
./install.sh --host all --seed --dry-runRules for this repo
- Everything here is public. The source of truth for skills, rules and hooks is
~/.claude/; this repo holds sanitized copies. Port changes by hand and re-sanitize: no personal names, home paths, private project names, employer details, account IDs or PR numbers from private history. python scripts/check.pymust report 0 problems before any commit. Run it withAGENT_BRAIN_LEAKWORDSpointing at a local, never-committed word list of private names.- Skill frontmatter:
nameequals the folder,descriptionis a>-folded block with no unquoted:. Lint with skillcheck. - Learnings in
brain/learnings/are one lesson per file, failure paired with the fix,visibility: public.brain lintmust pass. - The installer never overwrites files it did not write without
--force, and never edits a harness JSON config itself; it prints the MCP line instead.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

