Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thewolffv0.4.0MITIn 1 marketplace
Keep a long session's state across compaction: ask the agent for a handoff and block one stop until it writes one, snapshot the session before compaction, restore it after, and say if saving works.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Keep a long session's state across compaction. Four hooks, one skill and an OMP extension:
hooks/pre-compact.mjs (PreCompact) saves the session's deterministic state (branch,
uncommitted paths, files touched, recent asks, the repository's open handoffs) to a snapshot
under the plugin's state directory, leaves a heartbeat record saying whether that worked, and
on Claude Code prints plain-text instructions asking the compaction summary to end with a
## Handoff section.hooks/session-start.mjs (SessionStart) injects that snapshot back after a compaction and
removes it, re-inlines the rules files (CLAUDE.md, CLAUDE.local.md, AGENTS.md) on the walk
from the cwd to the repository root that the host does not re-read on its own, lists the newest
entries of the repository's durable-notes directory, and on every start says when the save last
succeeded on this machine, or that it never has. A save that silently stopped working is the
failure this line exists to end.hooks/user-prompt-submit.mjs (UserPromptSubmit) says the liveness line once when
SessionStart did not, and asks for a handoff when the session's context has grown past the ask
point (default 175,000 tokens, and at least 40,000 past where the session or compaction window
started, and, when an auto-compact window is set, no later than 40,000 tokens before Claude Code
compacts), again after each further 150,000, and afresh after every compaction. On Claude Code
the size is the token usage the last reply recorded in the transcript; see below.hooks/stop.mjs (Stop) blocks one stop under the same rule, unless this session wrote a
handoff since the last compaction and the last block, so the model has a turn to write one
while it still holds the context the handoff needs.skills/handoff/SKILL.md (/continuity:handoff) writes the judgment layer no hook can
derive, what was in progress, the next move, what was ruled out, what is still uncertain, to
<repo>/.ai/handoffs/, and says how to resume from one: restate its content before continuing.omp/continuity-omp.ts runs the save and the restore under OMP, where plugin hooks do not
run: the same two hook files, spawned on OMP's own compaction events; see "Under OMP".Ported from the newdle plugin 0.2.175 (its compact-continuity, compaction-liveness and
context-pressure hooks and its handoff skill); the table of what was stripped is at the end.
Built on plugin-kit 0.3.1, with its prune script re-copied from plugin-kit 0.4.1; Node 22.13 or
later; Claude Code hooks plus an OMP extension.
/plugin marketplace add thewolff/jo-wolff-plugins
/plugin install continuity@jo-wolff-plugins
On OMP:
omp marketplace add thewolff/jo-wolff-plugins
omp plugin install continuity@jo-wolff-plugins
Nothing to set up. The first session on a machine hears the liveness line say no save has ever been recorded, which is true until the first compaction.
hooks/pre-compact.mjs)On PreCompact, lib/snapshot.mjs writes
${XDG_STATE_HOME:-~/.local/state}/continuity/<session_id>.json holding, each section naming
its source: the branch (git branch --show-current), the uncommitted paths (git status --short, the first 40), the files written or edited this session (read from the transcript's
Edit/Write/NotebookEdit/MultiEdit tool calls, the first 40), the last 5 user asks (from
the transcript; a host with no transcript may send intents, file_operations and
agent_judgment on the payload instead, and the file says which it used), and the open handoffs
under the repository's .ai/handoffs/ (lib/handoffs.mjs: status: open, modified within 7
days, the newest 3 in full and one line each for the rest). Every list is capped where it is
captured and every cut is written into the file; a shortened git status that read as a clean
tree was the bug the caps answer. A payload with no transcript and none of the host fields gets
a reconstruction section instead (recent commits, unpushed commits) that says it is one.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub thewolff/jo-wolff-plugins --plugin continuityPlugins from other owners that cover similar ground