本文へスキップ
Skillpedia
エージェント6.8k · #13732

workspace-dispatch

できること

目標を最大6個のタスクに分け、それぞれを別のワーカーとして実行し、簡単なテストで各結果を確かめて、必要なら再試行させます。途中で口を出さずに、複数ステップの仕事を終えてほしい人向けです。

使う場面

  • ✓より大きな目標があり、いくつかの小さなタスクに分けたいとき。
  • ✓次のタスクに進む前に、各タスクを自動で確かめたいとき。
  • ✓すべてのタスクが終わったら、要約がほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/outsourc-e/hermes-workspace/blob/main/skills/workspace-dispatch/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この機能を数個のタスクに分け、それぞれを作って確かめてください。全部終わったら教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、短いタスクの一覧を書きます。各タスクには、シェルで実行できる確認項目が付きます。タスクごとにワーカーを1つ起動し、結果を確かめ、確認が失敗したタスクは再試行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

各ステップを承認する必要がありますか?

いいえ。スキルは利用者の入力なしで動くように作られており、最後に要約を報告します。

タスクはいくつ作られますか?

6個までです。作業を集中させるためです。

別のレビュアーが作業を確かめますか?

いいえ。各ワーカーが自分の出力を確かめます。別個の批評ステップはありません。

詳細

作者による元の説明

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

人気

GitHubのスター
6.8k
ランキング
#13732
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

似ているスキル