session-handoff
БесплатноБез исполняемых скриптовНе проверенDecompose a session into typed handoff units and recall them later
от athola280 установок в других каталогахОб этом скилле
Night Market Skill: ported from claude-night-market/memory-palace. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Session Handoff
Record where the thinking landed, not that a session happened.
What It Is
A session ends with decisions half-made, questions half-answered, and findings nobody wrote down. The next session starts from zero and re-derives them, which costs tokens and forces the human to reconstruct their own prior reasoning.
This skill decomposes a session into typed units and stages them for later recall. The type is what makes recall trustworthy: a status update stops being true in days, while a fact about how a tool behaves stays true for years, so the two cannot share one shelf life.
The Unit Schema
Every unit carries seven fields:
Thread: short, specific label phrased the way a later session would ask
Type: finding | decision | open-thread | state
Date: YYYY-MM-DD, when this thread reached its conclusion
State: what landed by the end of the session, in 1-2 sentences
Why: the load-bearing reasoning, including what was rejected
Open: what remains unresolved, omitted entirely when nothing is
Ref: the session this came from
The four types and how fast each ages:
| Type | What it is | Half-life |
|---|---|---|
finding |
A durable fact about the world, platform, or tools | 365 days |
decision |
A project choice that could later be revised | 90 days |
state |
A transient status or state change | 7 days |
open-thread |
A live, unresolved question | does not decay |
Those values are the retention classes in
memory_palace.corpus.decay_model.UNIT_TYPE_DECAY. The writer picks a
type, never a shelf life, so retention is bound once per class rather
than guessed per item.
Two-Phase Extraction
Inventory first, judge second. Doing both at once loses threads, because the act of grouping suppresses items that do not fit a group yet.
- Phase 1 sweeps the transcript and lists every distinct thread it touched, one line each. Over-include on purpose.
- Phase 2 groups that inventory into threads and renders one unit per thread per type.
Full procedure and the coverage self-check:
modules/two-phase-extraction.md.
Splitting and Superseding
A thread that bundles a durable finding with the transient action that produced it becomes two units with different types, so each ages on its own curve.
A later unit with the same Thread and Type supersedes the earlier
one. The same thread under a different type stays separate. Supersession
is why a revised decision does not surface next to the decision it
replaced.
Capture Workflow
- Run Phase 1, then Phase 2.
- Optionally gate the rendered units through
Skill(memory-palace:memory-clarity-probe). If the composite reads Unclear, expand the units before staging them. - Write them to
data/state/handoff_units.jsonin this shape:
{"units": [{"thread": "...", "type": "decision", "date": "2026-08-13",
"state": "...", "why": "...", "open": "", "ref": "...",
"files": ["src/thing.py"]}]}
Declare files when the claim would stop being true if those paths
changed. The capture path fingerprints them, and recall flags the unit
when one moves.
The Stop hook drains that file and merges the units into the session
record. The Stop payload carries no transcript content and the hook runs
no model, which is why capture is staged by this skill rather than
extracted by the hook.
Recall Workflow
Append +recall to a prompt to have matching units injected, or
+recall? to also see what was retrieved. Recall is opt-in because
fixed-cost injection on every turn spends the context window it was
meant to extend.
Before acting on any state unit, state the elapsed time since it was
written. See modules/temporal-awareness.md.
When to suggest it mid-session
The token is the user's to type, so the work here is to say when it would pay and leave the choice with them. Offer it in one line at the moment it applies, then answer the question that was actually asked.
plugins/memory-palace/hooks/_recall.py ranks units by keyword overlap
between the prompt and each unit's thread, state, why, and
open fields, scaled by type-aware decay. The rest follows from that:
overlap is the retrieval, so a prompt naming its topic retrieves and a
prompt gesturing at it does not.
| Moment in the session | Offer | What makes it pay |
|---|---|---|
| The prompt names work from an earlier session in that work's own vocabulary | +recall |
Overlap scoring has terms to match |
| Work resumes after a clear or a compaction | +recall |
The units are still on disk once the live context no longer holds them |
| The user asks why a past decision went the way it did |
Установить session-handoff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл session-handoff?
Decompose a session into typed handoff units and recall them later
Как установить скилл session-handoff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-handoff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic