Clear the chat. Keep the work.
A free, open-source Claude Code plugin.Install
After the 60-minute prompt cache expires, a cold return rewrites the whole chat. A handover saved before then lets a fresh session start from a short note.
Idle
Back in a 390k session after an idle gap: US$1.56 cold, US$0.15 with a handover (n=3).
One dot per run. Tick: median. Dashed box: prediction.
A handover continues from a note, so quality can differ.
Builds
A 30-item build: relay finished 5 of 6 runs, auto-compaction 5 of 6.
Median finished run of each arm.
Tokens
A session that never compacts used, on average, 1.6x the relay's tokens and 1.7x auto-compaction's (n=3 against n=5).
Mostly cache reads, 0.05x the input price: at list price it cost 6% more.
Cost
List-price mean, finished Sonnet runs: US$9.08 relay (n=5), US$9.19 auto-compaction (n=5), US$9.66 never compacting (n=3).
API-equivalent; runs used a subscription.
Predicted before the runs: 5 of 8 results inside the range, 3 outside.
Written 14:55 AWST on 10 Oct, before the first test.
Install
Relay on, in your terminal:
claude plugin marketplace add https://github.com/m4cd4r4/cornerman claude plugin install cornerman@cornerman --config relay=10Manual, relay and nudge off: /cornerman:handover, /clear, go.
claude plugin install cornerman@cornerman --config auto_nudge=false --config relay=offMarketplace, Open VSX, releases.
Every run
Idle test: cold return after 65 minutes idle; handover written at 55 minutes, then read by a fresh session. Sonnet 5.5. Compare cost within one date: cache reads were priced lower on 10 Oct than 9 Oct.
Does anything leave my machine?
Handovers are plain text files on your disk, in ~/.cornerman. Nothing is sent anywhere unless you turn on sync (to your own private git remote) or web mode (for Claude Code on the web). Keep secrets out of them.
What does it need?
Node 18 or later and git. On Windows, Claude Code runs plugin hooks through Git Bash, which comes with Git for Windows.
The relay needs Claude Code 2.1.275 or later and works in a terminal and in the VS Code chat panel.