claws-prompt-brainlisted
Install: claude install-skill neunaha/claws
# claws-prompt-brain
**Generate worker missions from `templates/<bucket>.yaml` with class tier and DX gates injected. Free-form prose is deprecated.**
## What this is
Structured mission-text generator for Claws workers. Converts a task description into a template-driven mission contract that embeds DX gates, lifecycle events, class-tier assembly rules, and model selection at dispatch time. The (bucket × class) matrix determines which template to fill and how large the assembled mission must be.
## When to invoke
- Before dispatching any worker via `claws_worker`, `claws_fleet`, `claws_lead`, `claws_titan`, `claws_legion`, or `claws_dispatch_subworker`
- When selecting a bucket template and class tier before writing mission text
## When NOT to invoke
- Read-only shell commands via `claws_exec` — no mission text needed (`class: shell`)
- When [[claws-do]] has already classified and templated the task — do not regenerate
## Steps
**1. Select mission shape (bucket)** — `audit` (read-only analysis/scan), `refactor` (extract/rename ≤1 file), `test` (write/expand tests), `impl` (new feature, multi-commit), `docs` (CHANGELOG/README). See `templates/<bucket>.yaml` via [[claws-prompt-templates]]. Multi-bucket task → fan out one worker per bucket.
**2. Select class** — determines dispatch tool, word budget, and required mission sections. See Class-Tier Prompt Assembly below. Default: `worker`.
| Class | Tool | Model | Budget | When |
|-------|------|-------|--------|------|
|