Home / Claude Code mods / Cost & usage / context-rollover

context-rollover

context-rollover is a Claude Code mod by MichaelP17 that 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.

Updated 2026-11-30

What is context-rollover?

context-rollover is a Claude Code mod by MichaelP17 that 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. It is listed under Cost & usage and has 2 GitHub stars.

TypeClaude code mod
AuthorMichaelP17
RepositoryMichaelP17/claude-mods
Popularity2 GitHub stars
CategoryCost & usage
SecurityLow risk (80/100)
Rank#2,986 of 9,397 Claude Code mods; #467 in Cost & usage
LicenseMIT
Last commit2026-11-30
Hooks11 events
SeesBash calls, Edit calls, Write calls, compaction, every prompt, the ? skill
Draws onAbovePrompt

Is context-rollover safe to install?

context-rollover scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.command.rundrives Claude
$.fs.existsreads files
$.fs.readreads files
$.hub.set
$.prompt.submitdrives Claude
$.session.append
$.session.cwd
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.ui.invalidatedraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install context-rollover?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/MichaelP17/claude-mods
    claude plugin validate ./claude-mods/context-rollover
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/MichaelP17/claude-mods && claude --plugin-dir ./claude-mods/context-rollover

Or ask Claude to set it up

Paste this into Claude Code and it installs context-rollover for you:

Install the "context-rollover" Claude Code mod from https://github.com/MichaelP17/claude-mods/tree/main/context-rollover. Run claude plugin validate on it first and show me what it can access before you enable it.

More from MichaelP17/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • cache-watch: Shows how long the prompt cache stays warm (Low risk)
  • compact-shaper: Summarizes compactions as a handoff, and cuts re-readable tool output instead on /compact prune (Low risk)
  • concurrency-guard: Caps parallel subagents and monitors; more need a stated reason and the user's approval (Low risk)
  • config-snapshots: Snapshot and roll back the Claude Code configuration through claude-config (Review before installing)
  • context-budget: Measures what every session starts with, warns when CLAUDE.md, rules, memory or skill descriptions outgrow their budget, (Review before installing)
  • grill-panel: Answers Claude's numbered question rounds one by one in a panel, keeps confirmed answers across restarts, and sends them (Low risk)
  • idea-shell: Captures ideas per folder with /idea while Claude keeps working, and hands them to Claude later (Review before installing)
  • machine-guard: Puts every command that changes the machine in front of the user before it runs (Low risk)