/autoworker:dispatchfrom autoworker
Reads subtask.md checkbox state and routes to the next skill in the autoworker execution loop. The sole routing point after checkpoint, gate-check, subtask-update, subtask-plan, or context loss.
Ships in autoworker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reads subtask.md checkbox state and routes to the next skill based on fixed priority.
When to call: Automatically called after autoworker:checkpoint, autoworker:gate-check, autoworker:subtask-update, autoworker:subtask-plan complete, or manually called after context loss.
Glob `subtask_*.md` (exclude subtask_template.md) →
0 found → stop, prompt to create subtask
1 found → use directly (backward compatible)
multiple → grep `status:` to filter:
- Files without status field treated as active (backward compatible)
- Exactly 1 active → use it
- 0 active → list all files + status, prompt user to choose
- >1 active → report anomaly
→ Read → extract:
- Plan section Phase checkbox states
- Verification plan section L1-L4 checkbox states
- Whether a `Gate result:` line exists and its value
Tally and output current state:
dispatch (subtask: <filename>):
- Phases: X/N complete
- Tests: L1 done/pending, L2 done/pending/skip, L3 done/pending/skip, L4 done/pending
- Gate: <empty/PASS/FAIL>
Evaluate in this order, execute the first match, do not continue evaluating:
autoworker:codeautoworker:test <level> (pass the first incomplete level)autoworker:gate-checkautoworker:subtask-updateAppend routing decision after the status summary:
→ Invoking autoworker:code to implement Phase Y
or
→ Invoking autoworker:test L2
or
→ Invoking autoworker:gate-check
or
Task complete! Outputting completion report.
or
→ Invoking autoworker:subtask-update (Gate FAIL)
After outputting the routing decision, immediately invoke the corresponding skill. Do not wait for user instructions, do nothing else.
Only exception: Gate PASS — directly output completion report, do not invoke any other skill.
Gate result: line, read PASS or FAILWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub phj128/autoworker --plugin autoworker11 skills in this plugin
/autoworkerAuto-loop execution workflow with quality gates. Use when starting any non-trivial implementation task. Provides automatic task decomposition, code implementation, testing (L1-L4), and iterative quality gates until completion. Invoke with /autoworker.
/checkpointRecord progress to subtask: Phase completion (from autoworker:code) or test results (from autoworker:test).
Auto-detects upstream type from conversation context. Ends by calling autoworker:dispatch.
/codeImplement ONE pending Phase from subtask plan. Only write code, do not mark checkboxes or run tests.
Called by autoworker:dispatch. Ends by calling autoworker:checkpoint.
Other plugins' skills for the same job