What the source did
- Wrote custom instructions that apply on every task for Claude/Codex.
- Agents must read a company brain and a personal brain before acting, flag conflicts with quotes, and ask which version wins.
- Brain edits are proposed as exact diffs and applied only after approval (for GitHub, as a PR).
“If you built a second brain but haven't told Claude/Codex how to use it, it's useless.”— Corey Ganim (@coreyganim), X
Summary written by Agent Cookbook from the original post. See the original for the full context. How we source recipes
Our notes
- What it takes
- Claude Code or Codex, your note locations, and the custom-instructions block.
- Where it breaks
- Invented brain content when a connector fails, and edits landing without approval if the rule is softened.
- Human checkpoint
- No brain edit until you approve the exact change.
- Tools involved
- Claude Code or Codex, company + personal notes
✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify
Their prompt
From Corey Ganim Their exact wording (his generalized version). Source ↗
Approval rule
Set it up
- Fill the table with your real brain names and locations.
- Paste into Claude Code custom instructions / CLAUDE.md and Codex AGENTS.md (or project instructions).
- Run one real task and confirm it reads the brains and stops on a deliberate conflict.
Common failures
- Agent invents brain content when the connector fails; keep the "tell me in one line" rule.
- Edits land without approval if you soften step 3; keep the exact-edit-then-wait rule.
Variations
- One brain only if you are solo.
- Add a third "clients" brain with the same conflict rule.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy