Claude Code mod

agent-ctx

Each agent loop's own context fill, measured per request; a one-line CONTEXT_PCT_ALERT rides that agent's next tool result. Subagents: absolute 200k warn / 250k finish / 300k stop (stop line on every result); main: 70/75/80% of its window. Controllers get CHILD_CTX on Agent and SendMessage results and CHILD_CTX_ALERT when a live child passes 250k/300k

7 starsContext & usage modsValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/Tekkiiiii/the-agency.git
claude --plugin-dir ./the-agency/mods/agent-ctx

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L1Reads: reads files, reads env vars, reads mod state
Sees
every tool call
Hooks
turn.steptool.call

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
mods/agent-ctx
Author
The Agency
Last updated
29 October 2026

FAQ

What is agent-ctx?

Each agent loop's own context fill, measured per request; a one-line CONTEXT_PCT_ALERT rides that agent's next tool result. Subagents: absolute 200k warn / 250k finish / 300k stop (stop line on every result); main: 70/75/80% of its window. Controllers get CHILD_CTX on Agent and SendMessage results and CHILD_CTX_ALERT when a live child passes 250k/300k It is a mod for Claude Code, from Tekkiiiii/the-agency on GitHub.

What can the agent-ctx mod access?

Its widest reach is "reads" (reads files, reads env vars, reads mod state). It sees every tool call. Like any mod, it runs with your permissions.

How do I install agent-ctx?

Clone Tekkiiiii/the-agency and start Claude Code with --plugin-dir pointing at the mod's folder (mods/agent-ctx).

Is agent-ctx popular?

Tekkiiiii/the-agency has 7 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 29 October 2026.

More context & usage mods

token-run

1.1k

YeonwooSung/my-claude-code-mods

A fully local ASCII runner game for Claude Code request failures and short breaks

Context & usage mods/plugin install

cache-keep-warm

7

andreichiritescu/claude-code-cache-keep-warm

Shows how long your session's prompt cache stays warm, and can keep it warm in the background while you are away

Context & usage mods/plugin install

usage-hud

8

ronanworks/claude-code-mods

输入框下方是三列对齐的模型/用量/状态面板,上方是一只会按工具做动作、带着子代理小螃蟹来回走的像素螃蟹(终端;Windows / macOS / Linux);配速预警和螃蟹情绪、每轮收据、一键压缩、额度恢复提醒、子代理看板 (/hud agents)、点档位切换

Context & usage mods/plugin install

cc-token-optimizer

7

Zoria-Lind/cc-token-optimizer

Claude Code token optimizer — read de-dup, output trimming, cold-start guard, model-tier nudges, plus a live token / cache-hit bar and /token-status. Tokens only, no cost estimate (billing differs per gateway). 中文:会话 token 监视与档位导演,装完即用 —— 只报 token、不折算金额(各厂商计费口径不同)。

Context & usage mods/plugin install

usage-band

8

KhadeerBasha1232/claude-usage-mod

Your Claude plan usage in one line above the prompt: 5-hour and weekly limits with reset times, context window, model and session cost.

Context & usage mods/plugin install

context-band

7

Tekkiiiii/the-agency

Band above the prompt: context %, tokens, model, cost, prompt-cache size/share/TTL countdown, 5h and weekly usage-window reset timers and next-request estimate; /ctx opens a detail pane; toast when a background subagent finishes; Jev router line (today's calls, tokens, USD, Haiku fallback) and outage warning, hidden unless the router usage log exists

Context & usage mods

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