← ClaudeAtlas

handofflisted

Writes a session handoff to disk before a context reset — what's done, what changed, what was decided, what was ruled out, and the single next step — then tells you whether to /clear or /compact. Use when a session is getting long or slow, before compacting, at the end of a work block, or when handing work to another person or session. Trigger: "write a handoff", "save progress", "save state", "session is getting slow", "before I compact", "wrap up", "I'm stopping here".
makieali/claude-code-engineer · ★ 0 · AI & Automation · score 72
Install: claude install-skill makieali/claude-code-engineer
# Handoff — Write State Down Before You Lose It Quality degrades as context grows, well before the window is full, and worst for information in the middle of a long session. The model summarising at the end is already impaired by the thing you are trying to escape. So write the handoff **deliberately, while judgment is intact** — not when auto-compact fires. **HARD GATE: this skill writes one file. It does not change code, run tests, or commit.** ## The loop ``` /handoff → writes plans/handoffs/<date>-<slug>.md → tells you: /clear or /compact you → run it /resume-work → reads the newest handoff, you carry on ``` **You run the reset, not this skill.** `/clear` and `/compact` are REPL commands with no tool behind them — no skill can invoke them. Anything claiming otherwise is guessing. --- ## Step 1: Gather state ```bash ~/.claude/skills/handoff/scripts/gather-state.sh ``` Reads branch, status, diff stat, staged stat, recent log, and files touched. If the script is missing, run the equivalents by hand — but prefer the script; it keeps its own output out of context. ## Step 2: Write the file Path is computed in bash, never assembled in the prompt — a title you pass through is untrusted input and the allowlist is what keeps it out of the shell. ```bash ~/.claude/skills/handoff/scripts/handoff-path.sh "<title>" # prints the safe path; use it verbatim ``` Files are **append-only**. Never overwrite an existing handoff, never delete one. Each save