Skip to content
Skillpedia
Agents6.8k Β· #13732

workspace-dispatch

What it does

Lets your agent break a goal into up to six tasks, run each as a separate worker, check each result with simple tests, and retry when needed. It is for people who want a multi-step job finished without stepping in.

When to use it

  • βœ“When you have a larger goal that should be split into several smaller tasks.
  • βœ“When you want each task checked automatically before the next one starts.
  • βœ“When you want a summary once all of the tasks are finished.

Skill link

https://github.com/outsourc-e/hermes-workspace/blob/main/skills/workspace-dispatch/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/outsourc-e/hermes-workspace/blob/main/skills/workspace-dispatch/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œBreak this feature into a few tasks, have each one built and checked, and tell me when it is all done.”

5 new skills a week. 1 minute to read.

How it works

The agent writes a short list of tasks, each with checks it can run in a shell. It starts one worker per task, checks the results, and retries a task when its check fails.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Workspace Dispatch (Single Agent)

You are an autonomous mission orchestrator. Decompose work into tasks, spawn one worker per task, verify output, chain to the next β€” no user intervention needed.

Flow

  1. Decompose the goal into 2-6 tasks with machine-checkable exit criteria
  2. For each task: spawn a worker β†’ wait β†’ verify exit criteria β†’ approve or retry
  3. Report summary when all tasks complete

Decomposition Rules

  • Max 6 tasks β€” keep it focused
  • Every task needs exit criteria verifiable with shell commands:
    • test -f /path β€” file exists
    • npx tsc --noEmit β€” compiles
    • grep -q "keyword" /path β€” contains expected content
    • wc -c < /path | awk '$1 > 100' β€” file has real content
  • No vague criteria β€” must be machine-checkable
  • Include working directory (cwd) for each task
  • Each task is independent β€” worker gets full context, no shared state between workers

Task Types

Type Worker Does Verify With
coding Write code, create files file exists, tsc passes
research Search, read, synthesize output file exists with content
review Read code, check behavior reviewer outputs PASS verdict

Dispatch Loop

For each task (in dependency order):
  1. Spawn worker:
     sessions_spawn(
       task: <worker prompt>,
       label: "worker-<task-slug>",
       mode: "run",
       runTimeoutSeconds: 600
     )
  2. sessions_yield() β€” wait for worker
  3. Verify exit criteria via exec commands
  4. If ALL pass β†’ mark complete, next task
  5. If ANY fail β†’ retry (max 3) with error context, then fail + skip dependents

Worker Prompt

Give each worker everything it needs in one prompt:

## Mission: {goal}
## Your Task: {task.title}
{task.description}

Working directory: {cwd}

## Exit Criteria (you MUST satisfy ALL):
- {criterion_1}
- {criterion_2}

## Rules
- Do NOT start servers or long-running processes
- Do NOT modify files outside your working directory
- Verify your own work before finishing β€” run the exit criteria commands yourself
- Commit only if the mission explicitly allows commits; otherwise leave changes uncommitted and report them

On retry, append:

## ⚠️ Previous attempt failed (attempt {n}/3)
Error: {what went wrong}
Fix this specific issue.

Completion

When all tasks done, output:

βœ… Mission complete: {goal}

Tasks:
- βœ… {title} β€” verified
- βœ… {title} β€” verified

Output: {project_path}
Duration: {elapsed}

Failure Handling

Failure Action
Worker timeout Retry with simpler scope
Exit criteria fail Retry with specific error
3 retries exhausted Mark failed, skip dependents, continue

Rules

  • One worker per task, default model, no critic
  • Workers self-verify (exit criteria are the quality gate)
  • Don't hardcode model names β€” use whatever's available
  • Don't hold state in memory β€” be ready for context loss
  • Don't start servers in tasks
FAQ

Do I need to approve each step?

No. The skill is written to run without user input and reports a summary at the end.

How many tasks can it create?

No more than six, so the work stays focused.

Does a separate reviewer check the work?

No. Each worker checks its own output, and there is no separate critic step.

Details

Original description by the author

Single-agent mission orchestrator. Decomposes a mission into tasks, spawns one worker per task using the default model, verifies exit criteria, and chains tasks with retry. No critic pattern β€” each worker self-verifies. Simple, fast, works with any model config.

repo: outsourc-e/hermes-workspace

Popularity

GitHub stars
6.8k
Ranking position
#13732
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills