← Back to Skills Marketplace
nerua1

Ultrawork — Parallel AI Task Execution

by nerua1 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
81
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install nerua1-ultrawork
Description
Runs multiple independent tasks simultaneously by routing each to an appropriate AI model tier for faster parallel execution and combined results.
README (SKILL.md)

Ultrawork Skill for OpenClaw

Parallel execution engine that runs multiple agents simultaneously for independent tasks. Speed through parallelism.

What It Does

Ultrawork is a parallelism layer:

  • Takes multiple independent tasks
  • Fires them all at once (not sequentially)
  • Routes each to appropriate model/tier
  • Waits for all to complete
  • Returns combined results

Why wait in line when you can use all lanes?

Usage

# Multiple independent tasks
/ultrawork "add types to auth.ts" "fix bug in utils.ts" "update README"

# With explicit count
/ultrawork 3 "task1" "task2" "task3"

# Parallel file processing
/ultrawork "analyze src/*.ts" "generate docs" "run tests"

Or say: "ulw", "ultrawork", "run in parallel", "do these at once"

When to Use

Use Ultrawork when:

  • Multiple independent tasks can run simultaneously
  • Tasks don't depend on each other
  • You want to reduce total execution time
  • You need to delegate to multiple agents at once

Don't use Ultrawork when:

  • Tasks have dependencies (B needs A to finish)
  • Only one sequential task
  • You need guaranteed completion with verification → use /ralph
  • You want full autonomous pipeline → use higher-level skill

How It Works

Parallel Execution Model

Sequential (slow):          Parallel (fast):
┌─────────┐                 ┌─────────┐
│ Task A  │ ──10s──>        │ Task A  │ ──┐
├─────────┤                 ├─────────┤   │
│ Task B  │ ──10s──>        │ Task B  │ ──┼──10s──> Done
├─────────┤                 ├─────────┤   │
│ Task C  │ ──10s──>        │ Task C  │ ──┘
└─────────┘                 └─────────┘
Total: 30s                  Total: 10s

Execution Flow

1. PARSE TASKS
   ↓
2. CLASSIFY INDEPENDENCE
   ↓
3. ROUTE TO TIERS
   - Simple → LOW tier (fast, cheap)
   - Standard → STANDARD tier
   - Complex → THOROUGH tier (slow, expensive)
   ↓
4. FIRE ALL AT ONCE
   - Spawn subagents in parallel
   - No waiting between spawns
   ↓
5. WAIT FOR COMPLETION
   - All tasks finish
   - Collect results
   ↓
6. VERIFY
   - Build passes
   - No new errors
   ↓
7. RETURN RESULTS

Tier Routing

Ultrawork routes tasks to appropriate tiers:

Tier Model Use For Cost Speed
LOW qwen3-coder Simple lookups, type exports $ ⚡ Fast
STANDARD qwen3.5-35b Normal implementation $$ 🚀 Normal
THOROUGH kimi-k2.5 Complex analysis, security $$$ 🐢 Slow

Tier Selection Examples

# LOW tier - trivial tasks
/ultrawork "add export type Config" "fix typo in comment"

# STANDARD tier - normal work  
/ultrawork "implement caching layer" "add error handling"

# THOROUGH tier - complex work
/ultrawork "refactor auth to OAuth2" "debug race condition"

Implementation

#!/bin/bash
# \x3Cworkspace>/skills/ultrawork/ultrawork.sh

