SuperAPI AI Directory

claude-handoff

Agents & models

View repository

Updated 10-16 06:52

About this skill

Write a handoff summary for the current conversation so that a brand-new agent can continue the work. First save the summary to the user's operating system temporary directory, then start a background agent using the file contents as the prompt:claude --bg --name "<描述性名称>" -- "$(cat <summary file>)". Passing the summary in via a file avoids the shell executing backticks or expanding $. It starts in the current working directory and returns immediately; the user manages it via claude agents .

Be sure to pass -n/--name along with a descriptive name (for example --name "修复登录 bug"): it will be set as the label shown in the task list, the session selector, and the terminal title.

Add a "suggested skills" section to the summary, suggesting which skills the next agent should invoke.

Do not repeat content that is already recorded in other artifacts (specs, plans, ADRs, issues, commits, diffs). When referencing, use a path or URL.

Scrub any sensitive information, such as API keys, passwords, or personally identifiable information: the summary will become the agent's prompt.

If the user passed in arguments, treat them as a description of the next session's focus and tailor the summary accordingly.