Agent Skills
› yc-software/qm
› hand-off
hand-off
GitHub当任务需他人专属凭据或记忆且Agent无法自主完成时,通过API发送DM移交工作。仅适用于隔离场景,开放姿态下应自行处理。
Trigger Scenarios
需要他人专属登录凭证、密钥、文件或上下文记忆
Agent被标记为隔离模式且无法使用共享服务
Install
npx skills add yc-software/qm --skill hand-off -g -y
SKILL.md
Frontmatter
{
"name": "hand-off",
"description": "Get work done that needs another person's own logins, files or memory. Decide whether to just do it yourself, and if not, ask that person by DM with the full request."
}
Hand work to another person
First, can you do it yourself?
- Open posture (your prompt has
## Sharing posture: Open): do the work yourself with the requester's own logins. Don't hand it off. - Isolated: hand off only when the work needs that person's own logins, keys, files or memory.
Shared services and org credentials don't need a hand-off. If you only need one of their
credentials, use the
request-accessskill instead.
Ask them by DM
curl -fsS -X POST "$AGENT_API_URL/v1/reach" \
-H "x-agent-capability: $AGENT_API_TOKEN" -H 'content-type: application/json' \
-d '{"recipient":"<their name or Slack id>","text":"<the full request>"}'
- They haven't seen this conversation. Write out the whole request: what's needed and why.
- Start the DM with the source channel name and a permalink to the originating thread, and ask them to reply there (or DM the requester if they can't post there).
- One DM to that person. Never post the request in a channel.
Then
- Say you messaged someone only after reach returns
ok: true, and name the person it matched (recipient.displayName). If it failed or matched the wrong person, say that instead. - Don't wait or poll for their reply.
Version History
- 6803edb Current 2026-10-18 18:21


