ctx-control
by Brennen Barney · ★ 0 · updated 23 days ago
See and control the skills, tools, files, and other context sent with every message
Install
/plugin marketplace add bbarney7/claude-code-mods/plugin install ctx-control@claude-code-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.runsession.appendprompt.contextprompt.sectionprompt.attachmenttool.describetool.checktool.callsession.measureui.render- API calls
$.clock.after$.command.list$.command.register$.env.get$.fs.stat$.session.cwd$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.list$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
Pane- Can see
the system promptToolSearch calls- Reach
- level 1 of 3 reads filesreads env varsreads mod statepersists 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/bbarney7/claude-code-mods
- Path in repo
plugins/ctx-control- Source commit
490361cthe exact code the scan read- Author
- Brennen Barney @bbarney7
- 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 bbarney7/claude-code-mods
cache-keeper
bbarney7/claude-code-mods
Keeps an idle session's prompt cache warm for as long as you choose, then compacts or hands off before it expires; holds a costly cold send with its price and your choices; /keepwarm opens a pane with the session's settings
effort-router
bbarney7/claude-code-mods
Sets the effort of each main-conversation turn from how demanding its prompt is, rated by Jev (through OpenRouter or TypeSafe) with Haiku as the fallback
mod-firewall
bbarney7/claude-code-mods
A firewall for Claude Code mods: watches what every other mod does (network, processes, secret files, env vars) and asks, blocks or logs
room
bbarney7/claude-code-mods
Codex, Cursor and a second Claude inside Claude Code: an agent room (one chat, @mentions, handoffs) plus one-shot reviews and delegation
switchboard
bbarney7/claude-code-mods
See and message your other Claude Code and Codex sessions: who is working on what, direct messages, broadcast, handoffs, an inbox that holds incoming messages for approval, and live warnings when another session edited the same file