Home / sting25 / claude-code-handoff · skills/handoff-recover/SKILL.md · GitHub

handoff-recover skillA

handoff-recover is agent-read markdown (skill) from sting25/claude-code-handoff: Compose a retroactive curated handoff when the previous session ended without invoking /handoff. Requires the scripts/hooks installed by this repo's ./install.sh — not a prompt-only skill. Triggered by the SessionStart "ACTION: RUN /handoff-recover" banner (emitted when handoff_current.md still has the placeholder Notes block) or by explicit /handoff-recover. Reads the previous session's raw per-turn dump under .claude/handoff_backups/ and the most recent curated handoff under .claude/handoff_hi.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# /handoff-recover — retroactive handoff composition

> **Prerequisite:** this skill leans on scripts and hooks from
> https://github.com/Sting25/claude-code-handoff — the raw dumps it
> recovers from are written by the Stop hook, and it runs
> `handoff_recover_tail.sh` / `write_handoff.sh` from `~/.claude/bin/`
> (script install) or the plugin's `bin/` (plugin install).
> None of that ships with this file alone; run `./install.sh` from that
> repo (or install the plugin) once per machine first.

The previous session ended without running `/handoff` — crashed,
killed, terminal closed, or just never invoked. `SessionEnd` wrote a
safety-net snapshot, so `handoff_current.md` has git state but no
curated Notes. The SessionStart hook detected this and printed an
ACTION banner telling you to invoke this skill.

Note: since the `PreCompact` hook joined the safety net, a
placeholder can also be written MID-session (an uncurated session
that hit auto or manual compaction), not only at session end — so
this banner can appear even though the "previous session" is the
same still-running conversation, freshly compacted. The recovery
…

Read the whole file at its exact version.

How to install

Latest version
mdr add sting25/claude-code-handoff/handoff-recover@git:20260811.ad203db
Exact content
mdr add sting25/claude-code-handoff/handoff-recover@sha256:8f3bfd82c12748f3

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jnhwat55gvfozr23.svg)](https://markdownregistry.com/a/art_jnhwat55gvfozr23)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260811.ad203db latest2026-08-11 ad203db 18,790 BA view · diff
git:20260811.9a69b762026-08-11 9a69b76 18,102 BA view · diff
git:20260811.acc5d392026-08-11 acc5d39 18,036 BA view · diff
git:20260811.bdfc82c2026-08-11 bdfc82c 17,935 BA view · diff
git:20260811.7d4af4f2026-08-11 7d4af4f 16,483 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18790 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sting25/claude-code-handoff · 5 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jnhwat55gvfozr23
GET https://markdownregistry.com/api/v1/resolve?ref=sting25/claude-code-handoff/handoff-recover
GET https://markdownregistry.com/api/v1/blob/8f3bfd82c12748f3a1b0825699e863a688a57d92604e95bc8b226d08f50b53c3

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from sting25/claude-code-handoff

handoff-more skill
sting25/claude-code-handoff · skills/handoff-more/SKILL.md · Pull older handoffs from .claude/handoff_history/ into the current session's context. Requires the scripts/hooks…
git:20260811.ad203db · audit A · 5 stars
handoff skill
sting25/claude-code-handoff · skills/handoff/SKILL.md · Snapshot session state to .claude/handoff_current.md and tell the user (loudly, with -*-*- borders) to start a new…
git:20260831.1e24eec · audit A · 5 stars

Every file in sting25/claude-code-handoff

Browse by kind, by grade A, or by owner.