context-rollover

by Michael Prömpler · ★ 2 · updated 3 days ago

BandsGuardsPromptwarnings

0

Tells subagents and the orchestrator to hand off once their context passes a share of its window or they run too long, in place of compacting, offers interactive sessions a handoff at natural breaks and before the prompt cache expires, and names a HANDOFF.md to a conversation's first prompt

install context-rollover

Install

git clone https://github.com/MichaelP17/claude-mods
claude --plugin-dir ./claude-mods/context-rollover

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startstate.setprompt.submitturn.startturn.completeskill.promptsession.endtool.callui.rendersession.compactturn.step
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.run$.fs.exists$.fs.read$.hub.set$.prompt.submit$.session.append$.session.cwd$.session.messages$.session.usage$.state.get$.state.set$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
every promptthe ? skillWrite callsEdit callsBash callscompaction
Reach
level 2 of 3 drives Claudereads filesreads the transcriptreads mod statedrawsother: $.hub.set

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/MichaelP17/claude-mods
Path in repo
context-rollover
Source commit
d2616f1 the exact code the scan read
Author
Michael Prömpler @MichaelP17
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from MichaelP17/claude-mods

grill-panel

MichaelP17/claude-mods

Answers Claude's numbered question rounds one by one in a panel, keeps confirmed answers across restarts, and sends them back as Q1: … lines

★ 2PanesReskinsGuards

idea-shell

MichaelP17/claude-mods

Captures ideas per folder with /idea while Claude keeps working, and hands them to Claude later

★ 2PanesReskinsGuards

machine-guard

MichaelP17/claude-mods

Puts every command that changes the machine in front of the user before it runs

★ 2Guards

mod-hub

MichaelP17/claude-mods

One toolbox button in the desktop footer that shows what every mod reports and opens their panes, also while Claude is working

★ 2PanesReskinsCommands

service-radar

MichaelP17/claude-mods

Keeps track of detached services Claude starts and stops them on request

★ 2PanesReskinsGuards

session-relay

MichaelP17/claude-mods

Passes prompts from a planning session to the session that does the work and its answers back, without copy and paste

★ 2PanesBandsReskins

shell-shim

MichaelP17/claude-mods

Sets zsh up for Claude's bash-style commands — = words, unmatched globs, word splitting, aliases that hide programs, a missing timeout — without rewriting a command, so auto mode never refuses one

★ 2Automation

status-band

MichaelP17/claude-mods

Shows context fill and usage limits in the footer under the prompt in the desktop app, where no status line exists

★ 2ReskinsGuards

cache-watch

MichaelP17/claude-mods

Shows how long the prompt cache stays warm

★ 2ReskinsCommands

compact-shaper

MichaelP17/claude-mods

Summarizes compactions as a handoff, and cuts re-readable tool output instead on /compact prune

★ 2ToastsCommands

concurrency-guard

MichaelP17/claude-mods

Caps parallel subagents and monitors; more need a stated reason and the user's approval

★ 2ReskinsGuardsPrompt

config-snapshots

MichaelP17/claude-mods

Snapshot and roll back the Claude Code configuration through claude-config

★ 2PanesCommands

Other mods in Bands, close to this one by stars.