1---2name: ultrawork3description: Parallel execution engine for high-throughput task completion4---56<Purpose>7Ultrawork is a parallel execution engine that runs multiple agents simultaneously for independent tasks. It is a component, not a standalone persistence mode -- it provides parallelism and smart model routing but not persistence, verification loops, or state management.8</Purpose>910<Use_When>11- Multiple independent tasks can run simultaneously12- User says "ulw", "ultrawork", or wants parallel execution13- You need to delegate work to multiple agents at once14- Task benefits from concurrent execution but the user will manage completion themselves15</Use_When>1617<Do_Not_Use_When>18- Task requires guaranteed completion with verification -- use `ralph` instead (ralph includes ultrawork)19- Task requires a full autonomous pipeline -- use `autopilot` instead (autopilot includes ralph which includes ultrawork)20- There is only one sequential task with no parallelism opportunity -- delegate directly to an executor agent21- User needs session persistence for resume -- use `ralph` which adds persistence on top of ultrawork22</Do_Not_Use_When>2324<Why_This_Exists>25Sequential task execution wastes time when tasks are independent. Ultrawork enables firing multiple agents simultaneously and routing each to the right model tier, reducing total execution time while controlling token costs. It is designed as a composable component that ralph and autopilot layer on top of.26</Why_This_Exists>2728<Execution_Policy>29- Fire all independent agent calls simultaneously -- never serialize independent work30- Always pass the `model` parameter explicitly when delegating31- Read `docs/shared/agent-tiers.md` before first delegation for agent selection guidance32- Use `run_in_background: true` for operations over ~30 seconds (installs, builds, tests)33- Run quick commands (git status, file reads, simple checks) in the foreground34</Execution_Policy>3536<Steps>371. **Read agent reference**: Load `docs/shared/agent-tiers.md` for tier selection382. **Classify tasks by independence**: Identify which tasks can run in parallel vs which have dependencies393. **Route to correct tiers**:40 - Simple lookups/definitions: LOW tier (Haiku)41 - Standard implementation: MEDIUM tier (Sonnet)42 - Complex analysis/refactoring: HIGH tier (Opus)434. **Fire independent tasks simultaneously**: Launch all parallel-safe tasks at once445. **Run dependent tasks sequentially**: Wait for prerequisites before launching dependent work456. **Background long operations**: Builds, installs, and test suites use `run_in_background: true`467. **Verify when all tasks complete** (lightweight):47 - Build/typecheck passes48 - Affected tests pass49 - No new errors introduced50</Steps>5152<Tool_Usage>53- Use `Task(subagent_type="oh-my-claudecode:executor", model="haiku", ...)` for simple changes54- Use `Task(subagent_type="oh-my-claudecode:executor", model="sonnet", ...)` for standard work55- Use `Task(subagent_type="oh-my-claudecode:executor", model="opus", ...)` for complex work56- Use `run_in_background: true` for package installs, builds, and test suites57- Use foreground execution for quick status checks and file operations58</Tool_Usage>5960<Examples>61<Good>62Three independent tasks fired simultaneously:63```64Task(subagent_type="oh-my-claudecode:executor", model="haiku", prompt="Add missing type export for Config interface")65Task(subagent_type="oh-my-claudecode:executor", model="sonnet", prompt="Implement the /api/users endpoint with validation")66Task(subagent_type="oh-my-claudecode:executor", model="sonnet", prompt="Add integration tests for the auth middleware")67```68Why good: Independent tasks at appropriate tiers, all fired at once.69</Good>7071<Good>72Correct use of background execution:73```74Task(subagent_type="oh-my-claudecode:executor", model="sonnet", prompt="npm install && npm run build", run_in_background=true)75Task(subagent_type="oh-my-claudecode:executor", model="haiku", prompt="Update the README with new API endpoints")76```77Why good: Long build runs in background while short task runs in foreground.78</Good>7980<Bad>81Sequential execution of independent work:82```83result1 = Task(executor, "Add type export") # wait...84result2 = Task(executor, "Implement endpoint") # wait...85result3 = Task(executor, "Add tests") # wait...86```87Why bad: These tasks are independent. Running them sequentially wastes time.88</Bad>8990<Bad>91Wrong tier selection:92```93Task(subagent_type="oh-my-claudecode:executor", model="opus", prompt="Add a missing semicolon")94```95Why bad: Opus is expensive overkill for a trivial fix. Use executor with Haiku instead.96</Bad>97</Examples>9899<Escalation_And_Stop_Conditions>100- When ultrawork is invoked directly (not via ralph), apply lightweight verification only -- build passes, tests pass, no new errors101- For full persistence and comprehensive architect verification, recommend switching to `ralph` mode102- If a task fails repeatedly across retries, report the issue rather than retrying indefinitely103- Escalate to the user when tasks have unclear dependencies or conflicting requirements104</Escalation_And_Stop_Conditions>105106<Final_Checklist>107- [ ] All parallel tasks completed108- [ ] Build/typecheck passes109- [ ] Affected tests pass110- [ ] No new errors introduced111</Final_Checklist>112113<Advanced>114## Relationship to Other Modes115116```117ralph (persistence wrapper)118 \-- includes: ultrawork (this skill)119 \-- provides: parallel execution only120121autopilot (autonomous execution)122 \-- includes: ralph123 \-- includes: ultrawork (this skill)124```125126Ultrawork is the parallelism layer. Ralph adds persistence and verification. Autopilot adds the full lifecycle pipeline.127</Advanced>