# Parse tasks from arguments
TASKS=("$@")
NUM_TASKS=${#TASKS[@]}

echo "=== ULTRAWORK: Parallel Execution ==="
echo "Tasks: $NUM_TASKS"
echo ""

# Create temp directory for results
RESULTS_DIR=$(mktemp -d)
trap "rm -rf $RESULTS_DIR" EXIT

# Function to execute task in background
execute_task() {
  local task_id=$1
  local task_desc=$2
  local output_file="$RESULTS_DIR/task-$task_id.json"
  
  # Determine tier based on task complexity
  local tier="STANDARD"
  local model="lmstudio/qwen3.5-35b-a3b-uncensored-hauhaucs-aggressive"
  
  if [[ "$task_desc" =~ (simple|lookup|typo|export|add type) ]]; then
    tier="LOW"
    model="lmstudio/qwen3-coder-30b-a3b-instruct-mlx"
  elif [[ "$task_desc" =~ (complex|refactor|security|architect|debug.*race) ]]; then
    tier="THOROUGH"
    model="moonshot/kimi-k2.5"
  fi
  
  echo "  [Task $task_id] Tier: $tier | Model: $model"
  
  # Spawn subagent for task
  openclaw sessions spawn \
    --task "$task_desc" \
    --model "$model" \
    --runtime subagent \
    --mode run \
    --output "$output_file" \
    2>/dev/null &
  
  # Save PID
  echo $! > "$RESULTS_DIR/task-$task_id.pid"
}

# Fire all tasks simultaneously
echo "Launching tasks..."
for i in "${!TASKS[@]}"; do
  task_id=$((i + 1))
  execute_task "$task_id" "${TASKS[$i]}"
done

echo ""
echo "Waiting for completion..."

# Wait for all background jobs
for pid_file in "$RESULTS_DIR"/*.pid; do
  if [[ -f "$pid_file" ]]; then
    pid=$(cat "$pid_file")
    wait $pid 2>/dev/null || true
  fi
done

echo ""
echo "=== Results ==="

# Collect and display results
SUCCESS_COUNT=0
FAIL_COUNT=0

for result_file in "$RESULTS_DIR"/task-*.json; do
  if [[ -f "$result_file" ]]; then
    task_id=$(basename "$result_file" | sed 's/task-//' | sed 's/.json//')
    
    # Check if result exists and parse
    if [[ -s "$result_file" ]]; then
      echo "  [Task $task_id] ✅ Complete"
      SUCCESS_COUNT=$((SUCCESS_COUNT + 1))
    else
      echo "  [Task $task_id] ❌ Failed"
      FAIL_COUNT=$((FAIL_COUNT + 1))
    fi
  fi
done

echo ""
echo "Summary: $SUCCESS_COUNT succeeded, $FAIL_COUNT failed"

# Lightweight verification
echo ""
echo "Verifying..."

# Check build if applicable
if [[ -f "package.json" ]]; then
  if npm run build > /dev/null 2>&1; then
    echo "✅ Build passes"
  else
    echo "⚠️  Build has errors"
  fi
fi

# Check for new errors
if [[ -f "package.json" ]]; then
  if npm test > /dev/null 2>&1; then
    echo "✅ Tests pass"
  else
    echo "⚠️  Tests have failures"
  fi
fi

echo ""
echo "=== ULTRAWORK: Complete ==="

Integration with OpenClaw

Add to AGENTS.md:

## Parallel Execution

When you have multiple independent tasks:

Use `/ultrawork "task1" "task2" "task3"` to run them in parallel.

Ultrawork will:
- Route each task to appropriate tier
- Fire all simultaneously
- Collect results
- Verify nothing broke

Faster than sequential execution for independent work.

Examples

Good Parallel Tasks

# Independent file changes
/ultrawork "add types to auth.ts" "fix bug in utils.ts" "update README"

# Parallel analysis
/ultrawork "analyze performance" "check security" "review accessibility"

# Batch processing
/ultrawork "process file1" "process file2" "process file3"

Bad Parallel Tasks (Dependencies)

# DON'T - Task B needs Task A
/ultrawork "create database schema" "add API endpoints using schema"

# DO - Sequential instead
/ralph "create database schema, then add API endpoints"

Performance

Scenario Sequential Ultrawork Speedup
3 simple tasks 30s 10s 3x
5 type fixes 50s 12s 4x
2 complex refactors 10min 6min 1.6x

Relationship to Other Skills

ralph (persistence wrapper)
 └─ includes: ultrawork (parallel execution)
     └─ provides: parallelism only

autopilot (full autonomous)
 └─ includes: ralph
     └─ includes: ultrawork

Use directly:
- ultrawork → just parallelism
- ralph → parallelism + persistence + verification
- autopilot → full pipeline

Stop Conditions

Ultrawork stops when:

  • ✅ All parallel tasks complete
  • ❌ User says "cancel"
  • ⚠️ Critical failure in any task (optional)

Output Format

=== ULTRAWORK: Parallel Execution ===
Tasks: 3

Launching tasks...
  [Task 1] Tier: LOW | Model: qwen3-coder
  [Task 2] Tier: STANDARD | Model: qwen3.5-35b
  [Task 3] Tier: LOW | Model: qwen3-coder

Waiting for completion...

=== Results ===
  [Task 1] ✅ Complete
  [Task 2] ✅ Complete
  [Task 3] ✅ Complete

Summary: 3 succeeded, 0 failed

Verifying...
✅ Build passes
✅ Tests pass

=== ULTRAWORK: Complete ===

Dependencies

  • openclaw CLI with subagent support
  • Background job support (&, wait)
  • Standard POSIX tools

Version History

  • 1.0.0: Initial implementation based on oh-my-codex ultrawork skill

If this saved you time: ☕ PayPal.me/nerudek GitHub: github.com/nerua1

Usage Guidance
Review this skill before installing if you would not want multiple agents modifying or inspecting the same workspace at once. Use it on isolated branches, with a small number of independent tasks, and verify all resulting changes manually.
Capability Analysis
Type: OpenClaw Skill Name: nerua1-ultrawork Version: 1.0.1 The 'ultrawork' skill is a parallel execution utility for the OpenClaw agent, designed to run multiple tasks simultaneously using background processes and PID tracking. The implementation in SKILL.md uses standard bash practices, including temporary directory management with cleanup traps and quoted variable handling to prevent basic shell injection. While it references specific 'uncensored' models and executes local build/test commands (npm run build/test) for verification, these actions are consistent with its stated purpose as a developer productivity tool and do not exhibit signs of malicious intent or data exfiltration.
Capability Assessment
Purpose & Capability
The parallel-execution purpose is coherent, but the described implementation delegates arbitrary tasks to multiple run-mode subagents in the same workspace, which is high-impact unless tightly scoped.
Instruction Scope
The instructions emphasize firing all tasks at once and do not define a concurrency cap, workspace isolation, rollback plan, or approval checkpoint before subagents act.
Install Mechanism
The registry says this is instruction-only with no install spec, while SKILL.md describes a shell implementation and commands such as openclaw sessions spawn and npm; users should treat the runnable behavior as documentation rather than reviewed packaged code.
Credentials
Running build and test commands is purpose-aligned verification, but project npm scripts can execute arbitrary local commands in the user’s workspace.
Persistence & Privilege
The subagents are launched as background processes but are waited on, so there is no clear hidden persistence; the optional AGENTS.md integration would persist future routing instructions.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nerua1-ultrawork
  3. After installation, invoke the skill by name or use /nerua1-ultrawork
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- SKILL.md implementation code block updated: script path changed from `~/.openclaw/skills/ultrawork/ultrawork.sh` to `<workspace>/skills/ultrawork/ultrawork.sh`. - No other content or behavior changes. Documentation and examples remain the same.
v1.0.0
- Initial release of Ultrawork: a parallel execution engine for OpenClaw, enabling multiple tasks to run simultaneously. - Provides real PID-based process tracking for robust and reliable parallel execution. - Automatically classifies tasks, routes each to the appropriate model/tier, and launches all tasks in parallel using subagent sessions. - Waits for completion, collects results, summarizes successes/failures, and performs lightweight verification (e.g. build/tests). - Useful for independent tasks to reduce total execution time; not suited for dependent/sequential workflows.
Metadata
Slug nerua1-ultrawork
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Ultrawork — Parallel AI Task Execution?

Runs multiple independent tasks simultaneously by routing each to an appropriate AI model tier for faster parallel execution and combined results. It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.

How do I install Ultrawork — Parallel AI Task Execution?

Run "/install nerua1-ultrawork" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ultrawork — Parallel AI Task Execution free?

Yes, Ultrawork — Parallel AI Task Execution is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ultrawork — Parallel AI Task Execution support?

Ultrawork — Parallel AI Task Execution is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ultrawork — Parallel AI Task Execution?

It is built and maintained by nerua1 (@nerua1); the current version is v1.0.1.

💬 Comments