Agent skill

Handoff

by haacked in haacked/dotfiles

Write or resume a handoff document so the next agent session can pick up the current work.

No licenceAuto-check passedAgent Workflows

Install Handoff

skills CLI
$ npx skills add haacked/dotfiles --skill handoff -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install haacked/dotfiles handoff --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/haacked/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai/skills/handoff .claude/skills/handoff && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
handoff
GitHub stars
134
Token cost
~2.1k tokens
SKILL.md length
1,150 words
Files
6 (incl. scripts)
Skills in repo
29
Repo updated
First seen
Licence
None found

At a glance

Write or resume a handoff document so the next agent session can pick up the current work.

  • Works in 10 steps: Confirm the scope → Bail if there's nothing to hand off → Gather state actively → …
  • Context is filling up
  • SKILL.md covers Modes, Common: resolve the storage path, Create mode (no argument) and Resume mode (resume), plus 3 more sections
  • Runs Shell scripts from its folder; calls git and pnpm

What it does

Handoff is an agent skill from haacked/dotfiles. Write or resume a handoff document so the next agent session can pick up the current work. Use when context is filling up, when ending a session mid-task, or at the start of a new session that should continue prior work.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `scripts/handoff-archive.sh`, `scripts/handoff-detect.sh` and `scripts/handoff-path.sh`).

It sits in Agent Workflows, covering Session handoff. It works with Git. The repository describes itself as: My dotfiles and scripts I use on dev machines.

When your agent uses it

  • Context is filling up
  • Ending a session mid-task
  • At the start of a new session that should continue prior work

Example prompts

  • “/handoff”

Requirements

  • A Bash shell

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Confirm the scope
  2. Bail if there's nothing to hand off
  3. Gather state actively
  4. Fill the template
  5. Write the file
  6. Report
  7. Read
  8. Reconcile with current state
  9. Summarize and propose action
  10. Offer to archive (after the user decides)

What it can do on your machine

Read from SKILL.md and the folder at commit 23ffed9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Handoff loads about 2.1k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 1,150 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,150 words (~2,128 tokens).

“Bridge between agent sessions. Optimized for the next session reading the doc cold, with full tool access but zero conversation history.”

— opening of SKILL.md by haacked
name
handoff
argument-hint
resume|show|path
model
sonnet
metadata.execution-tier
balanced

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts) in ai/skills/handoff of haacked/dotfiles.

  • SKILL.md
  • scripts/handoff-archive.sh
  • scripts/handoff-detect.sh
  • scripts/handoff-path.sh
  • scripts/handoff-snapshot.sh
  • templates/handoff.md

Open the folder on GitHubat commit 23ffed9

Compare with similar skills

Handoff next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Handoff compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Handoff this skillhaacked/dotfiles134—~2.1kAutomated safety check: PassNone
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Codewhale Session Handoffcodewhale-hq/Codewhale41k—~1.1kAutomated safety check: PassMIT
Auditopenwpm/OpenWPM1.4k—~676Automated safety check: PassCustom licence
MemorixAVIDS2/memorix835—~516Automated safety check: PassApache-2.0

Similar skills

  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Codewhale Session Handoff

    codewhale-hq/Codewhale

    Writes a paste-ready handoff for the next agent session, opening with a state-check command block and separating done, suspected and blocked work.

    41k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Audit

    openwpm/OpenWPM

    A skill your agent uses when stuck, confused, or disoriented in a crosslink-tracked project — dumps the full context (session state, active issue, locks, blockers, hook config, git state, project…

    1.4k GitHub stars~676 tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Memorix

    AVIDS2/memorix

    A skill your agent uses when Claude Code needs Memorix shared memory, reasoning, Git Memory, mini-skills, session handoff, orchestration coordination, or integration troubleshooting.

    835 GitHub stars~516 tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Session Catchup and Handoff

    poshan0126/dotclaude

    Rebuilds working context after /clear by reading a handoff note and the branch's git state, or writes that handoff note before a session ends.

    871 GitHub stars~811 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from haacked/dotfiles

All 29 skills in this repo
  • Support

    haacked/dotfiles

    Support hero workflow — start a ticket investigation with auto-organized notes, find existing notes, or generate the weekly highlights log.

    134 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Analyze Permissions

    haacked/dotfiles

    Analyze accumulated permissions and suggest smart wildcard patterns.

    134 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Followup

    haacked/dotfiles

    Capture a follow-up item mid-session in seconds, list open items, close one, or run a review pass.

    134 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Note

    haacked/dotfiles

    Capture complex technical discoveries into structured, reusable notes.

    134 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Quarterly Planning

    haacked/dotfiles

    Draft quarterly goals for a PostHog team (defaults to Feature Flags), clustering open issues into themes and producing goals in PostHog's HOGS format.

    134 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Ran

    haacked/dotfiles

    Show which workflow steps have run against the current branch and which are missing or stale.

    134 GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Handoff

What does Handoff do?

Write or resume a handoff document so the next agent session can pick up the current work. Handoff is an agent skill from haacked/dotfiles. Write or resume a handoff document so the next agent session can pick up the current work.

When should I use Handoff?

Handoff fits situations like: context is filling up; ending a session mid-task; at the start of a new session that should continue prior work.

How do I install Handoff in Claude Code?

Run `npx skills add haacked/dotfiles --skill handoff -a claude-code`. Or copy the skill folder (ai/skills/handoff in haacked/dotfiles) into .claude/skills/handoff in your project. Claude Code loads it when a task matches its description.

How do I install Handoff in Codex?

Run `npx skills add haacked/dotfiles --skill handoff -a codex`. Or copy the skill folder (ai/skills/handoff in haacked/dotfiles) into .agents/skills/handoff in your project. Codex loads it when a task matches its description.

Can I use Handoff in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add haacked/dotfiles --skill handoff -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/handoff, .gemini/skills/handoff, .github/skills/handoff and .opencode/skills/handoff in your project.

What does Handoff need to run?

Going by SKILL.md and its folder, Handoff needs a shell for the scripts in its folder and the command-line tools its instructions call (git and pnpm). Our summary lists: A Bash shell.

Does Handoff access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Handoff safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Handoff use?

No licence was found for Handoff or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Handoff use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Handoff?

Skills that share tags, products or a category with Handoff: Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars), Codewhale Session Handoff (codewhale-hq/Codewhale, 41k stars) and Audit (openwpm/OpenWPM, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Handoff?

haacked (a GitHub user) maintains it in haacked/dotfiles, which has 134 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 8, 2026.

Source: haacked/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.