Claude Code mod

ctx-mod

Proactive context management: a task ledger, a searchable history and zero-summary window switches.

5 starsContext & usage mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add wdsewdser-bit/claude-code-mods
/plugin install ctx-mod@claude-code-mods

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L2Writes or runs: writes files, drives Claude, reads files, reads env vars, reads the transcript, reads mod state, draws
Sees
the system prompt, mcp__ctx-mod__context calls, mcp__ctx-mod__ledger_append calls, mcp__ctx-mod__ledger_read calls, mcp__ctx-mod__decision_revoke calls, mcp__ctx-mod__history calls, every tool call, subagent spawns, compaction, every prompt
Hooks
prompt.contextsession.startcommand.runprompt.composeprompt.attachmenttool.callsession.appendagent.spawnturn.stepturn.completesession.compactprompt.submitsession.measuresession.end

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
ctx-mod
Marketplace
claude-code-mods
Author
yadaz
License
MIT
Last updated
30 October 2026

FAQ

What is ctx-mod?

Proactive context management: a task ledger, a searchable history and zero-summary window switches. It is a mod for Claude Code, from wdsewdser-bit/claude-code-mods on GitHub.

What can the ctx-mod mod access?

Its widest reach is "writes or runs" (writes files, drives Claude, reads files, reads env vars, reads the transcript, reads mod state, draws). It sees the system prompt, mcp__ctx-mod__context calls, mcp__ctx-mod__ledger_append calls, mcp__ctx-mod__ledger_read calls, mcp__ctx-mod__decision_revoke calls, mcp__ctx-mod__history calls, every tool call, subagent spawns, compaction, every prompt. Like any mod, it runs with your permissions.

How do I install ctx-mod?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add wdsewdser-bit/claude-code-mods and then /plugin install ctx-mod@claude-code-mods.

Is ctx-mod popular?

wdsewdser-bit/claude-code-mods has 5 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 30 October 2026.

More context & usage mods

relay

21

ersinkoc/claude-mods

KOZMOS Relay: the API latency lab in a sidebar. Every model request of the main loop and its subagents with latency, time to first token, model, effort, input/output/cache tokens, tokens per second and stop reason; a latency histogram, tokens/sec over time, model mix, p50/p95, the slowest five and cache-read share per request. /relay toggles it.

Context & usage mods/plugin install

agent-governor

aecheman27-gif/claude-mods

Watches subagents in long, fan-out-heavy sessions: a [GOV] band while agents run (count, peak, tokens) and a toast when too many run at once or an agent or the session goes over its token budget. Warn-only by default; /governor caps on asks before over-limit spawns and stops over-budget agents, /governor route picks a model per agent type.

Context & usage mods/plugin install

context-meter

21

promptadvisers/claude-mods-starter-kit

Context window and session cost meter, drawn above the prompt.

Context & usage mods/plugin install

ak-cockpit

thieung/claude-mods

AgentKit cockpit above the prompt: context fill with a handoff nudge, and the active plan's phase and checklist.

Context & usage mods/plugin install

usage-limits

3

AbhiramDwivedi/claude-ops

Keeps the 5-hour and weekly limit windows, their burn rate, a run-out projection, context fill, session cost and prompt-cache drops in a dim line above the prompt

Context & usage mods/plugin install

baton

hal-9/claude-mods

Context budget guard and handoff relay: measures real context use per model request, stops subagents that run too long or too big, and hands work over to a fresh session before the main agent drowns.

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.