Skip to content
Development
Skill

/brain-stats

Show brain and session stats — tasks indexed, decisions captured, token savings. Trigger: /brain-stats

From plugin
claude-teams-brain
2918 skills16 commands

Claude Code

$ npx -y skills add Gr122lyBr/claude-teams-brain --skill brain-stats --agent claude-code

SKILL.md

brain-stats.SKILL.md
name: brain-stats
description: |
  Show brain and session stats — tasks indexed, decisions captured, token savings.
  Trigger: /brain-stats
user_invocable: true

brain-stats

Show a full stats summary for persistent memory, the current session KB, and per-role activity.

Instructions

Run a single command that returns all stats (persistent memory, session KB, and per-role breakdown):

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/brain_engine.py full-stats "$CLAUDE_PROJECT_DIR"

The response JSON has three keys: `status`, `kb`, and `roles`.

Display as a clean summary:

## 🧠 claude-teams-brain Stats

### Persistent Memory
- Tasks indexed: X across Y sessions
- Decisions captured: X
- Files tracked: X
- Agents seen: X
- Last activity: <timestamp>

### Session Knowledge Base
- Chunks indexed: X
- Data indexed: XKB
- Sources: X (CLAUDE.md, git-log, batch_execute output, ...)

### Per-Role Breakdown
- backend: X tasks · X files (last active: <date>)
- frontend: X tasks · X files (last active: <date>)

Interpreting the numbers

  • **Tasks indexed** — completed tasks stored; grows each session
  • **Decisions captured** — architectural choices extracted from transcripts, tagged by type (architecture/dependency/convention/pattern/tooling)
  • **Files tracked** — distinct files agents have written or edited
  • **Session KB chunks** — indexed output from this session's MCP tool calls; agents can search it with `search()`
  • **Per-role** — which roles have the most accumulated memory; roles with 0 tasks get no context injection

If the brain is empty, encourage running an Agent Team session or using `/brain-remember` to seed initial conventions.

**Important**: Only use the exact command shown above. Do not invent or guess other command names.

Read more
@gr122lybr
Ships withclaude-teams-brain

Give your Claude Code Agent Teams a memory. Auto-injects role-specific context into every new teammate — your team never starts blind again.

Stars on GitHub

Momentum

stars in total
29
Star history of Gr122lyBr/claude-teams-brain on GitHub, a chart by star-history.com

Other skills on claude-teams-brain.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about brain-stats.

Which coding agents can use brain-stats?
brain-stats installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.