Who it is forA developer using Claude Code who sees context run out after a few tool calls on a large repo or browser task.
The problemEach MCP tool call dumps raw data into the context window, so a single snapshot or issue list can use a large share of the budget.
The outcomeRaw tool output stays in sandbox tools, the context window stays smaller, and /context-mode:ctx-stats shows the savings per tool.
What you need first
- Claude Code v1.0.33+ for the plugin install, or Node.js >= 22.5 (or Bun) for the Gemini CLI setup
- An existing AI coding agent session in a project you want to work on
Steps
- Run
/plugin marketplace add mksglu/context-modein Claude Code. - Run
/plugin install context-mode@context-mode. - Restart Claude Code or run
/reload-plugins. - Run
/context-mode:ctx-doctorand confirm all checks show[x]. - Work as usual, then run
/context-mode:ctx-statsto see context savings by tool.
Prompt for your agent
In the context-mode repo, install the Claude Code plugin with the two /plugin commands in the README, then run /context-mode:ctx-doctor. Report whether every check shows [x]. Then run /context-mode:ctx-stats and report the savings ratio for the session.
Caveat. The README says routing is automatic in the plugin, but the status line needs a manual edit to ~/.claude/settings.json, and the README excerpt does not show every routing rule.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page