ClaudeCodeMod

All shelves / Mods / Workflow

compact-handoff

By REMvisual

compact-handoff is a Claude Code workflow mod by REMvisual.

Writes a handoff, replaces the conversation with it, and toasts once context passes 70%.

Draws

Install

The marketplace name is claude-handoff.

In your shell
claude plugin marketplace add REMvisual/claude-handoff
claude plugin install compact-handoff@claude-handoff
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.1
License
MIT
Repo stars
64
Last change
2026-10-15

What it can reach

  • Draws in the session
  • Reads usage or context figures

Experimental. Tested on Claude Code 2.1.300. The handoff skills must be installed too, from v2.1.0 or later, by copying skills/handoff and skills/handoffplan into ~/.claude/skills/. Installing this plugin also installs its companion, compact-handoff-answer. /compact-handoff runs /handoff, then continues from Where We're Going. /compact-handoffplan runs /handoffplan, then starts Phase 1. The author says the skill asks nothing, commits the session's work, and writes the handoff, and that the conversation is replaced only when those files check out. The skill's own paste prompt is sent automatically. A one-time toast appears when context passes 70%. Where an organization manages Claude Code, compaction hooks from user-installed plugins do not run. The README does not say anything leaves the machine.

cablate's ctx-handoff hands a long session off when the window fills. obie's auto-handoff writes a handoff file after idle and runs that handoff. This one writes the handoff, replaces the conversation with it, and keeps going in the same terminal.

Demo

The compact-handoff section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.describeA Claude Code event
  • command.runWhen you run its slash command/compact-handoff/compact-handoffplan
  • tool.callAround a tool call, where it can hold oneWriteEdit
  • turn.completeWhen a turn ends

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 2

  • /compact-handoffRun /handoff, then replace the conversation with it and continue (experimental)
  • /compact-handoffplanRun /handoffplan, then replace the conversation with it and start Phase 1 (experimental)

Files

The author's source, 3 files. They load when you open them.

Facts

Author
REMvisual
Category
Workflow
Marketplace
claude-handoff
Repo
REMvisual/claude-handoff
Folder
mods/compact-handoff
Version
0.1.1
License
MIT
Repo stars
64
Last change
2026-10-15
Language
TypeScript
Files
6

Other mods in Workflow

oh-my-fableJunhan2Loads the prompting-guide rules into every session, and draws the /fable request as a card.so-hudKanevryDraws Session Orchestrator status and a warning band, and writes a beacon other sessions can read.inite-braininite-aiDraws what brain recalled above the prompt, and looks each prompt up before the model reads it.corgi-bandAndriiklymiukDraws corgi sessions waiting on you, and what this turn posted or pushed, above the prompt.corgi-guardAndriiklymiukHolds a commandRefuses the Bash shapes corgi runs lose turns to, and hands the model the corgi fix.tch-activitykylesnowschwartzDraws what Claude is doing, and each tool call it has taken, in a box above the prompt.deadhdlcalmskyDraws a session's done, current, and remaining steps as a checklist, in the terminal and on a page.contextsaverAlmogBakuShows a card when a session's process or a tool habit repeats, with its cost and a fix you can send.fleet-bandwrg32786Draws a line above the prompt with the seat, context percent, unread Room messages, pending results, and seats in a hold.fleet-deliverywrg32786Draws a delivery line under the prompt, and sends one Room message or job result into the session when it is idle.pi-agent-for-claudeFazalAAliShows a pi subagent in Claude Code's agent list, streams its tool calls, and can open that agent in a tmux pane.stoadigital-stoic-orgDraws the save status of a session pack, can clear the context when it fills, and flags files whose sources changed.
All 396 in Workflow