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.

Updated 2026-10-29

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.

TypeClaude code mod
Authorbbarney7
Repositorybbarney7/claude-code-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (88/100)
Rank#5,096 of 9,397 Claude Code mods; #452 in Context & memory
LicenseMIT
Last commit2026-10-29
Hooks11 events
SeesToolSearch calls, the system prompt
Draws onPane

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.command.list
$.command.register
$.env.getreads env vars
$.fs.statreads files
$.session.cwd
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.list
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install ctx-control?

  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/bbarney7/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/ctx-control
  3. 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)