toolkit/packages/skills/critique/SKILL.md
Get a Distinguished Engineer level technical critique of the current approach
npx skillsauth add stevengonsalvez/agents-in-a-box critiqueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this command to get a Distinguished Engineer level technical critique of the current approach and implementation.
<!-- recall:begin -->Before critiquing, recall prior learnings from the global knowledge base so we don't re-learn or re-decide something already captured:
uv run "{{HOME_TOOL_DIR}}/skills/recall/scripts/recall.py" \
"<QUERY>" \
--limit 5 --format markdown
Query construction for /critique: a short summary of the approach/code being critiqued + relevant domain keywords (e.g. "event-sourced migration rollback strategy").
What to do with results:
/critique [type] "context"
general - Overall technical review (default)architecture - System design and patterns reviewperformance - Performance and scalability analysissecurity - Security implications assessmentcost - Total cost of ownership analysiscomplexity - Overengineering assessmentall - Comprehensive review covering all aspectsThis command provides brutally honest, constructive critique with 25+ years of Distinguished Engineer experience perspective. The review prevents costly mistakes while not crushing innovation. The critique will be displayed in a clear <output> block for review and response.
/critique architecture "Using microservices for a 3-user internal tool"
/critique cost "Kubernetes for a static website"
/critique all "Redux for state management in a todo app"
/critique "Using 5 different databases in a startup MVP"
The critique provides a structured JSON report containing:
When this command is invoked:
Context Extraction:
Analysis Phase:
Generate Critique with structured output:
Display Output in formatted <output> block:
Save the critique to {{HOME_TOOL_DIR}}/critiques/critique_[TIMESTAMP]_[TYPE].json
The Distinguished Engineer perspective includes:
The critique should be:
After receiving the critique:
documentation
Report reflect drain spend over a time window — tokens split by cached (cache_read), uncached writes (cache_creation), and io (input+output), with a $ estimate, grouped by day / outcome / model / transcript. Reads the drainer's cost log and surfaces outlier runs and cache-reuse health (the 41.5M-token failure mode = low cache reuse + high cache writes). Use to answer "what is reflection costing me" for the last day / week.
development
Show fleet status — every claude session running on the host, merged across ainb + claude-peers broker + background jobs. Use when you need to enumerate sessions before composing an action, see which sessions have a peer registered (broker-routable) vs tmux-only, check the `summary` of each session, or pipe the list into jq for filtering. Default output: text table. Pass --format json for LLM consumption.
testing
Ordered multi-step prompts to fleet targets, ack-gated between steps via JSONL assistant-turn-end detection. Use for cycles like disconnect→reconnect→verify, or any flow where step N+1 requires step N to have completed first. The skill BLOCKS until each target's transcript shows the next assistant turn finishing OR per-step timeout fires (default 300s).
development
Center control panel — enumerate every claude session that is blocked waiting on something: a user answer (AskUserQuestion fired), an API error retry, an idle assistant turn-end with no follow-up, or an explicit WAITING: marker. Returns rich JSON with signal kind + context per session. Use this when you've stepped away from the fleet and want one place to see everything that wants your attention and answer it.