Brain AI — Data skill for Claude Code
Brain core, project kit and a Claude Code plugin marketplace (7 role agents, 4 skills, secret guard) — v4, rebuilt from 60 days of usage data.
How to install Brain AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open laszewskimariusz/brain-ai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Brain AI does
Brain core, project kit and a Claude Code plugin marketplace (7 role agents, 4 skills, secret guard) — v4, rebuilt from 60 days of usage data.
Alternatives in Data
- App Store Compliance — Avoid common App Store and Google Play rejections 3.6k ★
- Core Data Agent Skill — An Agent Skill focused on Apple’s Core Data framework, helping with data modeling, fetch requests, performance 301 ★
- Extraction Pipeline — Extraction Pipeline — Core Domain Logic — GenAI IDP Accelerator 295 ★
README
brain-ai
A shared knowledge core, a project kit and a Claude Code plugin marketplace for running software projects with a small team of AI agents. Version 4 is a rewrite driven by 60 days of usage data.
Looking for the earlier file-based framework with 19 agent personas? It lives at tag [`v3.0.0`](https://github.com/laszewskimariusz/brain-ai/tree/v3.0.0). Why it changed: [docs/why-v4.md](docs/why-v4.md).
v3 → v4 in numbers
Measured over 60 days of real work (110 main sessions, 553 subagent runs):
| Finding | Decision in v4 |
|---|---|
| Subagents caused 80 % of cache-creation tokens and 76 % of output tokens; most calls inherited the most expensive model | every agent pins its model; only the architect runs on the strongest one |
| 6 of 18 agent personas were never called | 7 role agents, no personas (persona prompts do not improve results) |
| A custom manifest and search index were read ~28 times in 60 days, regenerated ~44 times | removed; plain files and grep |
| A frontmatter-format hook blocked 0 writes; the secret guard blocked 8 real leaks | keep only guards that bite, ship them in the plugin |
| 0 sessions started inside a project repo | each project gets its own kit; the brain only coordinates |
| Agents were copied between machines and drifted apart | one versioned plugin installed from one marketplace |
Result of the slimming: context loaded at session start went from **81k to 40k tokens (−50 %)**.
How it fits together
flowchart LR
subgraph Brain["Brain repo (shared core)"]
P[portfolio.yaml]
D[decisions/]
K[knowledge/]
I[infra/]
end
subgraph MP["brain-ai marketplace (this repo)"]
C["brain-core plugin
7 agents · 4 skills · secret guard"]
end
subgraph Projects["Project repos"]
A["app-one
CLAUDE.md + .claude/settings.json"]
B["app-two
CLAUDE.md + .claude/settings.json"]
end
Brain -- "coordinates, tracks" --
Related Skills
Nld Agents
Claude Code plugin marketplace for the NLD ecosystem — architectural guides, how-to skills, and data conventio
Jev Hook Guard
What a Claude Code hook must do before it sends text to an external judgment API: mask secrets and personal da
Snowflake Safe Query Skill
Write and run read-only Snowflake queries against the Gaiia reporting database under a four-layer safety guard
Networker Report
Generate a weekly NetWorker backup summary — saveset success rates, failed clients, data volume, and policy co
Gsc Incremental
Refresh the last few days of Google Search Console data in BigQuery. Idempotent — safe to run daily.
Brain Onboard
Run the Evolving Brain onboarding flow — dump data, generate the wiki, answer questions, wire connectors
Related Agents
Team.Product Owner
Scope & value guard for the portfolio / DSL framework. Validates that a proposed feature serves the core goal
Vitrine
Desenha e atualiza as landing pages dos plugins do marketplace. Lê as fontes do plugin (README/CHANGELOG/manif
Usage Reporter
Reads real Claude Code usage from ~/.claude/stats-cache.json. Reports daily/weekly token usage by model, cache