hermes-ephemeral-delegation
できること
このスキルは、ある作業を自分でその場で行うのではなく、別のヘルパーエージェントに任せる価値があるのはいつかをAIに伝えます。作業を委任できるAIエージェントを動かしている人向けです。
使う場面
- ✓判断の前に、コードベースの大規模な調査が必要なタスクのとき。
- ✓一つの仕事の二つ以上の独立した部分を、同時に実行できるとき。
- ✓危険な変更に、別の独立した確認や新しいレビューが必要なとき。
スキルのリンク
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/hermes-ephemeral-delegation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この変更は危険です。マージする前に、別のヘルパーエージェントに独立して検証させてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、委任する明確な理由を定めます。ヘルパーは新しい文脈で始まり、自己完結した任務を受け取るため、メインのエージェントは自分の文脈に集中できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Activation Contract
Load this skill when you are acting as the parent orchestrator and the work ahead has a named reason to delegate:
- A map you need to decide or route that exceeds the inline evidence budget (codebase mapping, approach comparison); never to read files you will read anyway before writing inline
- A writer reason: 2+ independent units of behavior (code, tests, and docs together; each several minutes of work) launched together, or the context backstop; a large task alone is tracked, not delegated
- A high-risk change that needs an independent verifier, or a large task's long suites and builds
- Fresh adversarial review (diffs, PR readiness, incident audit); never restart it automatically for a candidate whose terminal
approvedauthority was already burned and that is unchanged since, unless a new independent review is deliberately requested - Multi-step debugging that would flood the parent context
Do NOT load this skill if you are already inside a delegated child task — you are the executor, not the orchestrator.
Hard Rules
- Use
delegate_taskonly for a named reason listed above. Without one, work inline following your logbook; file count, size, or a large task alone is never a reason. - Workers are EPHEMERAL: each
delegate_taskcall creates a fresh context. Do NOT request persistent agent files or profiles. - Pass a self-contained mission. Workers have no memory of the parent conversation.
- Treat worker output as self-report: verify file writes, test pass/fail, URLs, and IDs before reporting success to the user.
- Batch parallel calls only for INDEPENDENT workstreams. Sequential dependencies must run sequentially.
Decision Gates
| Situation | Action |
|---|---|
| Need a map to decide or route beyond the inline evidence budget | Delegate a narrow exploration worker |
| A large (tracked) task | Track it; delegate a writer only for a reason (parallel units or context) with the full mission |
| A small task's focused test and suite | Run inline, once each |
| A high-risk change or a large task's long suites | Delegate an executor |
| Need an adversarial review of a diff | Delegate a fresh-context reviewer |
| Multi-step debug that grows the context | Delegate a debug worker; feed results back inline |
| An understood change, even across files, with no named reason | Do it inline; no delegation needed |
| Quick git/state check | Do it inline; no delegation needed |
Execution Steps
- Identify which gate applies. If none applies, skip delegation.
- Draft a self-contained mission for the worker — include:
- Exact goal (one sentence)
- File paths or targets to act on
- Relevant prior context the worker needs (decisions, conventions, prior findings)
- Constraints (style, budget)
- For a writer: the applicable test-first policy and runner from
## Implementation Routing. Write one RED test per requested rule; for every existing command or option the change touches, add one test proving its previous behavior still holds; add no other cases; update help text and docs for any changed command, option, or message - For a verifier: the Verify handoff from the Delegated Verification Gate (the whole feature document, the baseline commit, the probe command forms, first-launch probes in a
mktemp -dscratch copy never inside the workspace, and its severity rules) - Expected evidence to return (e.g., file written, test output, URL found)
- Allowed toolsets/MCP/skills the worker should use
- Any
SKILL.mdpaths to load before work
- Call
delegate_taskwith that mission. - Wait for the worker summary.
- Verify the claimed output (check file existence, test result, side effect).
- Synthesize the verified result into your orchestrator reply.
Output Contract
After synthesizing worker results, return:
- What was delegated and to how many workers
- What each worker returned (verified, not just claimed)
- Any discrepancy between worker self-report and verified evidence
- Final answer or next step for the user
References
- references/tuning-knobs.md — Full table of
delegate_taskconfiguration parameters and the explicit toolset/MCP/skill checklist for worker missions.
よくある質問
ヘルパーはタスクの間でメモリを保持しますか?
いいえ。スキルによると、ヘルパーは一時的なものなので、委任された各呼び出しは新しい文脈で始まります。
大きなタスクだけで委任する理由になりますか?
いいえ。スキルは、ファイル数やサイズだけでは委任する理由にならないと述べています。
このスキルを読み込むべきでないのは誰ですか?
すでに委任されたタスクの中にあるヘルパーです。それは指揮者ではなく実行者だからです。
詳細
作者による元の説明
Trigger: a mapping need, parallel units, context backstop, high-risk verify, fresh review, or multi-step debug. Delegate via delegate_task for a named reason.
人気
- GitHubのスター
- 8.2k
- ランキング
- #12552
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
branch-pr
8.2k一般的なテンプレートではなく、送り先のプロジェクト自身の貢献のルールに従うブランチとプルリクエストを準備するよう、エージェントを支援します。
chained-pr
8.2k400行を超える大きな変更を、それぞれ単独で成立する、小さくレビューしやすいプルリクエストの連鎖に分割するよう、エージェントを支援します。
cognitive-doc-design
8.2k答えを先に示し、詳細をまとめることで、読み飛ばしやすく覚えやすいガイド、README、レビューを書くよう、エージェントに教えます。
comment-writer
8.2kプルリクエスト、レビュー、Issueへの返信、チームのチャットのメッセージのために、短く、温かく、率直なコメントを書くよう、エージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。