What is brain?
brain is a Claude Code mod by minanyang that distill Claude Code and Codex sessions into one private wiki. Host-specific sources stay separate; shared ingest folds them into Markdown pages where human edits outrank agent output. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | minanyang |
| Repository | minanyang/brain |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | High risk (56/100) |
| Rank | #7,345 of 9,397 Claude Code mods; #606 in Agents & automation |
| License | MIT |
| Last commit | 2026-11-08 |
| Hooks | 3 events |
| Sees | every prompt, mcp__brain__search calls |
| Draws on | nothing |
Is brain safe to install?
brain scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.fs.write | writes files |
$.model.classify | drives Claude |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.tool.register | drives Claude |
$.ui.toast | draws interface |
How do I install brain?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/minanyang/brain claude plugin validate ./brain/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add minanyang/brain && claude plugin install brain@brain
Or ask Claude to set it up
Paste this into Claude Code and it installs brain for you:
Install the "brain" Claude Code mod from https://github.com/minanyang/brain. Run claude plugin validate on it first and show me what it can access before you enable it.