ClaudeCodeMod

All shelves / Skills

claude-handoff

mattpocock/skills · 500.6k installs · 309K stars

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

Marked Indirect Prompt Injection · Command Execution · Data Exfiltration

Install

In your shell
npx -y skills add mattpocock/skills --skill claude-handoff --agent claude-code

Run in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.

Open the repo

Files

SKILL.md

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.

Facts

Kind
Skill
Repo
mattpocock/skills
Group
Uncategorized
Installs
500.6k
Stars
309K

Same name on this shelf 1

  1. 7659claude-handoffvinvcn/mattpocock-skills-zh-cn3k

Same repo on other shelves

Plugins

  1. 1mattpocock-skillsclaude-plugins-officialMatt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.330.7k

From the same repo

  1. 195setup-ts-deep-modulesmattpocock/skills445.4k
  2. 275to-prdmattpocock/skillsTurn the current conversation context into a PRD and submit it as a GitHub issue. Use when user wants to create a PRD from the current context.351.6k
  3. 279to-issuesmattpocock/skillsBreak a plan, spec, or PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.339.1k
  4. 287writing-great-skillsmattpocock/skillsReference for writing and editing skills well — the vocabulary and principles that make a skill predictable.306.6k
  5. 323diagnosemattpocock/skillsDisciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.227.6k
  6. 326write-a-skillmattpocock/skillsCreate new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.219.7k