Skip to content
Back to skills

Handoff More

ASecurity

Pull older handoffs from .claude/handoff_history/ into the current session's context. Requires the scripts/hooks installed by this repo's ./install.sh — the history it reads only exists once those are in place. Use when the auto-loaded handoff_current.md is thin (placeholder Notes, missing context the user is referencing), when the user references work from "yesterday" or "the session before this one," or whenever the user explicitly invokes /handoff-more. Reads up to N older snapshots (defau...

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgoshellbashgit

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add Sting25/claude-code-handoff --skill handoff-more --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff More?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff More
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sting25-handoff-more/badge)](https://www.skillsdirectory.com/skills/sting25-handoff-more)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff-more
description: Pull older handoffs from .claude/handoff_history/ into the current session's context. Requires the scripts/hooks installed by this repo's ./install.sh — the history it reads only exists once those are in place. Use when the auto-loaded handoff_current.md is thin (placeholder Notes, missing context the user is referencing), when the user references work from "yesterday" or "the session before this one," or whenever the user explicitly invokes /handoff-more. Reads up to N older snapshots (default 5).
---

# /handoff-more — load older handoffs into context

> **Prerequisite:** this skill reads history that only exists when the
> scripts and hooks from https://github.com/Sting25/claude-code-handoff
> are installed — `write_handoff.sh` is what rotates snapshots into
> `handoff_history/`. That toolchain lives under `~/.claude/bin/`
> and is NOT part of this file alone; run
> `./install.sh --scope project --project <dir>` from that repo first.

The `SessionStart` hook auto-loads `handoff_current.md` (the most
recent handoff). This skill pulls in the older snapshots that
`write_handoff.sh` archived in `<repo>/.claude/handoff_history/` when
a later write replaced them. (A handoff with nothing curated in it is
deleted on replacement, not archived.)

## When to invoke

- **User asks explicitly** (`/handoff-more`, "load more handoff
  context," "what did we do two sessions ago," etc.).
- **Auto-loaded handoff is thin.** If `handoff_current.md` was the
  result of an automatic `SessionEnd` write (no model in the loop to
  add curated Notes), the SessionStart hook already loaded the prior
  one as a fallback. But if the user is referencing decisions or work
  the assistant still can't account for, run this skill to pull
  further back.
- **Continuity gap.** User mentions a track, decision, or artifact you
  have no context on, and the current handoff doesn't reference it.

## Steps

1. List the history dir:
   ```bash
   ls -la <repo-root>/.claude/handoff_history/
   ```
   If the directory is missing or empty, check whether that's "no
   history yet" or "toolchain never installed". The installer puts
   the scripts under `~/.claude/bin/` (`$CLAUDE_HOME/bin` when that
   override is set):
   ```bash
   hb="${CLAUDE_HOME:-$HOME/.claude}/bin"
   [ -f "$hb/write_handoff.sh" ] || hb=""
   [ -n "$hb" ] || echo "MISSING: handoff scripts not installed (no write_handoff.sh in ${CLAUDE_HOME:-$HOME/.claude}/bin)"
   echo "handoff-bin: $hb"
   ```
   (This skill only reads directories — `$hb` isn't invoked elsewhere
   in this file, so there's no cross-call persistence concern here.)
   If it prints MISSING, stop and tell the user to clone
   https://github.com/Sting25/claude-code-handoff and run `./install.sh`,
   and don't try to substitute for the missing
   toolchain. If the scripts ARE installed, say there's simply no
   history yet and stop — there's nothing to load.

2. Read each retained snapshot, newest first. The default retention
   is 5 (configurable via `HANDOFF_HISTORY_KEEP` in the user's shell),
   so this is normally 1–5 files. There can be more: pruning never
   removes the newest snapshot with curated Notes, the newest with
   curated Rules, or a file not named `handoff_<date>_<time>.md`. Read
   only the `handoff_*.md` files directly in the directory; the
   `worktrees/` subdirectory holds handoffs and raw dumps salvaged
   from removed git worktrees. Use the `Read` tool on each.

3. Acknowledge in one line that older handoffs are now in context
   (e.g. "Loaded 3 older handoffs from
   `.claude/handoff_history/` — `handoff_2026-05-12_140312.md`,
   `handoff_2026-05-11_180044.md`, `handoff_2026-05-10_223301.md` —
   into context."). Then continue answering whatever the user
   actually asked.

## What NOT to do

- Do not load history files that aren't in `handoff_history/`. The
  raw turn-by-turn dumps under `handoff_backups/` are a different
  artifact (verbose, per-turn, for forensic recovery) — use that
  directly if you need that level of detail, not this skill.
- Do not summarize the loaded handoffs back to the user as a wall of
  text. The point is to put the prose in context, not to recite it.
  One acknowledgement line is enough.
- Do not invoke proactively at every session start. The SessionStart
  hook already handles the "current handoff is thin → also include
  previous" fallback automatically. This skill is for when *that*
  fallback is also insufficient.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.