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.
FAQ
autoworker is a Claude Code plugin with 11 hand-picked skills for automation work, indexed on Flowy. Install it with the command on its page. It includes autoworker, checkpoint, code. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add phj128/autoworker> /plugin install autoworker@autoworker
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.
The problem: Claude often claims "done" before truly verifying. It skips tests, forgets edge cases, and moves on. Autoworker fixes this by enforcing a state machine that won't let Claude say "done" until it actually passes quality checks.
Without Autoworker, Claude Code:
/clear with no recoveryWith Autoworker:
/clear won't erase progress# Add the marketplace
/plugin marketplace add phj128/autoworker
# Install the plugin
/plugin install autoworker@autoworker
You: I need to add authentication to my Express app
Claude: [enters Plan Mode]
→ /autoworker triggers autoworker:deep-plan
→ 5-phase structured discussion (motivation, assumptions, design, acceptance criteria, plan)
→ Produces a plan file
You: /clear
Claude: [sees plan, enters execution]
→ autoworker:subtask-init → autoworker:subtask-plan → autoworker:dispatch
→ Autonomous loop until gate-check PASS
You: /autoworker
Add a retry mechanism to the API client with exponential backoff
Claude: → Creates subtask → Builds verification plan → Implements → Tests → Gates → Done
Autoworker runs as a state machine. Each skill reads the current state, does its job, and hands off to the next. No step can be skipped.
┌─────────────────────────────────────┐
│ │
subtask-init ──→ subtask-plan ──→ dispatch ──→ code ──→ checkpoint ──┐
↑ │
│ ┌────────────────────┘
│ ↓
├──── dispatch ──→ test ──→ checkpoint
│ ↓
│ gate-check
│ ↓ ↓
│ FAIL PASS ──→ done ✅
│ ↓
└── subtask-update
| Skill | Role | What happens |
|---|---|---|
| deep-plan | Planning | 5-phase structured discussion: motivation → assumptions → design → acceptance criteria → plan output |
| subtask-init | Setup | Creates subtask document with goals, assumptions (verified by running commands), and acceptance criteria |
| subtask-plan | Verification design | Builds L1-L4 test plan, traces each acceptance criterion to a test, checks coverage |
| dispatch | Router | Reads subtask checkboxes, routes to the right next step. The only routing point — prevents skipping |
| code | Implementation | Implements one phase of code, following the subtask plan step by step |
| test | Verification | Executes one test layer (L1/L2/L3/L4), records actual output vs expected |
| checkpoint | Record keeping | Checks off completed phases, writes test results to subtask |
| gate-check | Quality gate | Traces every acceptance criterion to test results, assesses confidence, triggers re-work if < 95% |
| subtask-update | Fix & retry | When gate-check fails, adds remediation steps and feeds back into the loop |
| sync-docs | Documentation | Syncs progress, findings, and archives completed work |
| Layer | Verifies | Example | Required? |
|---|---|---|---|
| L1 Build | Code compiles/parses | pnpm build, bash -n *.sh | Yes |
| L2 Unit | Individual function logic | Specific function call + expected output | Optional (with justification) |
| L3 Chain | Multi-module data flow | Feed real upstream output to downstream | Optional (with justification) |
| L4 End-to-End | Complete user path | Simulate actual user operations | Always required |
The gate-check doesn't just ask "does it work?" — it:
Claude Code's /clear command wipes all conversation context. Autoworker protects against this:
/clear. It trusts the 1M context auto-compression./clear, explicitly warns what survived (disk files) vs what may have been lost (conversation-only context).autoworker:dispatch reads subtask checkboxes from disk and picks up exactly where it left off.These rules are enforced throughout the execution chain:
grep confirming content exists ≠ tested. bash -n passing ≠ tested. Only actual command execution with observed output counts.catch must have specific recovery logic.autoworker:test.Autoworker creates and manages these files in your project:
your-project/
├── subtask_001_feature_name.md # Active work document (created by subtask-init)
├── task_plan.md # Project-level plan (big picture)
├── progress.md # Progress tracking across subtasks
├── findings.md # Discoveries and counter-intuitive behaviors
└── claude_docs/
└── subtask/ # Archived completed subtasks
The plugin includes reference materials that Claude consults when needed:
| File | Used for |
|---|---|
references/verification_system.md | Examples of verification plans and assumption checks |
references/debug_methodology.md | Diagnostic procedures when hitting repeated failures |
references/file_conventions.md | File naming, archiving, and project structure conventions |
references/proxy_metrics.md | Designing acceptance metrics and proxy indicators |
templates/subtask_template.md | Full subtask document template with all sections |
MIT
.claude-plugin/
marketplace.json
plugin.json
commands/
autoworker.md
LICENSE
README.md
scripts/
anti-loss-instructions.md
hook-config.yaml
state-persist.sh
state-recover.sh
skills/
autoworker/
references/
debug_methodology.md
file_conventions.md
proxy_metrics.md
verification_system.md
SKILL.md
templates/
subtask_template.md
checkpoint/
SKILL.md
code/
SKILL.md
deep-plan/
SKILL.md
dispatch/
SKILL.md
gate-check/
SKILL.md
subtask-init/
SKILL.md
subtask-plan/
SKILL.md
subtask-update/
SKILL.md
sync-docs/
SKILL.md
test/
SKILL.md© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic