agents opus
Prompt-driven
Quick reference
| Field | Value |
|---|---|
| Command | /brewcode:agents |
| Input | free-form prompt or empty |
| Specialist | brewcode:agent-creator |
| List source | .claude/agents/, ~/.claude/agents/, plugin agents/ |
| Model | opus |
When to use
- Check the status of all agents across project and global scopes
- Create a new agent from a plain-English description
- Improve an existing agent’s trigger phrases or system prompt
- Review an agent for quality, focus, and trigger coverage
- Batch-create or batch-improve a set of agents in one pass
Examples
/brewcode:agents
/brewcode:agents status of my agents
/brewcode:agents create a backend validator agent
/brewcode:agents improve reviewer
How it works
- Input gate
Reads
$ARGUMENTS. An empty prompt skips analysis and jumps directly to the No-prompt menu; a non-empty prompt proceeds to mode selection. - Auto-mode select
Announces
Mode: <mode> (agents) — chosen because …based on keywords, intent, and target presence in the prompt. - No-prompt menu
Sends a single AskUserQuestion with options:
Status (agents)(recommended),Status (all: agents+rules+skills),Create,Improve,Review,List (plain),Cancel. The skill continues with the chosen mode. - Dispatch
Routes to the appropriate handler. Create and improve modes delegate to the
brewcode:agent-creatorspecialist via Task tool, passing full context — description, scope, model, and improvement focus. - Real status
Scans
.claude/agents/,~/.claude/agents/, and pluginagents/directories; reads each agent file to extract name, model, and trigger count. Reports scope, path, and quality signal per agent. - Final output
Prints a detection + result table: mode chosen, target, file path, model, scope, and CLAUDE.md update status. Suggests next steps such as
/reload-pluginsand a test invocation phrase.
Modes
| Mode | Trigger | Action |
|---|---|---|
| status | default — no explicit mode keyword | Scans all scopes, prints agents with model, scope, and trigger count |
| list | list keyword | Globs *.md across ALL agent scopes (.claude/agents/, ~/.claude/agents/, brewcode/agents/) |
| create | create <description> | Scaffolds a new agent file via agent-creator; asks scope, model, CLAUDE.md update |
| improve | improve <name> or bare <name|path> | Tunes description triggers and system prompt quality |
| review | review <name> | Full quality review: trigger coverage, prompt focus, redundancy check |
| batch | auto-detected fan-out flag | Not a menu item — auto-detected from prompt (“batch”, “all”, “each”); triggers parallel delegation when creating or improving multiple agents |
Create / improve parameters
| Parameter | Options | Notes |
|---|---|---|
| Scope | Project / Global / Plugin | Project → .claude/agents/; Global → ~/.claude/agents/; Plugin → brewcode/agents/ |
| Model | sonnet / opus / haiku / inherit | inherit keeps the model from the existing file (improve only) |
| CLAUDE.md update | yes / no | Adds or updates the agent row in the agents table; appends a new section if none exists |
| Improve focus | triggers / system prompt / both / full review | For improve and review modes |
| Description | free-form, aim ≤100 chars | Used as the agent description frontmatter — drives LLM auto-invocation |
| Specialist | brewcode:agent-creator | Handles file scaffolding and prompt engineering |
rules
skills
brewcode
GitHub source
Updating plugins
/brewtools:plugin-update to check and update the brewcode plugin suite in one command.
See the FAQ for details.