github.devotd.
NewCoding agents

mksglu/context-mode v1.0.169 — Coding agent context management

mksglu/context-mode is a TypeScript tool that manages coding agent context through tool output sandboxing and session memory.

Repositorymksglu/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.

stars
★ 30.4K
Forks
2.2K
Language
TypeScript
License
NOASSERTION
Latest release
v1.0.169
Read original source ↗View on GitHub ↗

mksglu/context-mode is a TypeScript tool that manages the context window of a coding agent. The latest public release is v1.0.169, but the provided information does not state what changed in that version. According to the repository description, it sandboxes tool output to reduce how much enters the context and maintains session memory.

It handles tool output in the form of an MCP server, and applies routing to 17 platforms via MCP and hooks. It also offers a feature that processes analysis with scripts instead of having the model read it repeatedly. The README explains that tool output sandboxing cuts 315 KB down to 5.4 KB, a 98% reduction. It also gives an example of replacing the 700 KB from an operation read 47 times with a single 3.6 KB ctx_execute call. Its central purpose is to save context and connect the tool across multiple coding agent platforms.

However, the reduction figures and examples are the project's own measurements as recorded in its README, and no independent verification results are included in the provided information. The license label in the repository metadata is NOASSERTION, while the README summary describes it as ELv2, so the license terms should be checked before actual use. The release changelog also cannot be reviewed, leaving insufficient basis to judge the specific improvements in v1.0.169 or the actual reduction effect in real environments.