# Handoff

> Handoff is an open-source agent skill for developer tools. Condenses the current conversation into a handoff document for a fresh agent. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/javimosch/supercli/tree/master/.agents/skills/handoff
- **Repository:** https://github.com/javimosch/supercli
- **GitHub stars:** 58
- **License:** MIT
- **Skill name:** handoff
- **Collection:** https://github.com/javimosch/supercli
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-05

## About

This skill tells the agent to summarise the ongoing conversation into a compact handoff file so another agent session can pick up the work without the full history. The document is written to a temporary file created with mktemp, and the agent is asked to read that file before writing to it.

The skill also asks the agent to suggest which other skills the next session should use. It avoids repeating material that already lives elsewhere, such as PRDs, plans, ADRs, issues, commits or diffs, and points to those by path or URL instead. If the user supplies an argument describing the next session's focus, the document is tailored to that goal.

No scripts or extra files are bundled; the workflow relies on the agent's own tools and the conversation context.

## When your agent uses it

> Compact the current conversation into a handoff document for another agent to pick up.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/javimosch/supercli/tree/HEAD/.agents/skills/handoff)
- [License: MIT](https://github.com/javimosch/supercli/tree/HEAD/.agents/skills/handoff)

## Features

- **Conversation summary:** Condenses the current session into a compact document a new agent can read.
- **Temporary file output:** Saves the handoff to a file created with mktemp in a temporary location.
- **Reference over duplication:** Links to existing PRDs, plans, issues, commits and diffs rather than copying them.
- **Next-session skill suggestions:** Recommends which skills the following session should load.
- **Focus-aware tailoring:** Adjusts the document to a focus description passed as an argument.

## Good for

- Hand off an unfinished coding task to a fresh agent session
- Summarise a long debugging session so someone else can continue it
- Prepare a context document before clearing the conversation
- Pass work to another agent with a stated focus for the next session

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/handoff` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/handoff &&
cp -R "$tmp/.agents/skills/handoff" ~/.claude/skills/handoff &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/handoff` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/handoff` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/handoff &&
cp -R "$tmp/.agents/skills/handoff" ~/.agents/skills/handoff &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/handoff` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/handoff` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/handoff &&
cp -R "$tmp/.agents/skills/handoff" ~/.cursor/skills/handoff &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/handoff` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/javimosch/supercli.git --path .agents/skills/handoff
```

Or copy the folder to `~/.gemini/skills/handoff` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/handoff`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/javimosch/supercli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/handoff &&
cp -R "$tmp/.agents/skills/handoff" ~/.copilot/skills/handoff &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/handoff` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/javimosch/supercli.git
```

Then copy `supercli/.agents/skills/handoff` into your agent's skills folder as `handoff`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It has no scripts or bundled files. It uses the agent's ability to run mktemp and to read and write files, and it works from the current conversation.

### Where is the handoff saved?

To a path produced by mktemp -t handoff-XXXXXX.md, so each run writes to a new temporary file.

### Does it copy existing documents into the handoff?

No. It is instructed to reference PRDs, plans, ADRs, issues, commits and diffs by path or URL instead of duplicating them.

### Can I tell Handoff what the next session is for?

Yes. Passing an argument describes the next session's focus, and the document is tailored to it.

### How do I install Handoff in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/handoff to use it in all your projects, or to .claude/skills/handoff in one project.

### Does Handoff run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Handoff?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Handoff?

The closest alternatives to Handoff are Handoff, Handoff, Code handoff, Handoff and Handoff.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Handoff](https://ai-powered.com/skills/handoff-chicio): Handoff is an open-source agent skill for developer tools.
- [Handoff](https://ai-powered.com/skills/handoff-evist0): Handoff is an open-source agent skill for developer tools.
- [Code handoff](https://ai-powered.com/skills/code-handoff): Code handoff is an open-source agent skill for developer tools.
- [Handoff](https://ai-powered.com/skills/handoff-oneafrikan): Handoff is an open-source agent skill for developer tools.
- [Handoff](https://ai-powered.com/skills/handoff-berkcangumusisik): Handoff is an open-source agent skill for productivity.
- [Handoff](https://ai-powered.com/skills/handoff-chrisalehman): Handoff is an open-source agent skill for developer tools.
- [Handoff](https://ai-powered.com/skills/handoff-prathamdby): Handoff is an open-source agent skill for developer tools.
- [Context manager](https://ai-powered.com/skills/context-manager): Context manager is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/handoff-javimosch
