Agent skill

Brain

by coco-research in coco-research/coco

A skill your agent uses when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.

Custom licenceAuto-check passedDatabases

Install Brain

skills CLI
$ npx skills add coco-research/coco --skill brain -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coco-research/coco brain --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coco-research/coco.git skills-src && mkdir -p .claude/skills && cp -r skills-src/systems/brain/skills/brain .claude/skills/brain && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
brain
GitHub stars
473
Token cost
~1.5k tokens
SKILL.md length
474 words
Files
13 (incl. scripts)
Skills in repo
60
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.

  • Works in 4 steps: Scan the full conversation from top to… → Present a summary table to the user… → Wait for user confirmation ("looks good"… → …
  • The user says brain
  • SKILL.md covers Quick Reference, /brain:update ---…, Behavior Rules and DB Location, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Brain is an agent skill from coco-research/coco. Use when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update. SQLite projectbrain.db tracker for entities, relationships, tasks, threads, decisions, events.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts (for example `scripts/brain/__init__.py`, `scripts/brain/brain_cli.py` and `scripts/brain/chroma_worker.py`).

It sits in Databases. It works with SQLite. The repository describes itself as: CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands…

When your agent uses it

  • The user says brain
  • Project knowledge
  • What do we know about
  • Recent decisions

Example prompts

  • “/brain”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Scan the full conversation from top to bottom. For each project in the brain DB, extract
  2. Present a summary table to the user showing what will be written
  3. Wait for user confirmation ("looks good" / "y" / adjustments)
  4. Execute all writes via Python operations and report counts.

What it can do on your machine

Read from SKILL.md and the folder at commit 6036e9c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Brain loads about 1.5k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 474 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 474 words (~1,492 tokens).

“A structured SQLite database (project_brain.db) that lives in each project folder, replacing flat markdown memory files with queryable, relational knowledge.”

— opening of SKILL.md by coco-research, Custom licence
name
brain

Read the full SKILL.md on GitHub

Files

SKILL.md and 12 other files (scripts) in systems/brain/skills/brain of coco-research/coco.

  • SKILL.md
  • scripts/brain/__init__.py
  • scripts/brain/brain_cli.py
  • scripts/brain/chroma_worker.py
  • scripts/brain/document_reader.py
  • scripts/brain/entity_extractor.py
  • scripts/brain/exporter.py
  • scripts/brain/memory_bridge.py
  • scripts/brain/models.py
  • scripts/brain/operations.py
  • scripts/brain/queries.py
  • scripts/brain/scanner.py
  • scripts/brain/schema.py

Open the folder on GitHubat commit 6036e9c

Compare with similar skills

Brain next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Brain compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brain this skillcoco-research/coco473—~1.5kAutomated safety check: PassCustom licence
Iptvnator Sqlite DB Worker4gray/iptvnator7.3k—~824Automated safety check: PassMIT
Analyze Nsys Profilemlc-ai/pith-train355—~1.9kAutomated safety check: PassApache-2.0
Reactive Sqlite UIfastrepl/anarlog9.4k—~699Automated safety check: PassMIT
Composer Forensicsdxos/dxos525—~3.1kAutomated safety check: PassCustom licence
Sqlite Schema Designfastrepl/anarlog9.4k—~1.9kAutomated safety check: PassMIT

Similar skills

  • A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.

    7.3k GitHub stars~824 tokensUpdated today
    DatabasesAuto-check passed
  • Analyze Nsys Profile

    mlc-ai/pith-train

    Query a captured PithTrain Nsight Systems profile to measure compute/communication overlap, locate exposed comm by DualPipeV stage, and inspect per-rank stream behavior.

    355 GitHub stars~1.9k tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Reactive Sqlite UI

    fastrepl/anarlog

    Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states.

    9.4k GitHub stars~699 tokensUpdated today
    DatabasesAuto-check passed
  • Forensically inspect and repair Composer browser profiles — offline (Chrome OPFS / SQLite extract) or live via /recovery.html debug port.

    525 GitHub stars~3.1k tokensUpdated today
    DatabasesAuto-check passed
  • Sqlite Schema Design

    fastrepl/anarlog

    Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.

    9.4k GitHub stars~1.9k tokensUpdated today
    DatabasesAuto-check passed
  • Makemigrations

    deusXmachina-dev/memorylane

    Create SQLite migrations for MemoryLane storage schema changes.

    121 GitHub stars~973 tokensUpdated yesterday
    DatabasesAuto-check passed

More from coco-research/coco

All 60 skills in this repo
  • Coco Ads

    coco-research/coco

    Turn the project you just shipped into a short, polished, shareable launch video (an "ad") using HyperFrames.

    473 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Arch Index

    coco-research/coco

    Build and validate .arch/index.json — a committed map from each architectural component of this repository to the real directories and files that implement it, pinned to a git commit, with every…

    473 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Skill Evolution

    coco-research/coco

    A skill your agent uses when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one…

    473 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Coco Diagram

    coco-research/coco

    A skill your agent uses for architecture, current-state, process, data-flow, medallion, or DP diagrams, including redrawing .drawio and Mermaid sources.

    473 GitHub stars~9.2k tokensUpdated today
    Auto-check passed
  • M0

    coco-research/coco

    A skill your agent uses when the user says 'm0', 'm0 status', 'start m0', 'cross-tool memory', 'operational thread', or 'where is my memory stored', or when the M0 daemon or MCP wiring needs…

    473 GitHub stars~755 tokensUpdated today
    Auto-check passed
  • PR To Video

    coco-research/coco

    A skill your agent uses when the user wants a GitHub PR (URL, owner/repoN, or 'this PR') made into a code-change explainer video from its diff and commits: changelog, feature reveal, fix, or refactor.

    473 GitHub stars~7.8k tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Brain

What does Brain do?

A skill your agent uses when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update. Brain is an agent skill from coco-research/coco. Use when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.

When should I use Brain?

Brain fits situations like: the user says brain; project knowledge; what do we know about; recent decisions.

How do I install Brain in Claude Code?

Run `npx skills add coco-research/coco --skill brain -a claude-code`. Or copy the skill folder (systems/brain/skills/brain in coco-research/coco) into .claude/skills/brain in your project. Claude Code loads it when a task matches its description.

How do I install Brain in Codex?

Run `npx skills add coco-research/coco --skill brain -a codex`. Or copy the skill folder (systems/brain/skills/brain in coco-research/coco) into .agents/skills/brain in your project. Codex loads it when a task matches its description.

Can I use Brain in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coco-research/coco --skill brain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brain, .gemini/skills/brain, .github/skills/brain and .opencode/skills/brain in your project.

What does Brain need to run?

Going by SKILL.md and its folder, Brain needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Brain access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Brain safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Brain use?

Brain has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Brain use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Brain?

Skills that share tags, products or a category with Brain: Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars), Analyze Nsys Profile (mlc-ai/pith-train, 355 stars), Reactive Sqlite UI (fastrepl/anarlog, 9.4k stars) and Composer Forensics (dxos/dxos, 525 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brain?

coco-research (a GitHub user) maintains it in coco-research/coco, which has 473 GitHub stars. The repository holds 60 skills in this directory. The repository was last updated on October 7, 2026.

Source: coco-research/coco on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.