/auto-pause:writing-handoffsfrom auto-pause
Writes a compact handoff document and resume prompt so a fresh Claude Code session can continue a task without the old conversation. Use when approaching usage limits or when asked to save progress for a new session.
Ships in auto-pause. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A handoff is one Markdown file that lets a fresh session continue this task with no access to this conversation. Its reader is capable but has zero context: only the handoff, the repo, and the resume prompt the user pastes.
.env values into the handoff.path:line, what is done, what is not). Start nothing new. If an AUTO-PAUSE notice gives a tool-call limit, stay within it. If an operation outside the repo is still running or its result is unconfirmed (a deploy, migration, CI run, remote job, sent request, background process), do not wait for it or retry it: record it under Outside operations.bash "${CLAUDE_SKILL_DIR}/scripts/facts.sh" <slug> '${user_config.handoff_dir}', where the slug is 2–4 words naming the task. It prints the handoff path, repo state, and resume prompt, and the plugin adds a line with usage, reset time, and word budget. If the script cannot run, read ${CLAUDE_SKILL_DIR}/references/fallback.md.text block so the user can copy it. Nothing after the block.Keep it under the word budget from step 2 (600 if none was given). Omit a section only if it would be empty, except Goal, Status, Next steps, and Repo state, which are required.
# Handoff: <task in a few words>
Paused <YYYY-MM-DD HH:MM> · <usage and reset time, if known> · reason: <user asked | AUTO-PAUSE | context>
Next session: <Haiku | Sonnet | Opus> - <low | medium | high | xhigh>. <one-clause reason>
Resume prompt (paste into a new Code session):
```text
<resume prompt, verbatim>
```
## Goal
<the user's ask, verbatim if short> · Done when: <acceptance criteria>
## Status
- Done: <finished pieces, with files>
- In progress: <exact state, e.g. "auth.ts migrated through refreshToken(); session.ts untouched">
- Not started: <remaining pieces>
- Last request: <answered | partly | not started>; <what is left of it>
## Outside operations
- <what it does> · id: <run/job/deploy id, PR number, or URL> · last confirmed: <result you saw, or "none: started, outcome unknown"> · check with: <exact command or page>
- Approvals: <who approved which outside action, when>; re-confirm before acting
## Next steps
1. <first action, doable as written: file and change, or the exact command>
2. <...>
## Decisions (don't relitigate)
- <decision>: <reason>
## Don't undo
- <change that looks wrong but is intended>: <why>
## Dead ends
- Tried <X>; dropped because <Y>
## Verify
- `<test or build command>`: last result <pass/fail, one line>
## Repo state
<branch> · <HEAD short hash and subject> · uncommitted: <files> · stashes: <n> · background processes: <none or what is running>
## Open questions for the user
- <only questions the next session cannot answer itself>
path:line or function name. Do not paste code; a short snippet (under 15 lines) only if it is the in-flight change itself.git status.Only if unsure how a section should read: ${CLAUDE_SKILL_DIR}/references/example.md. Skip it otherwise.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
context-handoff, session-resume, usage-limit, handoff-document
npx claudepluginhub k45sle/claude-auto-pause --plugin auto-pauseOther plugins' skills for the same job