What is ctx-control?
ctx-control is a Claude Code mod by bbarney7 that see and control the skills, tools, files, and other context sent with every message. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | bbarney7 |
| Repository | bbarney7/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Low risk (88/100) |
| Rank | #5,096 of 9,397 Claude Code mods; #452 in Context & memory |
| License | MIT |
| Last commit | 2026-10-29 |
| Hooks | 11 events |
| Sees | ToolSearch calls, the system prompt |
| Draws on | Pane |
Is ctx-control safe to install?
ctx-control scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.command.list | |
$.command.register | |
$.env.get | reads env vars |
$.fs.stat | reads files |
$.session.cwd | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.list | |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install ctx-control?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/bbarney7/claude-code-mods claude plugin validate ./claude-code-mods/plugins/ctx-control
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add bbarney7/claude-code-mods && claude plugin install ctx-control@claude-code-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs ctx-control for you:
Install the "ctx-control" Claude Code mod from https://github.com/bbarney7/claude-code-mods/tree/main/plugins/ctx-control. Run claude plugin validate on it first and show me what it can access before you enable it.
More from bbarney7/claude-code-mods
This repository has 6 Claude Code mods on MCPMods.
- cache-keeper: Keeps an idle session's prompt cache warm for as long as you choose, then compacts or hands off before it expires; holds (Low risk)
- effort-router: Sets the effort of each main-conversation turn from how demanding its prompt is, rated by Jev (through OpenRouter or Typ (High risk)
- mod-firewall: A firewall for Claude Code mods: watches what every other mod does (network, processes, secret files, env vars) and asks (Low risk)
- room: Codex, Cursor and a second Claude inside Claude Code: an agent room (one chat, @mentions, handoffs) plus one-shot review (High risk)
- switchboard: See and message your other Claude Code and Codex sessions: who is working on what, direct messages, broadcast, handoffs, (Low risk)