brain

brain is a skill for Claude Code from keli-wen/agy-staff. It costs 39 tokens per session (870 once invoked), scanned A, a copy of agy-brain, MIT.

A skill that asks an external reasoning lead to create the first proposal while the host reviews it and handles the workspace, verification, and delivery. It is used when the user requests this split of responsibilities.

In plain words
What is it for?
It is for design discussions and implementation tasks that need an outside proposal, review, and later delivery by the host.
Why use it?
It separates initial problem framing from implementation ownership. This gives the proposal an independent challenge without giving up control of the work.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the agy plugin — 16 skills shipped together

Good fit It is for design discussions and implementation tasks that need an outside proposal, review, and later delivery by the host.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keli-wen/agy-staff/brain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add keli-wen/agy-staff --skill brain
Clone the repo
git clone --depth 1 https://github.com/keli-wen/agy-staff

Made for: Claude Code.

Or install agy, the plugin that ships this one along with the rest of its 16 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/keli-wen/agy-staff/brain/github.svg)](https://agentmods.dev/skills/keli-wen/agy-staff/brain)
Your own site
<a href="https://agentmods.dev/skills/keli-wen/agy-staff/brain"><img src="https://agentmods.dev/badge/skills/keli-wen/agy-staff/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 brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/keli-wen/agy-staff/brain"><img src="https://agentmods.dev/badge/skills/keli-wen/agy-staff/brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 870 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 88% copy Near-identical to another mod 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.00039 $0.00870
Opus 5.5 $0.00016 $0.00348
Sonnet 5.5 $0.00008 $0.00174
Haiku 4.5 $0.00004 $0.00087

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

Security

Grade A, and why

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 10d 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.

Origin

This is a copy

88% identical to agy-brain — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/brain/SKILL.md · 38 lines

How it starts

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

agy brain

Use the supplied task or the current request. In /agy:lead the host sets direction; here the external brain frames the problem and owns the first proposal and major revisions. You still own the workspace, verification and delivery. Match the user's stage: a design discussion authorizes discussion, not implementation.

Get the first proposal

Give the brain the original goal, verbatim constraints, already-settled decisions, known facts with sources, uncertainty, and available resources. Do not draft a solution, shortlist approaches or conduct an exhaustive investigation before handing off. Keep instructions about invoking this skill out of the brief. Include any budget and deadline; leave time for acceptance. The brain can reuse evidence, request targeted facts or use native Hydrogen / Flash for read-only reconnaissance.

Read ../jobs/SKILL.md for execution boundaries, waiting and recovery. Resolve <skill-dir> to the absolute directory containing this installed SKILL.md. It is a placeholder you replace before invoking the shell. From that directory, go up two levels to the plugin root and use its companion/agy-companion.mjs. Keep the command's working directory in the user's target workspace so the job belongs to that project. Substitute the actual brief file path as well:

node "<skill-dir>/../../companion/agy-companion.mjs" staffer --brain --prompt-file "<brief-path>"

Pass --model <neon|carbon|argon|hydrogen|flash|id> (and optional --effort low|medium|high|xhigh when paired with --model) when a specific model is requested; otherwise this background job defaults to Gemini 4 Carbon (gemini-4-carbon-medium). Honor explicit --model, --effort, --timeout and permission choices: if an explicitly requested model is unavailable, surface the diagnostic rather than silently switching models or widening permissions. Keep the ID with the assignment and wait using jobs.

Challenge and deliver

Before substantive execution, independently check the proposal's consequential assumptions and trade-offs against the user's goal and concrete evidence. Small read-only probes need no gate. If it holds, state briefly what you checked and proceed within authorization. If a premise fails, pause that part and send the counterexample, its source and the decision it affects back to the brain:

Read the full file on GitHub · 38 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. 10d ago Changed a0f436bf706f
  2. 17d ago Changed 7b203317cf45
  3. 19d ago Changed 1a9b5cf058c7
  4. 23d ago First seen · 38 lines · 39 tokens per session scan A f8f83cd135df

Subscribe to this mod's changes

brain is a skill published in the GitHub repository keli-wen/agy-staff (943 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 870 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to agy-brain, differing in 17 lines, and is treated as a copy.

Related

brain compared with skills from other repositories

brain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brainkeli-wen/agy-staffSkill943yesterdayMITA39Claude Code
moragentEduardoMoraga/moragentSkill11mo agoMITA22Claude Code
moragent-memoryEduardoMoraga/moragentSkill11mo agoMITA28Claude Code
moragent-specEduardoMoraga/moragentSkill11mo agoMITA22Claude Code
moragent-workerEduardoMoraga/moragentSkill11mo agoMITA25Claude Code
mantis-reproducegoogle/mantisSkill2.9ktodayApache-2.0A47Claude Code, Codex
mantis-meta-agentgoogle/mantisSkill2.9ktodayApache-2.0B44Claude Code, Codex