跳到主要内容
知仓学习社ZHICANG

hermes-ephemeral-delegation

Trigger: broad exploration, multi-file reads, tests/builds, fresh review, or multi-step debug. Orchestrate complex work via delegate_task to protect…

不碰外部(只输出文字)无严重或高危命中Gentleman-Programming/gentle-ai

它会碰到什么

扫了多少2 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Activation Contract

Load this skill when you are acting as the parent orchestrator and the work ahead falls into any of these categories:

  • Broad exploration (4+ files to understand, codebase mapping, approach comparison)
  • Multi-file implementation (touching 2+ non-trivial files)
  • Test or build execution
  • Fresh adversarial review (diffs, PR readiness, incident audit)
  • 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_task for all complex work listed above. Do NOT execute it inline.
  • Workers are EPHEMERAL: each delegate_task call 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 to read 4+ files to understand | Delegate a narrow exploration worker |

| Need to write 2+ non-trivial files | Delegate a single writer with the full mission |

| Need to run tests or builds | Delegate an executor; do not run inline |

| 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 |

| Simple 1-file edit you already understand | Do it inline; no delegation needed |

| Quick git/state check | Do it inline; no delegation needed |

Execution Steps

  1. Identify which gate applies. If none applies, skip delegation.
  2. 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, test runner, budget)
  • Expected evidence to return (e.g., file written, test output, URL found)
  • Allowed toolsets/MCP/skills the worker should use
  • Any SKILL.md paths to load before work
  1. Call delegate_task with that mission.
  2. Wait for the worker summary.
  3. Verify the claimed output (check file existence, test result, side effect).
  4. 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](references/tuning-knobs.md) — Full table of delegate_task configuration parameters and the explicit toolset/MCP/skill checklist for worker missions.
  • [../../hermes/sdd-orchestrator.md](../../hermes/sdd-orchestrator.md) — SDD orchestrator protocol that uses this delegation standard for SDD phase work.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 6,884
本站分层T1
该仓技能数37
原文件路径internal/assets/skills/hermes-ephemeral-delegation/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 37 个技能