From thunderdome
Queue-driven work orchestrator. Processes requests from do-work/requests/ using isolated sub-agents. Use to start or resume the work loop.
How this skill is triggered — by the user, by Claude, or both
Slash command
/thunderdome:work-loopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Queue-driven development workflow that processes requests using isolated sub-agents.
Queue-driven development workflow that processes requests using isolated sub-agents.
The Orchestrator never performs task work.
Every request spawns a fresh sub-agent. Sub-agents die after completion. This ensures:
do-work/
├── requests/ # Pending work (input queue)
├── in-progress/ # Currently executing (max 1)
├── archive/ # Completed successfully
└── errors/ # Failed with error summary
If directories don't exist, create them on first run.
Check for and create required directories:
mkdir -p do-work/{requests,in-progress,archive,errors}
ls -1 do-work/requests/*.md 2>/dev/null | head -1
If empty and --watch not set, exit cleanly.
If empty and --watch set, poll every 5 seconds.
For each request file:
Move from requests/ to in-progress/:
mv do-work/requests/FILENAME.md do-work/in-progress/
Only ONE file should be in in-progress/ at a time.
Read the request file and extract:
Create a fresh execution context with:
The sub-agent operates in three phases:
Planning Phase:
Execution Phase:
Validation Phase:
Success:
mv do-work/in-progress/FILENAME.md do-work/archive/
Failure: Append error summary to file, then:
mv do-work/in-progress/FILENAME.md do-work/errors/
Error summary format:
---
## Execution Failed
**Timestamp:** 2026-01-28T14:30:22Z
**Reason:** Tests failed after implementing feature
**Details:**
- test_user_auth.py::test_login FAILED
- Expected redirect, got 500 error
**Attempted:**
- Added login route
- Created auth middleware
- Tests revealed database connection issue
After processing:
--once → exit--watch → poll for new requests| Command | Behavior |
|---|---|
/work-loop | Process all requests, then exit |
/work-loop --once | Process ONE request, then exit |
/work-loop --watch | Continuous mode, poll for new requests |
Sub-agents MUST:
Sub-agents MUST NOT:
If work-loop crashes mid-execution:
in-progress/ on restartrequests/ or errors/ based on stateIf a request is in in-progress/ for too long:
errors/ with timeout noteUser can always:
requests/The work-loop integrates with Thunderdome:
/thunderdome status shows queue depth/thunderdome debrief verifies queue is emptyTypical session:
/thunderdome # Check status
/capture-request # Capture work items
/work-loop # Process the queue
/thunderdome debrief # Verify and close
Optional .thunderdome/config.json settings:
{
"workLoop": {
"maxExecutionTime": 600,
"pollInterval": 5,
"autoRetry": false,
"notifyOnComplete": true
}
}
| Setting | Default | Description |
|---|---|---|
maxExecutionTime | 600 | Seconds before timeout |
pollInterval | 5 | Seconds between polls in watch mode |
autoRetry | false | Auto-retry failed requests |
notifyOnComplete | true | Notify when queue empties |
$ claude
> /capture-request Add user authentication to the app
Captured 1 request:
1. do-work/requests/20260128-143022-user-auth.md
Intent: Add user authentication
Run `/work-loop` to begin processing.
> /work-loop
Processing: 20260128-143022-user-auth.md
Intent: Add user authentication
[Sub-agent spawned]
- Planning: Identified auth approach
- Executing: Adding login page...
- Executing: Adding auth middleware...
- Validating: Running tests...
Completed: user-auth
Moved to: do-work/archive/
Queue empty. Work loop complete.
> /thunderdome debrief
Tests: 47 passed
Changes: 5 files modified
Status: ALL CLEAR - Safe to close
npx claudepluginhub ramws870/claude-thunderdome --plugin thunderdomeOrchestrates multi-agent parallel execution for complex tasks like features, refactoring, testing, reviews, and documentation using cc-mirror tracking and TodoWrite visibility.
Framework for long-running, multi-session autonomous agent tasks with progress checkpointing, failure recovery, and task dependency management. Maintains append-only progress logs and checkpoint files for recovery across context window resets.