跳到正文
Skillpedia
智能体310k · #113

claude-handoff

它能做什么

它撰写对话摘要,并启动一个新的后台智能体来继续工作。它适合使用 Claude Code、希望把任务交出去、同时在别处继续推进的人。

适用场景

  • ✓一段长对话变得冗重,你想重新开始的时候。
  • ✓你希望后台智能体在你做其他事情时继续工作的时候。
  • ✓你想把一项任务连同完整上下文交给新会话的时候。

技能链接

https://github.com/mattpocock/skills/blob/main/skills/in-progress/claude-handoff/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mattpocock/skills/blob/main/skills/in-progress/claude-handoff/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这段对话交给一个后台智能体,让它继续处理登录错误。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体把交接摘要保存到一个临时文件中,去除敏感细节,然后启动一个已命名的后台会话,并以该摘要作为其起始提示。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Write a handoff summary of the current conversation so a fresh agent can continue the work. Save it to the temporary directory of the user's OS, then launch a background agent seeded with it as its prompt: claude --bg --name "<descriptive name>" -- "$(cat <summary file>)". Passing the file keeps the shell from running backticks or expanding $ in the summary. It starts in the current working directory and returns immediately; the user manages it with claude agents.

Always pass -n/--name with a descriptive name (e.g. --name "Fix login bug"); it sets the display name shown in the job list, session picker, and terminal title.

Include a "suggested skills" section in the summary, naming which skills the next agent should call the Skill tool for.

Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

Redact any sensitive information, such as API keys, passwords, or personally identifiable information, since the summary becomes the agent's prompt.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the summary accordingly.

常见问题

我如何查看后台智能体的状态?

技能说明你可以使用 claude agents 命令来管理它。

摘要中会包含机密信息吗?

技能要求在交接之前,去除 API 密钥和密码等敏感细节。

新智能体会重复旧文档的内容吗?

不会。它会通过路径或链接引用已有的需求说明、计划和提交,而不是复制它们。

详情

作者的原始描述

Hand the current conversation off to a fresh background agent that picks up the work immediately.

repo: mattpocock/skills

热度

GitHub 星标
310k
排名
#113
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能