Tools
Context-Mode at 16.3K Stars: Sandbox Tool Output Achieves 98% Context Window Reduction Across 15 AI Coding Platforms
Context-Mode (mksglu/context-mode) isolates tool outputs in subprocesses so only stdout enters the agent's context window, with session state tracked in SQLite with FTS5 indexing. Hook-capable platforms (Claude Code, Gemini CLI, Cursor, Codex CLI, OpenClaw, and 6 others) get automatic 98% savings; MCP-only platforms get ~60%. Specific benchmarks: Playwright snapshots drop from 56.2 KB to 299 B (99%), GitHub Issues from 58.9 KB to 1.1 KB (98%), full sessions from 315 KB to 5.4 KB.
Source
↳ Follow the thread