Give your Claude Code Agent Teams a memory. Auto-injects role-specific context into every new teammate — your team never starts blind again.
FAQ
claude-teams-brain is a Claude Code plugin with 18 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes brain-approve, brain-clear, brain-dashboard. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add Gr122lyBr/claude-teams-brain> /plugin install claude-teams-brain@claude-teams-brain
Repo: Gr122lyBr/claude-teams-brain
/brain-dashboard) — browse, edit, and curate all agent memories at localhost:7432. Overview stats, memory table with inline editing, decision browser, and file map./brain-standup) — cinematic agent standup visualization at localhost:7433. Walk through each agent's completed work, blockers, and decisions with keyboard navigation./brain-approve) — memories from /brain-remember now stage as PENDING. Approve, reject, or flag via dashboard or CLI.index calls injected into future teammates. Cross-team task visibility. Context budget doubled to 6000 chars./brain-learn now extracts 15+ conventions from git history.A single npm test dumps 20,000 tokens of passing tests into context. git push adds transfer stats nobody reads. Every wasted token costs money and shrinks your context window.
claude-teams-brain replaces raw Bash with token-efficient MCP tools that filter, index, and search command output — so only what matters enters context.
Agent Teams are powerful — but ephemeral. Your backend agent spent two hours learning your conventions and building auth. Tomorrow, a new backend agent starts from zero.
claude-teams-brain indexes everything — tasks, decisions, files — per role. When backend spawns again, it receives the full history of what past backend agents built.
Agents that start with context make better decisions. Convention learning from git history, shared knowledge base between teammates, and role-specific injection mean your agents produce higher-quality output from the first command.
One command:
npx claude-teams-brain
Or with curl:
bash <(curl -fsSL https://raw.githubusercontent.com/Gr122lyBr/claude-teams-brain/master/claude-teams-brain/scripts/install.sh)
Then restart Claude Code. That's it — the plugin activates automatically.
Every command through the brain's MCP tools passes through an 8-stage filtering pipeline with specialized parsers for 60+ commands:
| Command | Without brain | With brain | Savings |
|---|---|---|---|
npm test | 20,000 tokens of passing tests | Summary + failures only | 90%+ |
git push | Transfer stats, compression, deltas | ok main | 98% |
npm install | Warnings, progress bars, funding | added 542 packages in 12s | 90%+ |
pytest (all pass) | Full session output | 15 passed in 2.34s | 82% |
docker build | Layer-by-layer progress | Final image + errors | 95% |
tsc (no errors) | Verbose compilation | ✓ no errors | 90%+ |
Auto-indexing — every command's output is indexed into a searchable knowledge base. Run a command once, search it many times. Teammates share the same KB — no duplicate work.
5 MCP tools replace raw Bash for any command that produces output:
batch_execute — run multiple commands in one call, all output auto-indexedexecute — single command with optional auto-indexing for large outputsearch — query indexed output without re-running commandsindex — save findings for yourself and teammatesstats — see your token savingsSession 1 Session 2
───────── ─────────
You: "Build payments module" You: "Add refund support"
backend agent spawns (blank) backend agent spawns
↓ ↓
builds Stripe integration 🧠 Brain injects memory:
creates controller.ts • Past work: Stripe integration
decides: use PaymentIntents API • Files: controller.ts, stripe.service.ts
↓ • Decision: use PaymentIntents API
🧠 Brain indexes everything • Rule: all endpoints need auth
↓
picks up exactly where it left off
The brain hooks into 8 lifecycle events to capture and inject context automatically:
Memory is role-based — backend, frontend, tests, devops each build their own history. When a teammate spawns, it receives only what's relevant to its role.
You don't need Agent Teams to benefit. In solo mode:
/brain-learn, /brain-remember, and all commands work normallySolo mode activates automatically when Agent Teams isn't enabled. No configuration needed.
Existing repo:
/brain-learn
Scans your git history and auto-extracts conventions, architecture, file coupling, and hotspots. Zero config.
New project:
/brain-seed nextjs-prisma
Loads pre-built conventions. Profiles: nextjs-prisma, fastapi, go-microservices, react-native, python-general.
Then just use Claude Code normally. Token savings and memory building happen automatically.
| Command | Description |
|---|---|
/brain-dashboard | Open web dashboard for reviewing and curating memories |
/brain-standup | Open cinematic standup meeting visualization |
/brain-approve | Approve, reject, or flag pending memories |
/brain-learn | Auto-learn conventions from git history |
/brain-remember <text> | Store a rule (staged as PENDING until approved) |
/brain-forget <text> | Remove a stored memory |
/brain-search <query> | Search the brain knowledge base |
/brain-query <role> | Preview what context a teammate would receive |
/brain-export | Export knowledge as CONVENTIONS.md |
/brain-stats | Full stats: memory + KB + token savings |
/brain-runs | List past sessions |
/brain-replay [run-id] | Replay a past session as narrative |
/brain-update | Pull latest version |
| Web Dashboard | Browse, edit, and curate all memories in a dark-themed web UI |
| Standup Meeting UI | Cinematic per-agent briefing with keyboard navigation |
| Memory Quality | Confidence scoring with auto-promote/demote lifecycle |
| Approval Workflow | Stage, approve, reject, or flag memories before injection |
| Token-efficient execution | 60+ command-aware filters, 8-stage pipeline — 90–97% token reduction |
| Auto-indexing KB | Every command output indexed and searchable. Teammates share results |
| Cross-session memory | Tasks, decisions, and files indexed per role across sessions |
| Role-based injection | Memory routed by agent role — each teammate gets relevant context |
| Auto-learn | /brain-learn extracts 15+ conventions from your git history |
| Solo mode | Full token savings and memory without Agent Teams |
| Fully local | SQLite + FTS5, no cloud, no telemetry, zero external Python dependencies |
| Cross-platform | macOS, Linux, WSL2, native Windows — all hooks run via Python |
All data is local in ~/.claude-teams-brain/projects/<hash>/brain.db (SQLite + FTS5).
8 lifecycle hooks capture everything → role-based memory → ranked + deduplicated → injected within a 6000-char context budget.
For full technical details, MCP tool reference, and troubleshooting, see the full documentation.
MIT
.claude-plugin/
marketplace.json
.gitignore
claude-teams-brain/
.claude-plugin/
plugin.json
.gitignore
assets/
logo.png
CHANGELOG.md
cli.mjs
commands/
brain-approve.md
brain-clear.md
brain-dashboard.md
brain-export.md
brain-forget.md
brain-github-export.md
brain-query.md
brain-remember.md
brain-replay.md
brain-runs.md
brain-search.md
brain-seed.md
brain-standup.md
brain-stats.md
brain-status.md
brain-update.md
CONTRIBUTING.md
hooks/
hooks.json
LICENSE
mcp/
executor.mjs
output_filter.mjs
server.mjs
package.json
profiles/
fastapi.json
github-actions-conventions.yml
go-microservices.json
nextjs-prisma.json
python-general.json
react-native.json
README.md
scripts/
brain_engine.py
dashboard_server.py
hook_runner.py
install.sh
on-pretooluse-task.sh
on-session-end.sh
on-session-start.sh
on-subagent-start.sh
on-subagent-stop.sh
on-task-completed.sh
on-teammate-idle.sh
pretooluse_inject.py
standup_server.py
update.sh
settings.json
skills/
brain-approve/
SKILL.md
brain-clear/
SKILL.md
brain-dashboard/
SKILL.md
brain-export/
SKILL.md
brain-forget/
SKILL.md
brain-github-export/
SKILL.md
brain-learn/
SKILL.md
brain-query/
SKILL.md
brain-remember/
SKILL.md
brain-replay/
SKILL.md
brain-runs/
SKILL.md
brain-search/
SKILL.md
brain-seed/
SKILL.md
brain-standup/
SKILL.md
brain-stats/
SKILL.md
brain-status/
SKILL.md
brain-update/
SKILL.md
claude-teams-brain/
SKILL.md
start.mjs
tests/
__init__.py
run_tests.py
test_brain_engine.py
test_hook_runner.py
demo/
dashboard.gif
demo.gif
standup.gif
docs/
DOCUMENTATION.md
README.md
SECURITY.md© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic