All skills
mattpocock avatar

/claude-handoff

@3216582 official
by Matt Pocockmattpocock/skills274k stars
22,991

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

Use this Skill: https://skilld.dev/gh/mattpocock/skills/claude-handoff

This session only. Nothing lands on disk.

SKILL.md

≈28 tokens always: the name and description. ≈268 when used: this file. ≈36 more on demand in 1 file.

Write a handoff summary of the current conversation so a fresh agent can continue the work. Instead of saving it, launch a background agent seeded with the summary as its prompt: claude --bg --name "<descriptive name>" "<handoff 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.

Source: SKILL.md on GitHub

1 warning1mo3 checks · Risk MEDIUM
  • Gen Agent Trust Hub1mo

    This skill facilitates handing off work to a background process by generating and executing a shell command. It is susceptible to command injection if user inputs are not properly sanitized before being passed to the shell. Additionally, it creates an attack surface for indirect prompt injection where a malicious handoff summary could compromise the next agent's session.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 3216582. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last month
argument-hint
What will the next session be used for?
disable-model-invocation
true

README badge

README badge for mattpocock/skills/claude-handoff