Claude Code plugin
context-mode
Plugin that sandboxes tool output and indexes it so it stays out of the context window.
Install
/plugin marketplace add mksglu/context-modegit clone https://github.com/mksglu/context-mode.gitFrom the README
Context Mode The other half of the context problem. Used across teams at The Problem Every MCP tool call dumps raw data into your context window. A Playwright snapshot costs 56 KB. Twenty GitHub issues cost 59 KB. One access log — 45 KB. After 30 minutes, 40% of your context is gone. And when the agent compacts the conversation to free space, it forgets which files it was editing, what tasks are in progress, and what you last asked for. On top of that, the agent wastes output tokens on filler, pleasantries, and verbose explanations — burning context from both sides. How Context Mode Solves It Context Mode is an MCP server that solves all four sides of this problem: 1. Context Saving — Sandbox tools keep raw data out of the context window. 315 KB becomes 5.4 KB. 98% reduction. 2. Session Continuity — Every file edit, git operation, task, error, and user decision is tracked in SQLite. When the conversation compacts, context-mode doesn't dump this data back into context — it indexes events into FTS5 and retrieves only what's relevant via BM25 search. The model picks up exactly where you left off. If you don't --continue, previous session data is deleted immediately — a fresh session means a clean slate. 3. Think in Code — The LLM should program the analysis, not compute it. Instead of reading 50 files into context to count functions, the agent writes a script that does the counting and console.log()s only the result. One script replaces ten tool calls and saves 100x context. This is a mandatory paradigm across all 17 supported clients, plus the OpenClaw gateway integration: stop treating the LLM as a data processor, treat it as a code generator. 4. No prose-style enforcement — context-mode keeps raw data out of context but never dictates how the model writes its…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add mksglu/context-mode, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- mksglu/context-mode
- Language
- TypeScript
- Last updated
- 3 November 2026
- Topics
- antigravityclaudeclaude-codeclaude-code-hooksclaude-code-pluginsclaude-code-skillcodexcodex-clicontext-modecopilotcursor-pluginkiro
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is context-mode?
Plugin that sandboxes tool output and indexes it so it stays out of the context window. It is a plugin for Claude Code, from mksglu/context-mode on GitHub.
How do I install context-mode?
Run /plugin marketplace add mksglu/context-mode inside Claude Code, then follow the setup in the README.
Is context-mode popular?
mksglu/context-mode has 33,364 GitHub stars and 2,298 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More plugins & marketplaces
Compound Engineering
26kEveryInc/compound-engineering-plugin
Every's plugin of commands and agents for a plan-work-review compounding engineering loop.
Codex Plugin for Claude Code
35kopenai/codex-plugin-cc
Official OpenAI plugin that lets Claude Code call Codex for reviews and delegated tasks.
Knowledge Work Plugins
35kanthropics/knowledge-work-plugins
Anthropic's open-source plugins for knowledge workers in Cowork and Claude Code.
Pm Skills
28kphuryn/pm-skills
PM Skills Marketplace: 100+ agentic skills, commands, and plugins — from discovery to strategy, execution, launch, and growth.
wshobson/agents
42kwshobson/agents
Large multi-harness plugin marketplace of agents, commands and skills.
Claude Plugins Community
4.8kanthropics/claude-plugins-community
Read-only mirror of the community plugin marketplace for Claude Code and Cowork.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.