team-brain

team-brain is a skill for Claude Code from Hrithik-Gavankar/brainstack. It costs 65 tokens per session (2,829 once invoked), scanned A, original, MIT.

A shared AI memory for a team or initiative, separate from personal engineering notes. After it is started, it can pull crew context and save findings in a merge-safe way.

In plain words
What is it for?
Coordinating Jira or initiative work, recalling shared findings, recording new discoveries, checking session compliance, and communicating updates with teammates.
Why use it?
It prevents each agent from working with isolated information and gives the team a controlled place to share research and decisions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash core/scripts/team-brain-admin-setup.sh.

Good fit Coordinating Jira or initiative work, recalling shared findings, recording new discoveries, checking session compliance, and communicating updates with teammates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Hrithik-Gavankar/brainstack
agentmods
npx agentmods add skills/hrithik-gavankar/brainstack/team-brain

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for team-brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/hrithik-gavankar/brainstack/team-brain/github.svg)](https://agentmods.dev/skills/hrithik-gavankar/brainstack/team-brain)
Your own site
<a href="https://agentmods.dev/skills/hrithik-gavankar/brainstack/team-brain"><img src="https://agentmods.dev/badge/skills/hrithik-gavankar/brainstack/team-brain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for team-brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/hrithik-gavankar/brainstack/team-brain"><img src="https://agentmods.dev/badge/skills/hrithik-gavankar/brainstack/team-brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.02829
Opus 5.5 $0.00026 $0.01132
Sonnet 5.5 $0.00013 $0.00566
Haiku 4.5 $0.00006 $0.00283

Measured 1mo ago against content hash 204aae9712a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

team-brain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

platforms/cursor/skills/team-brain/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Team Brain — Sync Mode

Part of Brainstack: personal=engineer-brain, crew=team-brain.

Prefer Fallback
MCP start / prepare_research / recall / remember / compliance / peer_notify / correct / history / restore / delete_memory / touch bash …/team-brain-api.sh …

Peer push (#31)

start may attach a Realtime signal listener (bodies still via authenticated pull).
If .team-brain/notify/<KEY>.json updates mid-session, summarize new peer memories before continuing.
If push is unavailable (TEAM_BRAIN_REALTIME=off / no websockets / migration missing), poll/watch/recall still work.

Repo pin (#39) + roles (#40)

  • Prefer pinned Jira key from .team-brain/project.json when the user omits a key (start / attach).
  • Never put anon / api_key / invite into the pin — credentials stay gitignored.
  • whoami.role: viewer → recall only; member/admin → remember + delete OK; only admin rotates invites / list_members.

Permission tiers

Role Read (recall, list, breakdown, history, metrics) Write (remember, correct, restore, attach) Delete (delete_memory) Admin (rotate invite, set-role, list-members)
viewer ✅ ❌ ❌ ❌
member ✅ ✅ ✅ ❌
admin ✅ ✅ ✅ ✅

Onboard requires --role member|viewer (admin assigns tier explicitly).

Compliance (policy=stronger_prompts)

v1 follow-up chose stronger prompts + soft session gate (not a hard CLI block).

  • Before deep research: research_ok must be true (start loads context, or prepare_research / recall).
  • If sync_status / compliance returns agent_action, follow it before coding.
  • After durable findings: remember with source_ref in the same turn.
  • Humans may still use the CLI offline; agents must not skip the loop.
  • Never upload personal BRAIN.md.

Read the full file on GitHub · 272 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +29 lines 204aae9712a5
  2. 1mo ago First seen · 243 lines · 65 tokens per session scan A d27a49867f52

Subscribe to this mod's changes

team-brain is a skill published in the GitHub repository Hrithik-Gavankar/brainstack (24 stars, last pushed 19d ago), licensed MIT. It adds 65 tokens to every session and 2,829 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.