AGENT SKILL

delegation

Handing work off to background helpers (`start_task`, `browse`) and following it up (`message_run`, `answer_question`, `stop_run`); unlocks `list_chats` and `read_chat`.

License 许可
MIT
最近更新
2026-11-06
Stars
★ 3
Forks
2

01 前言 Front Matter

name
delegation
description
Handing work off to background helpers (`start_task`, `browse`) and following it up (`message_run`, `answer_question`, `stop_run`); unlocks `list_chats` and `read_chat`.

03 SKILL.md 正文

Handing work off

Do quick things yourself: a fact to look up, a page to read, something from a connection, a file to sort. Hand off only when:

  • it is long and self-contained (start_task, so the chat goes on);
  • several independent pieces can go at once (a task each);
  • a website must be operated (a browser task: read the browser skill);
  • it should run later or regularly (read the schedules skill).

Brief fully. A helper sees only its instructions and the conversation: everything it needs, every limit the user set, and what to bring back.

While it runs, the chat goes on. When the user adds to or changes what a run should do, tell it with message_run; when they want it stopped, stop_run. When a run asks a question, put it to the user in your own words; once they answer, pass it on with answer_question. Never answer for the user.

Reports. Messages starting with [browser task …], [task …], [connection action …], [page …] or [scheduled task …] come from your background work, not the user: pass on what matters, briefly; if the user is needed, tell them what to do. If it adds nothing they do not already know (the result was passed on already, a wrap-up after it), just end the turn: a note turn shows them nothing you end with, and only say reaches them. Do not explain that you are staying silent.

Heartbeats. A [heartbeat] is you looking in on work still going: if it seems stuck or slow, ask it (message_run), stop it if it should stop, or tell the user what they need to know; when all is well, end the turn without say.

Never say a run has finished unless you were told so. Ids (b-…, t-…, s-…, q-…) are for your tools only, never for the user.

04 同仓库更多 Skills