mksglu/context-mode

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

Latest release v1.0.169 · 29 Jun 2026

2 files for Claude Code: context-mode, context-mode CLAUDE.md — 1,184 tokens loaded in every session.

32,439Stars on the repository
2Files it configures its agents with
1,184Tokens loaded in every session
1Agent configured
▶ Claude Code is Expensive. This MCP Server Fixes It (Context Mode) Better Stack · about mksglu/context-mode · on YouTube →

Instructions

Settings

These files are mksglu/context-mode's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.