Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/plugins/melodic-software/claude-code-plugins/context-usage)<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/context-usage"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/context-usage/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/context-usage"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/context-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
context-usage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
{
"name": "context-usage",
"description": "Per-session context-window observability. A mod writes each session's context-window figures to a snapshot file and shows the person a toast and a transcript line when the context zone (light, moderate or heavy, from bands in zones.json) worsens; with model_notices on (off by default) it also tells Claude the zone at each crossing, approach and compaction. /context-usage prints status and toggles an optional band row. It answers a status tool. A PostCompact hook leaves a marker.",
"author": {
"name": "Melodic Software",
"email": "[email protected]"
},
"version": "6.0.2",
"license": "MIT",
"keywords": [
"context-window",
"mod",
"zones",
"context-degradation",
"session",
"hooks",
"skill"
],
"metadata": {
"category": "claude-code"
},
"userConfig": {
"context_usage_hooks_enabled": {
"type": "boolean",
"title": "Zone notices and compaction marker",
"description": "Runs the module's zone lines and toasts and the PostCompact marker hook. On by default; off, none of them acts. Snapshot writes continue either way.",
"default": true
},
"model_notices": {
"type": "boolean",
"title": "Model notices",
"description": "Sends Claude one line when the session enters a worse context zone, nears a boundary or passes a zones.json threshold, and restates the zone after a resume, reload or compaction (with no figures yet, says the reading is unavailable). Off by default; the rest of the plugin works either way.",
"default": false
},
"zone_report_mode": {
"type": "string",
"title": "Zone report mode",
"description": "Acts only with model_notices on. automatic (default) sends the lines to Claude; operator holds them in a turn a person typed and offers the person a ready-made prompt and a notice row when the turn ends. Headless, loop and schedule turns get automatic lines either way.",
"defWhat this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 65 lines scan A c029d9a3eba8
context-usage is a plugin published in the GitHub repository melodic-software/claude-code-plugins (30 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.
context-usage compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-usagemelodic-software/claude-code-plugins | Plugin | 30 | today | MIT | A | — | Claude Code |
| humanizerblader/humanizer | Plugin | 69k | 4d ago | MIT | A | — | Claude Code |
| claude-plugins-official marketplaceanthropics/claude-plugins-official | Plugin | 47k | today | Apache-2.0 | A | — | Claude Code |
| nextjsvercel/next.js | Plugin | 144k | today | MIT | A | — | Claude Code |
| themes-examplegoogle-gemini/gemini-cli | Plugin | 109k | today | Apache-2.0 | A | — | Gemini CLI |
| knowledge-work-plugins marketplaceanthropics/knowledge-work-plugins | Plugin | 36k | yesterday | Apache-2.0 | A | — | Claude Code |
| code-modernizationanthropics/claude-plugins-official | Plugin | 47k | today | Apache-2.0 | A | — | Claude Code |