用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/s-hiraoku/agent-handoff --skill agent-handoff命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | agent-handoff |
| description | Use handoff to communicate with other coding agents, pass context, and start background agent tasks. |
Use this skill when the user wants to send information to another coding agent, check messages from other agents, hand off context, or run a background task through handoff.
handoff binary must be installed and available on PATH.@alias address with handoff session alias <alias> when it needs to receive messages.handoff profile create <profile> --runtime <runtime>; built-in runtimes include claude-code, codex, copilot, and shell.handoff profile create <profile> --global --runtime <runtime> for reusable user-global profiles. Project profiles with the same name take precedence.Check identity:
handoff whoami
handoff active
handoff sessions
Check inbox before starting coordinated work:
handoff inbox
Preview inbox without consuming unread messages:
handoff inbox --peek
Send a concise message:
handoff to @<alias> "message"
Send command output:
some-command 2>&1 | handoff to @<alias> --stdin --subject "command output"
Create context:
handoff context create --git-diff
handoff context create --file <path>
handoff context create --cmd "command"
Send context:
handoff to @<alias> --context <context-id> --message "Use this context."
handoff to @<alias> --git-diff --message "Review this diff."
handoff to @<alias> --file <path> --as-context --message "Use this file as context."
Route by capability:
handoff profile set reviewer session=@reviewer capability=review
handoff route --capability review "message"
Run background work:
handoff delegate <profile> --task "task text" --context <context-id> --wait
handoff delegate <profile> --stdin --task "review this context" --wait
handoff run <profile> --task "task text" --context <context-id>
handoff run <profile> --task "task text" --timeout 30
handoff doctor
handoff status <job-id>
handoff logs <job-id>
handoff result <job-id>
--json when parsing command output programmatically.HANDOFF_PROJECT or pass the MCP tool project argument so sessions and profiles resolve against the intended repository.@alias for live session inbox delivery. Use bare profile names for handoff delegate and handoff run.handoff to @alias ...; handoff to alias ... is ambiguous.handoff route --capability <capability> ... only after profiles are linked with handoff profile set <profile> session=@alias capability=....handoff inbox stream is running before handling handoff subcommands. If it is not running and the project is configured for monitor delivery, invoke the persistent monitor --runtime ... --project ... --session-id ... command printed by handoff monitor --instruction --runtime claude-code.handoff context create for large diffs, files, or command output.handoff delegate --wait when you need a synchronous sub-agent style result.handoff reply <thread-id> when responding to an existing handoff.handoff notify to consume daemon notification files, handoff daemon to write them, or handoff mode monitor --runtime claude-code when the host supports persistent Monitor streams.handoff inbox --peek when checking whether work exists without marking messages read.handoff status and handoff logs.blocked, report the adapter/runtime limitation clearly.handoff sessions
handoff profile list
handoff profile list --global
handoff history
handoff context list
handoff status
handoff doctor
基于 SOC 职业分类