PLUGIN brewtools / Agents

Agents

Agents are specialist roles defined in markdown with their own model, toolset and system prompt. Brewtools has 3.

Summary table

#AgentModelDescription
1text-optimizersonnetOptimizes text/docs for LLM token efficiency. Triggers: optimize prompt, reduce tokens, compress.
2ssh-admininheritLinux server admin: SSH, Docker, systemd, Nginx, SSL. Triggers: ssh admin, server management.
3deploy-admininheritGitHub Actions deployment: workflows, releases, GHCR, CI/CD. Triggers: deploy, release.
Scope guard: shared by all 3 agents #

Each agent sizes the task before starting. One bounded unit = one deliverable, ~5 files, ~10 steps. Anything bigger, or spanning several independent deliverables, makes the agent stop and return a split proposal: 2-N bounded subtasks, each with its scope and a suggested owner. Mid-flight the rule is the same: stop at the next clean boundary, report done / remaining / how to split.

The agent doesn’t invent a missing GOAL, SCOPE, CONTEXT, CONSUMER or acceptance criteria: it states its assumption in the report or asks once. The result is written for the CONSUMER, whoever picks it up next, not for the literal wording of the request.

Subagents have no AskUserQuestion (removed in Claude Code 2.1.233). ssh-admin and deploy-admin return a ## APPROVAL REQUIRED envelope to the caller for a destructive or privileged step, or proceed only if the prompt pre-approved it.

RuleApplies to
One bounded unit per run, otherwise split proposaltext-optimizer, ssh-admin, deploy-admin
Split per target: one agent per host / environment / service / repo, never one agent looping over allssh-admin, deploy-admin
Missing brief fields: state the assumption or ask once, never invent scopeall three

Phrase multi-target work as separate requests: “deploy staging” + “deploy prod”, not “deploy to all environments”.

Brewtools overview

Install, commands and plugin structure.

Skills

The 13 skills that spawn these agents.

View on GitHub

Agent definitions.

Update: /brewtools:plugin-update, /reload-plugins, then /brewcode:setup-status upgrade - FAQ