brain-team-push

brain-team-push is a command for Claude Code from fiale-plus/fiale-claude-plugins. It costs 17 tokens per session (729 once invoked), scanned B, original, MIT.

A command for moving a personal insight, called an atom, from a local knowledge store into a shared team store.

In plain words
What is it for?
Use it to select an insight, review its contents, and publish it as a pattern, decision, or gotcha for the team.
Why use it?
It provides a defined way to share useful notes that were not automatically sent to the team. It stops when the shared store is not configured.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the brain plugin — 10 commands, 3 hooks shipped together

Good fit Use it to select an insight, review its contents, and publish it as a pattern, decision, or gotcha for the team.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add fiale-plus/fiale-claude-plugins
Claude Code
/plugin install brain

Made for: Claude Code.

Or install brain, the plugin that ships this one along with the rest of its 10 commands, 3 hooks.

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 brain-team-push

README.md
[![agentmods](https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/team-push/github.svg)](https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/team-push)
Your own site
<a href="https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/team-push"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/team-push/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 brain-team-push

Your own site · 80×15
<a href="https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/team-push"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/team-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00017 $0.00729
Opus 5.5 $0.00007 $0.00292
Sonnet 5.5 $0.00003 $0.00146
Haiku 4.5 $0.00002 $0.00073

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

Security

Grade B, and why

brain-team-push scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/brain/config.json
plugins/brain/commands/team-push.md · 104 lines

How it starts

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

Promote a personal atom from ~/brain/atoms/ to the team vault. Use this when you want to share an insight that wasn't auto-routed during synthesis.

Steps

1. Read config

cat ~/.claude/brain/config.json

If team.enabled is false, say: "Team vault not configured. Run /brain-team-setup first." and stop.

2. Identify atom to promote

If slug was provided as argument: look it up directly:

cat ~/brain/atoms/<slug>.md

If no argument: list atoms by reference count and ask:

python3 -c "
import json
from pathlib import Path
index = json.loads(Path.home().joinpath('.claude/brain/atoms-index.json').read_text())
sorted_atoms = sorted(index, key=lambda x: x.get('reference_count', 1), reverse=True)
for a in sorted_atoms[:20]:
    print(f\"{a['reference_count']:3d}x  {a['slug']}\")
"

Ask:

"Which atom to promote? Enter slug or number from list above:"

Read the selected atom file:

cat ~/brain/atoms/<slug>.md

3. Choose format and destination

Show the atom content. Ask:

"Promote as:

  1. pattern — recurring convention or approach
  2. decision — architectural or design choice
  3. gotcha — blocker or non-obvious solution [default: pattern]"

4. Confirm and promote

Show:

Promote to team vault?
  Slug:    <slug>
  Format:  <format>
  Dest:    <team_vault_path>/<format>/<slug>.md
  Mode:    <auto_promote_mode>

Ask: "Proceed? [y/n]"

If yes:

python3 -c "
import sys; sys.path.insert(0, '${CLAUDE_PLUGIN_ROOT}/bin')
import synthesize, json, re
from pathlib import Path

atom_path = Path.home() / 'brain/atoms/<slug>.md'
text = atom_path.read_text()
# Extract title from frontmatter
title_match = re.search(r'title:\s*(.+)', text)
title = title_match.group(1).strip() if title_match else '<slug>'
# Extract content (below frontmatter)
content = re.sub(r'^---\n.*?\n---\n', '', text, flags=re.DOTALL).strip()

config = synthesize.load_config()
synthesize.write_team_doc(
    config['team']['vault_path'],
    '<format>',
    title,
    content,
    config['team'].get('auto_promote_mode', 'commit')
)
print(f'Promoted: {config[\"team\"][\"vault_path\"]}/<format>/<slug>.md')
"

Read the full file on GitHub · 104 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. 3mo ago First seen · 104 lines · 17 tokens per session scan B 92d4fff1f4eb

Subscribe to this mod's changes

brain-team-push is a command published in the GitHub repository fiale-plus/fiale-claude-plugins (4 stars, last pushed 7mo ago), licensed MIT. It adds 17 tokens to every session and 729 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

brain-team-push compared with commands from other repositories

brain-team-push next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brain-team-pushfiale-plus/fiale-claude-pluginsCommand47mo agoMITB17Claude Code
context-statstravisjneuman/.claudeCommand115yesterdayMITA7Claude Code
sync0xDarkMatter/claude-modsCommand868d agoMITA31Claude Code
handofftravisjneuman/.claudeCommand115yesterdayMITA8Claude Code
checkpointDevZonayed/MochiCommand329d agoMITA17Claude Code
dreamDevZonayed/MochiCommand329d agoMITA25Claude Code
recallDevZonayed/MochiCommand329d agoMITA15Claude Code