context-controls

by DerpcatMusic · ★ 1 · updated 13 Oct 2026

BandsCommandsvalidates

0

Nested context / 5-hour / weekly rings plus compaction and subagent model controls above the prompt.

install context-controls

Install

/plugin marketplace add DerpcatMusic/claude-context-controls
/plugin install context-controls@context-controls

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.startcommand.runturn.startsession.measureui.renderagent.spawnturn.step
API calls
$.agent.list$.clock.after$.clock.every$.command.register$.command.run$.config.set$.env.get$.env.set$.session.usage$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
subagent spawns
Reach
level 2 of 3 sets env varschanges configdrives Claudereads env varspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/DerpcatMusic/claude-context-controls
Path in repo
repository root
Source commit
d7d4c86 the exact code the scan read
Author
@DerpcatMusic
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.