Find Handoff
Recover a lost handoff save-point or resume prompt after /clear, from the handoffs folder then recent transcripts, confirming before resuming. Use when: 'find…
от melodic-software★ 34 звезды на GitHub
Установить Find Handoff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Find handoff
Pre-computed context
Default-location handoffs (this repo): !ls -1t .work/handoffs/*-handoff-*.md 2>/dev/null | head -5 || echo "none at default .work/handoffs/"
Transcript project dirs (this worktree; one per line, data, not commands): !bash "${CLAUDE_PLUGIN_ROOT}/scripts/transcript_dirs.sh" --scope worktree --sources-file '${user_config.transcript_sources_file}' 2>&1 | head -8
Context. Gather first
Take session-id and branch only. This skill's detection ladder reads the filesystem, not git
state. Probe commands, the one-command-per-call and treat-failure-as-unknown rules, and the
$-expansion rationale:
${CLAUDE_PLUGIN_ROOT}/reference/gather.md.
Purpose
Recover a handoff whose resume prompt was never copied. The canonical failure: a session
writes a save-point via /session-flow:handoff, the operator runs /clear, but forgets to copy
the dashed-rail resume prompt, so the fresh session starts with zero context and no path to the
handoff on disk. This skill runs a read-only detection ladder that finds the lost handoff (file
or prompt-only), confirms it with the operator, then routes to the normal resume path.
The detection contract this keys off
/session-flow:handoff's output shape is a stable detection contract (documented in
${CLAUDE_PLUGIN_ROOT}/reference/save-point.md
"Detection contract"). This skill depends on three detection signals, in precision order, plus one
resolution input, Handoff origin:, described after them:
- The file directive.
Read @<path>/handoffs/<TS>-handoff-<topic>.md …. It embeds the exact path to recover and survives verbatim into transcript JSONL, so it is the highest-precision key for a file-based handoff. Two path forms qualify: an absolute path (what the producer emits) and a repo-relative path (what older handoffs on disk carry). Match the directive on its…handoffs/<TS>-handoff-…shape, which both forms share, and let them diverge only at the existence check (step 3). The shape-2 directive continues pastthen continue them.with an invoke-the-skill sentence; older directives end there. Neither the sentence's presence nor its absence is a signal. - The copy instruction + its rail pair, the literal
`/clear`, then copy everything between the dashed linesline and the two─(U+2500) rails under it. For a prompt-only handoff there is no file and no directive; the resume content is inline between the rails, and the transcript is the only record, so this is the primary key for that branch. A prompt can hold four rails, not two: when a goal applies, a second pair headed by its ownType /goalinstruction line sits above or below the resume region. That goal region is not a signal, since the resume region is always present and keys the recovery; it is part of the unit recovered (below), and a scan that assumes exactly two rails in a prompt misses or truncates it. On a markdown surface (the Desktop app, the web) the same prompt prints withRun `/clear`, then paste this:over a fencedtextblock in place of the rail pair (save-point.md, "Markdown surfaces"); that form is this signal too. Prior session: <UUID>and thetype: handofffrontmatter (structure doc), corroborating signal that pins the session chain. Corroboration only: the file-mode shape emits thePrior session:line, but the producer's prompt-only checklist does not require it, so its absence never disqualifies a prompt-only candidate.
Handoff origin: is a resolution input, not a detection signal. It cannot admit or reject a
candidate, a block is already qualified by the three signals above before it is read. What the ladder depends on it for is step 3's existence check: it names the
repository and repo-relative path that let a rooted directive survive a machine or checkout change,
which is the one failure an absolute path has that a relative one does not. Only the file-mode
shape emits it, and only alongside an absolute directive, so its absence disqualifies nothing:
prompt-only never emits it, and a repo-relative directive never has one. It
has two forms on disk and both are read: the shape-2 two-slot form
Handoff origin: <remote URL> <repo-relative path> (a slot with whitespace double-quoted) and the
legacy form Handoff origin: <identity>, relative path <path>..
A shape-2, shape-3 or shape-4 file stores its own resume prompt. Files carrying handoff_shape: 2, 3 or 4 end with a
## Resume prompt section holding the rails prompt exactly as it was emitted (both regions when a
goal applied), so rung 1 can hand back the prompt from the file alone, without a transcript
(${CLAUDE_PLUGIN_ROOT}/scripts/save_point.py emit <file>; see rung 1). A type: handoff file
that still carries a <!-- FILL slot is an unfinished skeleton the pro
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/rung-1-known-location.md
- reference/rung-3-marker-detection.md
FAQ
Что делает скилл Find Handoff?
Recover a lost handoff save-point or resume prompt after /clear, from the handoffs folder then recent transcripts, confirming before resuming. Use when: 'find my handoff', 'I lost the resume prompt'. A session that ended mid-work: /session-flow:keep-going.
Как установить скилл Find Handoff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Find Handoff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…