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 Runt9-Productionsv0.1.0MITIn 1 marketplace
One press or /handoff: Claude writes a handoff file and a compaction message, then the session compacts with it
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Context warning (%)warn_percent
The context fill at which the band turns yellow
number1–100default 30
Context ceiling (%)ceiling_percent
The context fill at which the band turns red, and at which the away plugin hands off
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; sends prompts on its own.
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.
number1–100default 60
Hands a session off to its own next context. One press, or /handoff, asks Claude to write the session's state to a
handoff file and give a compaction message; when that turn ends the session compacts with the message, and a resume
prompt has Claude read the handoff file back.
/plugin marketplace add Runt9-Productions/runt9-claude-harness
/plugin install handoff@runt9
A line above the prompt shows how full the context window is, yellow from 30% and red from 60%, with a
Hand off and compact button. The two points are the plugin's warn_percent and ceiling_percent options, set in
/config; the defaults match the delegation rules' figures for where rule-following degrades and its ceiling. While a handoff runs, the button gives way to its phase: waiting for the current
turn to end, Claude writing it, or compacting, with a Cancel button beside it.
/handoff takes an optional argument, passed on to Claude as what the summary should stress:
/handoff the open migration question
The press or the command queues a [handoff] prompt behind any turn that is running. In that prompt's turn Claude:
.claude/output/ for work on a repository, otherwise in
~/.claude/output/. The file holds the current state only: an existing handoff file for the same work is
rewritten, with whatever is done or superseded dropped, and decisions that outlast the work move to memory, a
knowledge base or the plan. It is built fresh from the current state rather than by editing the previous file,
and points to the documents the repository keeps, such as its process or a plan, rather than restating them.compact_with tool with its compaction message: what to keep, what to drop, and the handoff file to
read first.The session then compacts with that message. A turn of the main conversation that starts in the meantime, such as
one a teammate's message starts, is waited out; a subagent's or teammate's own turn is not. After the compaction a
[resume] prompt asks Claude to read the handoff file and any plan, spec or project file it names, and reply with its
next step. Claude then waits for you to confirm.
Add .claude/output/ to each repository's .gitignore, or to .git/info/exclude, so handoff files stay out of
commits.
compact_with refuses a call from any turn but the one the [handoff] prompt started, and refuses a message that is
empty or not text.
A toast says why each time:
[handoff] prompt cannot be taken back, so its turn still runs,
and compact_with tells Claude there that the handoff was cancelled. Once the compaction itself has started, Cancel
is refused.compact_with: nothing is compacted./compact by hand.A plugin named away may run /handoff while nobody is at the keyboard. The handoff checks the name of the plugin
that ran the command, so /handoff from any other plugin counts as yours. A handoff away starts differs in four
ways:
[handoff] prompt saying why, so the failure is reported where you will see it.Interrupting its turn still compacts nothing.
away reads this plugin's state, typed in types/index.d.ts: phase (idle, queued, writing, compacting)
and ceilingPercent, the fill at which it hands off (the ceiling_percent option). Both are written on every session
start and every turn.
npx claudepluginhub runt9-productions/runt9-claude-harness --plugin handoffBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.