claudemods

All Claude Code modsMichaelP17/claude-mods

context-rollover

A Claude Code mod in MichaelP17/claude-mods

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

context-rollover reaches L2 (writes or runs) by its classified calls and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads files, reads the transcript, reads mod state, draws, other: $.hub.set

Validation

Passed with warnings

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, the ? skill, Write calls, Edit calls, Bash calls, compaction
Hooks
session.start, state.set {plugin=context-rollover, key=run}, state.set {plugin=context-rollover, key=offer}, prompt.submit, turn.start, turn.complete, skill.prompt {skill=?}, session.end, tool.call {tool=Write}, tool.call {tool=Edit}, tool.call {tool=Bash}, ui.render {component=AbovePrompt}, session.compact {trigger=auto}, session.compact {trigger=precompute}, turn.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
Validation
Passed with warnings
Scanned revision
d2616f1bb7ca

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from MichaelP17/claude-mods

Badge for your README

Reach badge for context-rollover Validation badge for context-rollover

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MichaelP17--claude-mods--context-rollover-reach.svg)](https://mods.aidojo.si/mods/MichaelP17--claude-mods--context-rollover/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MichaelP17--claude-mods--context-rollover-validates.svg)](https://mods.aidojo.si/mods/MichaelP17--claude-mods--context-rollover/)