mksglu / context-mode
TypeScript · GitHub Trending 8 Sep 2026 · 96 stars today
Three verbs, one of them measured

Two claims you take on faith. One arrives with a percentage.

$ add context-mode
github.com/mksglu/context-mode

Sandboxes tool output, persists session memory, enforces routing. Only the first verb has a number attached, and 98 percent is a big enough figure that a reader will want to know what it was measured against.

The one published number

quoted from the description, no baseline given
Tool output, before and afterProportions from the quoted figure only
unsandboxed
100%
sandboxed
2%
the project publishes98% reduction no workload, no tool, no baseline named
sandboxes tool output The only verb with a figure behind it. A number that large invites the question of which tool and which task. 98% reduction, source unstated
persists session memory A behaviour you check by starting a second session and seeing whether anything survived. no format named
enforces routing Across 17 platforms via MCP and hooks. The count is stated, the platforms are not. 17 named as a count only

Context is now the bottleneck

Three separate repos on this board work on the window rather than the model, which is what happens once everyone has the same model and different amounts of room to use it.

MCP and hooks are the mechanism

Naming both means the tool sits between the agent and its tools rather than inside the prompt, which is where an interception layer has to live to catch every call.

What is not on this page

No platform list, no measured workload, no memory format, no token counts. The trending description gives two numbers and no method.

Concept mock, not affiliated with the project. The GitHub Trending description on 8 September 2026 reads "Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks." The two bars are drawn directly from the quoted 98 percent figure and represent nothing else. No workload, tool, or baseline is shown, because the description names none.