autoworker
Auto-loop execution workflow with quality gates. Use when starting any non-trivial implementation task. Provides automatic task…
Read subtask.md checkbox state and route to next skill. The ONLY routing point in the execution loop. Called after autoworker:checkpoint, autoworker:gate-check, autoworker:subtask-update, autoworker:subtask-plan, or when resuming after context loss. When lost, call
Claude Code
$ npx -y skills add phj128/autoworker --skill dispatch --agent claude-code
Codex
$ npx skills add phj128/autoworker --skill dispatch -a codex -y
Cursor
$ npx skills add phj128/autoworker --skill dispatch -a cursor -y
Gemini CLI
$ npx skills add phj128/autoworker --skill dispatch -a gemini-cli -y
GitHub Copilot
$ npx skills add phj128/autoworker --skill dispatch -a github-copilot -y
OpenCode
$ npx skills add phj128/autoworker --skill dispatch -a opencode -y
Windsurf
$ npx skills add phj128/autoworker --skill dispatch -a windsurf -y
name: dispatch description: | Read subtask.md checkbox state and route to next skill. The ONLY routing point in the execution loop. Called after autoworker:checkpoint, autoworker:gate-check, autoworker:subtask-update, autoworker:subtask-plan, or when resuming after context loss. When lost, call autoworker:dispatch.
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 valueTally 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**:
1. **Has incomplete Phase?** → invoke `autoworker:code` 2. **All Phases complete, has untested layer?** → invoke `autoworker:test <level>` (pass the first incomplete level) 3. **All tests complete, no Gate result?** → invoke `autoworker:gate-check` 4. **Gate result = PASS?** → output completion report (**terminal point, do not invoke any further skill**) 5. **Gate result = FAIL?** → invoke `autoworker:subtask-update`
Append 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.
An auto-loop execution workflow with quality gates for Claude Code. Give Claude a task. Autoworker decomposes it, implements code, runs tests, and iterates through quality gates — autonomously looping until the job is done right.
Auto-loop execution workflow with quality gates. Use when starting any non-trivial implementation task. Provides automatic task…
Record progress to subtask: Phase completion (from autoworker:code) or test results (from autoworker:test). Auto-detects upstream…
Implement ONE pending Phase from subtask plan. Only write code, do not mark checkboxes or run tests. Called by…
Structured deep discussion for Plan Mode. Runs inside EnterPlanMode to ensure thorough questioning before writing a plan. Covers…
Final quality gate before reporting task completion (Gate 3). Fills confidence assessment, runs supplementary verification for…
Create subtask document (first half): user confirmation, goals, assumptions. Auto-runs assumption verification experiments and…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…