AgentSkillsCN

ultrawork

并行执行引擎,助力高吞吐量任务的高效完成。可同时运行多个Droid,独立执行各项任务。

SKILL.md
--- frontmatter
name: ultrawork
description: Parallel execution engine for high-throughput task completion. Runs multiple droids simultaneously for independent tasks.
<Purpose> Ultrawork is a parallel execution engine that runs multiple droids simultaneously for independent tasks. It provides parallelism and smart droid routing but not persistence or verification loops -- those are provided by ralph (which includes ultrawork). </Purpose>

<Use_When>

  • Multiple independent tasks can run simultaneously
  • User says "ulw", "ultrawork", or wants parallel execution
  • You need to delegate work to multiple droids at once
  • Task benefits from concurrent execution </Use_When>

<Do_Not_Use_When>

  • Task requires guaranteed completion with verification -- use ralph instead (ralph includes ultrawork)
  • Task requires a full autonomous pipeline -- use autopilot instead
  • There is only one sequential task -- delegate directly to executor-med
  • User needs session persistence for resume -- use ralph </Do_Not_Use_When>

<Why_This_Exists> Sequential task execution wastes time when tasks are independent. Ultrawork enables firing multiple droids simultaneously, reducing total execution time. It is designed as a composable component that ralph and autopilot layer on top of. </Why_This_Exists>

<Execution_Policy>

  • Fire all independent droid calls simultaneously -- never serialize independent work
  • Always select the right droid tier for task complexity
  • Run quick commands in foreground, long operations can run via Task tool </Execution_Policy>
<Steps> 1. **Classify tasks by independence**: Identify which can run in parallel vs which have dependencies 2. **Route to correct droids**: - Simple changes: executor-low - Standard implementation: executor-med (DEFAULT) - Complex work: executor-high or hephaestus 3. **Fire independent tasks simultaneously**: Launch all parallel-safe tasks at once via Task tool 4. **Run dependent tasks sequentially**: Wait for prerequisites before launching dependent work 5. **Verify when all tasks complete** (lightweight): - Build passes - Affected tests pass - No new errors introduced </Steps> <Examples> <Good> Three independent tasks fired simultaneously: ``` Task(subagent_type="executor-low", prompt="Add missing type export for Config interface") Task(subagent_type="executor-med", prompt="Implement the /api/users endpoint with validation") Task(subagent_type="executor-med", prompt="Add integration tests for the auth middleware") ``` Why good: Independent tasks at appropriate tiers, all fired at once. </Good> <Bad> Sequential execution of independent work: ``` result1 = Task(executor-low, "Add type export") # wait... result2 = Task(executor-med, "Implement endpoint") # wait... result3 = Task(executor-med, "Add tests") # wait... ``` Why bad: Independent tasks serialized, wasting time. </Bad> <Bad> Wrong tier selection: ``` Task(subagent_type="hephaestus", prompt="Add a missing semicolon") ``` Why bad: Overkill for a trivial fix. Use executor-low instead. </Bad> </Examples>

<Escalation_And_Stop_Conditions>

  • When invoked directly (not via ralph), apply lightweight verification only
  • For full persistence and verification, recommend switching to ralph
  • If a task fails repeatedly, report the issue rather than retrying indefinitely </Escalation_And_Stop_Conditions>

<Final_Checklist>

  • All parallel tasks completed
  • Build passes
  • Affected tests pass
  • No new errors introduced </Final_Checklist>
<Advanced> ## Relationship to Other Modes
code
ralph (persistence wrapper)
 └── includes: ultrawork (this skill)
     └── provides: parallel execution only

autopilot (autonomous execution)
 └── includes: ralph
     └── includes: ultrawork (this skill)

ecomode (modifier)
 └── modifies: ultrawork's droid selection to prefer cheaper tiers

Ultrawork is the parallelism layer. Ralph adds persistence and verification. Autopilot adds the full lifecycle pipeline. Ecomode adjusts droid routing. </Advanced>