# Handoff

> Handoff is an open-source agent skill for developer tools. Condenses a conversation into handoff and context files for the next 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/oneafrikan/the-grid/tree/main/skills/handoff
- **Repository:** https://github.com/oneafrikan/the-grid
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** handoff
- **Collection:** https://github.com/oneafrikan/the-grid
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill turns the current session into two markdown documents: a handoff file that a fresh agent can use to pick up the work, and a context file that records what was investigated, the decisions made and their reasoning, known bugs, open questions and immediate next steps. Both files are filled in from fixed templates kept alongside the skill, so the structure stays consistent between sessions.

The skill names files by date, machine hostname and a short topic slug, and saves them into a LOGS folder at the project root. It avoids repeating material already captured in commits, diffs, plans or decision records and links to those instead. If the user supplies a focus for the next session, the handoff is tailored to it and suggests relevant skills.

When the project is a git repository, the skill commits the two files by explicit path and pushes the current branch, leaving the commit local if there is no remote or the push fails. It relies on a shell environment with git and the hostname command.

## 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/oneafrikan/the-grid/tree/HEAD/skills/handoff)
- [License: MIT](https://github.com/oneafrikan/the-grid/tree/HEAD/skills/handoff)

## Features

- **Handoff document:** Writes a summary of the session so a fresh agent can continue the work.
- **Context file:** Records investigations, decisions, reasoning, known bugs and open questions.
- **Templated structure:** Fills in template files from the skill folder rather than inventing a layout.
- **Dated, named files:** Names outputs by date, machine hostname and topic slug.
- **Focused next session:** Tailors the handoff to a focus given as an argument and suggests relevant skills.
- **Git commit and push:** Commits the two files by explicit path and pushes the current branch.

## Good for

- Hand off an unfinished debugging session to another agent
- Summarise today's investigation and decisions into a log file
- Prepare a context file before ending a long working session
- Write next-step notes focused on a specific upcoming task

## 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/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/handoff &&
cp -R "$tmp/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/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/handoff &&
cp -R "$tmp/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/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/handoff &&
cp -R "$tmp/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/oneafrikan/the-grid.git --path 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/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/handoff &&
cp -R "$tmp/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/oneafrikan/the-grid.git
```

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

## FAQ

### Where are the handoff files saved?

In the LOGS folder of the project root, or the git repo root if the session runs inside a repository. If a logs folder already exists in any casing, the files go there.

### What do the file names look like?

They follow YYYY-MM-DD-<machine>-<slug>-handoff.md and YYYY-MM-DD-<machine>-<slug>-context.md, where the machine comes from hostname -s.

### Does Handoff push changes automatically?

If the project is a git repo, it commits only the two handoff files by path and pushes the current branch. If there is no remote or the push fails, the commit stays local.

### Does Handoff need any scripts or extra tools?

The skill has no scripts of its own. It uses git and the hostname command during the run.

### 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, Multi agent handoff, Session send, Nemo rl session memory and Shiplog.

## Where this comes from

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

## Alternatives

- [Handoff](https://ai-powered.com/skills/handoff-berkcangumusisik): Handoff is an open-source agent skill for productivity.
- [Multi agent handoff](https://ai-powered.com/skills/multi-agent-handoff): Multi agent handoff is an open-source agent skill for developer tools.
- [Session send](https://ai-powered.com/skills/session-send-chachamaru127): Session send is an open-source agent skill for developer tools.
- [Nemo rl session memory](https://ai-powered.com/skills/nemo-rl-session-memory): Nemo rl session memory is an open-source agent skill for knowledge and memory.
- [Shiplog](https://ai-powered.com/skills/shiplog-devallibus): Shiplog is an open-source agent skill for developer tools.
- [Conventions](https://ai-powered.com/skills/conventions-xiaolai): Conventions is an open-source agent skill for developer tools.
- [Context strategy](https://ai-powered.com/skills/context-strategy): Context strategy is an open-source agent skill for developer tools.
- [Dynamic workflow mode](https://ai-powered.com/skills/dynamic-workflow-mode): Dynamic workflow mode is an open-source agent skill for developer tools.

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