agentleFS
lza6lza6/claw-code-tingfeng/skills/ultrawork/SKILL.md

ultrawork

Skill4 starsChanged 7 months agoMITView on GitHub

Parallel execution engine for high-throughput task completion

  • Installs packages

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always pass the model parameter explicitly when delegating

    line 30
  2. Very specific:

    Read docs/shared/agent-tiers.md before first delegation for agent selection guidance

    line 31
  3. Very specific:

    Use run_in_background: true for operations over ~30 seconds (installs, builds, tests)

    line 32
  4. Distinctive:

    Run quick commands (git status, file reads, simple checks) in the foreground </Execution_Policy>

    line 33
  5. Distinctive:

    Run dependent tasks sequentially: Wait for prerequisites before launching dependent work

    line 44
  6. Distinctive:

    No new errors introduced </Steps>

    line 49
  7. Distinctive:

    Use LOW-tier delegation for simple changes

    line 53
  8. Distinctive:

    Use STANDARD-tier delegation for standard work

    line 54
  9. Distinctive:

    Use THOROUGH-tier delegation for complex work

    line 55
  10. Very specific:

    Use run_in_background: true for package installs, builds, and test suites

    line 56
  11. Distinctive:

    Use foreground execution for quick status checks and file operations </Tool_Usage>

    line 57
  12. Very specific:

    Use omx_state MCP tools for ultrawork lifecycle state.

    line 62
  13. Distinctive:

    When ultrawork is invoked directly (not via ralph), apply lightweight verification only -- build passes, tests pass, no new errors

    line 113
  14. Distinctive:

    If a task fails repeatedly across retries, report the issue rather than retrying indefinitely

    line 115

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<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>

  • Multiple independent tasks can run simultaneously
  • User says "ulw", "ultrawork", or wants parallel execution
  • You need to delegate work to multiple agents at once
  • Task benefits from concurrent execution but the user will manage completion themselves </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 (autopilot includes ralph which includes ultrawork)
  • There is only one sequential task with no parallelism opportunity -- delegate directly to an executor agent
  • User needs session persistence for resume -- use ralph which adds persistence on top of ultrawork </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>

  • Fire all independent agent calls simultaneously -- never serialize independent work
  • Always pass the model parameter explicitly when delegating
  • Read docs/shared/agent-tiers.md before first delegation for agent selection guidance
  • Use run_in_background: true for operations over ~30 seconds (installs, builds, tests)
  • Run quick commands (git status, file reads, simple checks) in the foreground </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**: - Simple lookups/definitions: LOW tier - Standard implementation: STANDARD tier - Complex analysis/refactoring: THOROUGH tier 4. **Fire independent tasks simultaneously**: Launch all parallel-safe tasks at once 5. **Run dependent tasks sequentially**: Wait for prerequisites before launching dependent work 6. **Background long operations**: Builds, installs, and test suites use `run_in_background: true` 7. **Verify when all tasks complete** (lightweight): - Build/typecheck passes - Affected tests pass - No new errors introduced </Steps>

<Tool_Usage>

  • Use LOW-tier delegation for simple changes
  • Use STANDARD-tier delegation for standard work
  • Use THOROUGH-tier delegation for complex work
  • Use run_in_background: true for package installs, builds, and test suites
  • Use foreground execution for quick status checks and file operations </Tool_Usage>

State Management

Use omx_state MCP tools for ultrawork lifecycle state.

  • On start: state_write({mode: "ultrawork", active: true, reinforcement_count: 1, started_at: "<now>"})
  • On each reinforcement/loop step: state_write({mode: "ultrawork", reinforcement_count: <current>})
  • On completion: state_write({mode: "ultrawork", active: false})
  • On cancellation/cleanup: run $cancel (which should call state_clear(mode="ultrawork"))
<Examples> <Good> Three independent tasks fired simultaneously: ``` delegate(role="executor", tier="LOW", task="Add missing type export for Config interface") delegate(role="executor", tier="STANDARD", task="Implement the /api/users endpoint with validation") delegate(role="test-engineer", tier="STANDARD", task="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: ``` delegate(role="executor", tier="STANDARD", task="npm install && npm run build", run_in_background=true) delegate(role="writer", tier="LOW", task="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 = delegate(executor, LOW, "Add type export") # wait... result2 = delegate(executor, STANDARD, "Implement endpoint") # wait... result3 = delegate(test-engineer, STANDARD, "Add tests") # wait... ``` Why bad: These tasks are independent. Running them sequentially wastes time. </Bad><Bad> Wrong tier selection: ``` delegate(role="executor", tier="THOROUGH", task="Add a missing semicolon") ``` Why bad: THOROUGH tier is expensive overkill for a trivial fix. Use LOW-tier execution instead. </Bad> </Examples>

<Escalation_And_Stop_Conditions>

  • When ultrawork is invoked directly (not via ralph), apply lightweight verification only -- build passes, tests pass, no new errors
  • For full persistence and comprehensive architect verification, recommend switching to ralph mode
  • If a task fails repeatedly across retries, report the issue rather than retrying indefinitely
  • Escalate to the user when tasks have unclear dependencies or conflicting requirements </Escalation_And_Stop_Conditions>

<Final_Checklist>

  • All parallel tasks completed
  • Build/typecheck passes
  • Affected tests pass
  • No new errors introduced </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>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.