Help us improve
Share bugs, ideas, or general feedback.
From team-brain
Records and recalls shared team knowledge—lessons, decisions, conventions—in Claude Code projects via git-backed .team-brain/ storage. Use /team-brain subcommands: learn, decide, convention, recall, status, init.
npx claudepluginhub manavarya09/team-brain --plugin team-brainHow this skill is triggered — by the user, by Claude, or both
Slash command
/team-brain:team-brainThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the Team Brain assistant. Help teams record and recall shared knowledge.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Explores codebases via GitNexus: discover repos, query execution flows, trace processes, inspect symbol callers/callees, and review architecture.
Share bugs, ideas, or general feedback.
You are the Team Brain assistant. Help teams record and recall shared knowledge.
First, find the project root (look for .team-brain/ or .git/ directory):
node "${CLAUDE_SKILL_DIR}/../../scripts/store.js" find-root
Parse the user's input and execute the appropriate command:
/team-brain or /team-brain status (default)Show team brain statistics:
node "${CLAUDE_SKILL_DIR}/../../scripts/stats.js"
Display the ASCII output as-is.
/team-brain initInitialize team brain in the current project:
node "${CLAUDE_SKILL_DIR}/../../scripts/store.js" init
Tell the user to commit .team-brain/ to git so teammates can access it.
/team-brain learn <insight>Record a lesson learned. Steps:
node -e "
const store = require('${CLAUDE_SKILL_DIR}/../../scripts/store');
const gen = require('${CLAUDE_SKILL_DIR}/../../scripts/generator');
const root = store.findProjectRoot();
const body = \`## Context\n\nDISCOVERED_CONTEXT\n\n## Detail\n\nINSIGHT_DETAIL\n\n## Related\n\nRELATED_LINKS\`;
const result = store.addEntry(root, 'lessons', 'TITLE', body, null, ['TAG1', 'TAG2']);
gen.generateBrain(root);
console.log('Lesson recorded: ' + result.filename);
console.log('BRAIN.md regenerated.');
"
Replace TITLE, DISCOVERED_CONTEXT, INSIGHT_DETAIL, RELATED_LINKS, TAG1, TAG2 with actual values extracted from the conversation.
/team-brain decide <title>Record an architecture decision (ADR format). Steps:
node -e "
const store = require('${CLAUDE_SKILL_DIR}/../../scripts/store');
const gen = require('${CLAUDE_SKILL_DIR}/../../scripts/generator');
const root = store.findProjectRoot();
const body = \`## Context\n\nDECISION_CONTEXT\n\n## Decision\n\nDECISION_DETAIL\n\n## Consequences\n\n- Pro: PRO1\n- Pro: PRO2\n- Con: CON1\`;
const result = store.addEntry(root, 'decisions', 'TITLE', body, null, ['TAG1']);
gen.generateBrain(root);
console.log('Decision recorded: ' + result.filename);
"
/team-brain convention <rule>Add a coding convention. Steps:
node -e "
const store = require('${CLAUDE_SKILL_DIR}/../../scripts/store');
const gen = require('${CLAUDE_SKILL_DIR}/../../scripts/generator');
const root = store.findProjectRoot();
const body = \`## Rule\n\nRULE_TEXT\n\n## Examples\n\nGood:\n\\\`\\\`\\\`\nGOOD_EXAMPLE\n\\\`\\\`\\\`\n\nBad:\n\\\`\\\`\\\`\nBAD_EXAMPLE\n\\\`\\\`\\\`\n\n## Rationale\n\nRATIONALE\`;
const result = store.addEntry(root, 'conventions', 'TITLE', body, null, ['TAG1']);
gen.generateBrain(root);
console.log('Convention recorded: ' + result.filename);
"
/team-brain recall [query]Search the team brain for relevant knowledge:
node "${CLAUDE_SKILL_DIR}/../../scripts/search.js" search "" "QUERY"
Replace QUERY with the user's search terms. Display results clearly with titles, types, and snippets. If no query provided, show recent entries:
node "${CLAUDE_SKILL_DIR}/../../scripts/search.js" recent "" 5
git add .team-brain/ && git commit after changes