Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Decompose a session into typed handoff units and recall them later. Use when ending a session or resuming work whose prior state must be recovered.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Record where the thinking landed, not that a session happened.
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.
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.
Inventory first, judge second. Doing both at once loses threads, because the act of grouping suppresses items that do not fit a group yet.
Full procedure and the coverage self-check:
modules/two-phase-extraction.md.
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.
Skill(memory-palace:memory-clarity-probe). If the composite reads
Unclear, expand the units before staging them.data/state/handoff_units.json in 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.
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.
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 | +recall | why is one of the ranked fields |
| The user doubts whether injected state is still current | +recall? | Visible mode shows what was retrieved and which dependencies moved |
Stay quiet in the other cases. Say nothing when the answer is already
in the live context, when the prompt shares no content words with any
prior thread, or when this session already recalled that thread.
Retrieval on a zero-overlap prompt returns nothing and costs the user
a round trip, and units dedupe by thread and type, so a second
+recall on a recalled thread returns what the user is reading now.
Phrase it as an offer beside the answer, never as a precondition for
one: "the prior session left notes on this, so add +recall if you
want them."
Skill(memory-palace:knowledge-intake).Skill(memory-palace:session-palace-builder).Skill(memory-palace:memory-clarity-probe).| Module | Read it for |
|---|---|
modules/unit-schema.md | Field semantics, type selection, worked examples |
modules/two-phase-extraction.md | The sweep checklist and render rules |
modules/temporal-awareness.md | Session gaps and what survives them |
The staging file is process-global. Two concurrent sessions in one checkout can have one drain the other's units. The window is a single turn, and the skill cannot know its own session id, which is why staging exists rather than direct record writes.
Type from the fourdata/state/handoff_units.json and it parses as
JSON with a top-level units arraystate unit is acted onOpen field+recall offer names the thread it would retrieve, and is made
at most once per thread per sessionまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.
日本語の概要は準備中です。原文の説明を表示しています。
Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.
日本語の概要は準備中です。原文の説明を表示しています。
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.
日本語の概要は準備中です。原文の説明を表示しています。
Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.
日本語の概要は準備中です。原文の説明を表示しています。