← Founder Notes
Archive

Context windows are being cut by sandboxing the tools. context-mode, out september 7, claims a 98%…

Yethikrishna ROriginal on Threads

context windows are being cut by sandboxing the tools. context-mode, out september 7, claims a 98% reduction in tool output size by isolating command output, with session memory and routing across 17 platforms via mcp.

the agent's memory diet is the next optimization.

Context

The mksglu/context-mode repository describes context window optimization for AI coding agents that sandboxes tool output (98 percent reduction), persists session memory and enforces routing across 17 platforms via MCP and hooks. It was created on 23 February 2026, its README license badge reads Elastic License 2.0 and GitHub shows Other. The README example turns 315 KB into 5.4 KB, tracks session events in SQLite retrieved with FTS5 and BM25 after compaction, lists 11 MCP tools, and says hook-capable platforms get automatic routing enforcement while other platforms need a one-time routing file copy. It showed 20,331 stars on 4 October 2026.

How it compares

The note's claims match the maker's own text. The 98 percent is one worked example of tool output and not a measured average across tasks or total agent token use, and no independent benchmark was read. Seventeen platforms is the maker's count and routing is automatic only on hook-capable ones. Out September 7 was not found: the repository was created in February 2026 and the maker blog is dated 26 February. The license is source-available and not OSI open source, and the note does not claim open source. That the memory diet is the next optimization is the author's opinion.

Related work

Watch next

  • An independent measurement of net token and quality effects across tasks.

Sources

  1. mksglu/context-mode (GitHub)github.com

Provenance

The note above is reproduced unedited from the original post, first published on Threads on 20 September 2026 at 19:55 IST. Sources are the papers and datasets the note draws on.

View the original post
Embed this note
<iframe src="https://founder.myndlabs.tech/notes/embed/context-windows-are-being-cut-by-sandboxing-the-Ddgy6GNAjjX" width="480" height="420" style="border:0;max-width:100%" loading="lazy" title="Context windows are being cut by sandboxing the tools. context-mode, out september 7, claims a 98%…"></iframe>

More notes