hermes-ephemeral-delegation
Skill này làm gì
Skill này cho AI của bạn biết khi nào một tác vụ đáng để giao cho một agent trợ giúp riêng thay vì tự làm. Dành cho người chạy các agent AI có thể giao việc.
Khi nào nên dùng
- ✓Khi một tác vụ cần khảo sát lớn về codebase trước khi có thể đưa ra quyết định.
- ✓Khi hai phần độc lập trở lên của một công việc có thể chạy cùng lúc.
- ✓Khi một thay đổi rủi ro cần một kiểm tra độc lập riêng hoặc một bước rà soát mới.
Liên kết skill
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/hermes-ephemeral-delegation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thay đổi này có rủi ro. Hãy nhờ một agent trợ giúp riêng kiểm chứng độc lập trước khi chúng ta hợp nhất.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đặt ra lý do rõ ràng để giao việc. Các trợ giúp bắt đầu với ngữ cảnh mới và nhận một nhiệm vụ tự đủ nghĩa, để agent chính giữ ngữ cảnh của nó tập trung.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Một trợ giúp có giữ bộ nhớ giữa các tác vụ không?
Không. Skill nói các trợ giúp là tạm thời, nên mỗi lần giao việc bắt đầu với ngữ cảnh mới.
Một công việc lớn có đủ lý do để giao không?
Không. Skill nói riêng số lượng file hoặc kích thước không phải lý do để giao việc.
Ai không nên tải skill này?
Một trợ giúp đang nằm trong một tác vụ được giao, vì nó là người thực thi chứ không phải điều phối viên.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 8.2k
- Vị trí xếp hạng
- #12552
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
branch-pr
8.2kGiúp agent của bạn chuẩn bị nhánh và pull request theo quy tắc đóng góp riêng của dự án đích, chứ không theo mẫu chung chung.
chained-pr
8.2kGiúp agent của bạn chia một thay đổi lớn hơn 400 dòng thành chuỗi pull request nhỏ hơn, dễ xem xét, mỗi cái đứng được một mình.
cognitive-doc-design
8.2kDạy agent của bạn viết hướng dẫn, README và đánh giá dễ quét và dễ nhớ, bằng cách nêu câu trả lời trước và nhóm các chi tiết lại.
comment-writer
8.2kGiúp agent của bạn viết bình luận ngắn gọn, ấm áp và trực tiếp cho pull request, đánh giá, trả lời issue và tin nhắn nhóm.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.