Skip to content
Skill

Handoff

Condenses a conversation into handoff and context files for the next agent

Handoff is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Handoff

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (5 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

gemini skills install https://github.com/oneafrikan/the-grid.git --path skills/handoff

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Handoff 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.

More from oneafrikan/the-grid

  1. Turns a business goal into funded bets, budgets, kill conditions and release gates

    • Open source
    • 5 GitHub stars
    • Productivity
  2. Runs hypothesis-driven funnel experiments to move a growth metric, one variable at a time

    • Open source
    • 5 GitHub stars
    • Marketing and SEO
  3. Coordinates a multi-step dev team: writes PRDs, makes architecture calls, reviews output

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Splits small fixes across specialist agents, merges them, then runs independent QA

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Lists open GitHub issues grouped by the repo's own severity labels, highest first

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Guides you through using the-grid: which commands, agents and factories to reach for

    • Open source
    • 5 GitHub stars
    • Developer tools