handoff skillA
handoff is agent-read markdown (skill) from sting25/claude-code-handoff: Snapshot session state to .claude/handoff_current.md and tell the user (loudly, with -*-*- borders) to start a new session. Requires the scripts/hooks installed by this repo's ./install.sh — not a prompt-only skill. Use at clean boundaries (commit lands, track wraps), when the user signals context pressure ("getting long", "meter is full"), or whenever the user invokes /handoff. Blocks until the user actually starts a new session — do not start new work after invoking..
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 — write a session handoff
> **Prerequisite:** this skill drives scripts and hooks from
> https://github.com/Sting25/claude-code-handoff — `write_handoff.sh`
> under `~/.claude/bin/` (script install) or the plugin's `bin/`
> (plugin install) and the Stop / SessionStart / SessionEnd hooks
> in `~/.claude/settings.json` are NOT part of this file. Run
> `./install.sh` from that repo (or install the plugin) once per
> machine before first use.
Used at clean boundaries (after a commit, when a major track wraps),
when the user signals context pressure, or whenever the user invokes
`/handoff`. Hands the next session a complete state snapshot so
nothing gets lost across the restart boundary.
## What this skill does
1. **Snapshot state** — runs `write_handoff.sh` (resolved from
`~/.claude/bin/` on a script install or the plugin's `bin/` on a
plugin install — see Steps below), which captures:
- HEAD, branch, recent commits, working-tree state for the current repo
- Same for an optional sibling "substrate" repo (configured via
`HANDOFF_SUBSTRATE_NAME`, e.g. a shared decisions / RFCs repo)
- In-flight (untracked or modified) `.md` docs under the configured
…Read the whole file at its exact version.
How to install
mdr add sting25/claude-code-handoff/handoff@git:20260831.1e24eecmdr add sting25/claude-code-handoff/handoff@sha256:5ad8f8d3ce8f6a7cPin 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.
[](https://markdownregistry.com/a/art_2bhess5uhgv7erfe)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260831.1e24eec latest | 2026-08-31 | 1e24eec | 25,311 B | A | view · diff |
| git:20260826.3a0c7b9 | 2026-08-26 | 3a0c7b9 | 24,570 B | A | view · diff |
| git:20260826.d8479db | 2026-08-26 | d8479db | 24,117 B | A | view · diff |
| git:20260811.ad203db | 2026-08-11 | ad203db | 23,474 B | A | view · diff |
| git:20260811.9a69b76 | 2026-08-11 | 9a69b76 | 22,961 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (25311 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
sting25/claude-code-handoff · 5 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2bhess5uhgv7erfe GET https://markdownregistry.com/api/v1/resolve?ref=sting25/claude-code-handoff/handoff GET https://markdownregistry.com/api/v1/blob/5ad8f8d3ce8f6a7c9ea8bf350d53079dfbd0f2ea742b3951d2397df81759e00f
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
Every file in sting25/claude-code-handoff