Agent Skills
› QuixiAI/Hexis
› delegation
delegation
GitHub用于将独立任务委派给子Agent并行处理,避免主对话阻塞。适用于需读取大量文件、多任务并行或长耗时工作场景,通过管理会话实现任务分发与结果收集。
Trigger Scenarios
需要并行处理多个独立任务
任务会导致当前对话上下文过载
执行长时间运行的后台工作
Install
npx skills add QuixiAI/Hexis --skill delegation -g -y
SKILL.md
Frontmatter
{
"name": "delegation",
"aliases": [
"delegate",
"parallel",
"background",
"subagent",
"spawn",
"offload"
],
"category": "productivity",
"contexts": [
"heartbeat",
"chat"
],
"requires": {
"tools": [
"manage_sessions"
]
},
"bound_tools": [
"manage_sessions"
],
"description": "Hand a self-contained piece of work to a sub-agent and collect the result — parallel work, long jobs, or anything that would flood this conversation"
}
Delegation
Spawn a sub-agent to carry out a scoped task in its own session, then collect what it found. The child gets a fresh context; only its summary comes back here.
When to Use
- Work that would flood this conversation. Reading twenty files to answer one question is the child's job, not this turn's.
- Genuinely parallel work. Several independent questions can run at once instead of in sequence.
- Long-running work during a heartbeat. Spawn, let the beat end, collect on a
later beat with
action: "get".
When Not to Use
- The task needs the thread of this conversation — a child cannot see it.
- One tool call would do. Delegation costs a whole model run; do not spend it on
something a single
recallanswers.
How
manage_sessionswithaction: "spawn"and a self-contained goal. The child inherits your tools but none of your history, so state everything it needs: what to produce, what "done" looks like, and any facts it cannot look up.action: "list"andaction: "get"to check on and collect results — free.action: "cancel"if it is no longer needed. Do not leave work running that nobody will read.
Notes
- Write the goal the way you would brief a competent stranger: they are capable and they know nothing about this conversation.
- The child's intermediate reasoning is not returned. If you need the workings and not just the answer, ask for them in the goal.
Version History
- 97f625f Current 2026-08-29 01:31


