Ultrawork

From sigridjineth/oh-my-codex · View interactive version

Ultrawork is an AI agent skill from the GitHub repository sigridjineth/oh-my-codex. Parallel execution engine for high-throughput task completion

How to use this skill

Skill file

<Purpose>

Ultrawork 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.

</Purpose>

<Use_When>

</Use_When>

<Do_Not_Use_When>

</Do_Not_Use_When>

<Why_This_Exists>

Sequential 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.

</Why_This_Exists>

<Execution_Policy>

</Execution_Policy>

<Steps>

  1. Read agent reference: Load docs/shared/agent-tiers.md for tier selection
  2. Classify tasks by independence: Identify which tasks can run in parallel vs which have dependencies
  3. Route to correct tiers:
  1. Fire independent tasks simultaneously: Launch all parallel-safe tasks at once
  2. Run dependent tasks sequentially: Wait for prerequisites before launching dependent work
  3. Background long operations: Builds, installs, and test suites use run_in_background: true
  4. Verify when all tasks complete (lightweight):

</Steps>

<Tool_Usage>

</Tool_Usage>

<Examples>

<Good>

Three independent tasks fired simultaneously:

Task(subagent_type="oh-my-codex:executor-low", model="haiku", prompt="Add missing type export for Config interface")
Task(subagent_type="oh-my-codex:executor", model="sonnet", prompt="Implement the /api/users endpoint with validation")
Task(subagent_type="oh-my-codex:executor", model="sonnet", prompt="Add integration tests for the auth middleware")

Why good: Independent tasks at appropriate tiers, all fired at once.

</Good>

<Good>

Correct use of background execution:

Task(subagent_type="oh-my-codex:executor", model="sonnet", prompt="npm install && npm run build", run_in_background=true)
Task(subagent_type="oh-my-codex:executor-low", model="haiku", prompt="Update the README with new API endpoints")

Why good: Long build runs in background while short task runs in foreground.

</Good>

<Bad>

Sequential execution of independent work:

result1 = Task(executor-low, "Add type export")  # wait...
result2 = Task(executor, "Implement endpoint")     # wait...
result3 = Task(executor, "Add tests")              # wait...

Why bad: These tasks are independent. Running them sequentially wastes time.

</Bad>

<Bad>

Wrong tier selection:

Task(subagent_type="oh-my-codex:executor-high", model="opus", prompt="Add a missing semicolon")

Why bad: Opus is expensive overkill for a trivial fix. Use executor-low with Haiku instead.

</Bad>

</Examples>

<Escalation_And_Stop_Conditions>

</Escalation_And_Stop_Conditions>

<Final_Checklist>

</Final_Checklist>

<Advanced>

Relationship to Other Modes

ralph (persistence wrapper)
 \-- includes: ultrawork (this skill)
     \-- provides: parallel execution only

autopilot (autonomous execution)
 \-- includes: ralph
     \-- includes: ultrawork (this skill)

ecomode (token efficiency)
 \-- modifies: ultrawork's model selection

Ultrawork is the parallelism layer. Ralph adds persistence and verification. Autopilot adds the full lifecycle pipeline. Ecomode adjusts ultrawork's model routing to favor cheaper models.

</Advanced>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.