mksglu/context-mode
View on GitHub ↗ ★ 33,220 TypeScript
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.
13 mentions on Hacker News by 9 people: 3 stories, 10 comments · first 2026-02-25 · latest 2026-11-01
20082026
-
▲ 1
Context Mode – An Open-Source MCP Server That Reduces AI Coding Context Usagestory by Moon_Y · 2026-11-01 · 0 comments
-
Have you tried https://github.com/mksglu/context-mode ? I prefer it over rtk / headroom (at least in Cursor). The stop hooks seem to work well / prevent the agent from blowing up its context window.
comment by kurtextrem · 2026-05-20 · in Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep -
Since this site seems to have an allergy to information density and usability, here's the GH: https://github.com/mksglu/context-mode Some discussion about this from a couple of months ago: https://news.ycombinator.com/item?id=47193064…
comment by esperent · 2026-05-03 · in Context Mode v1.0.0 -
You mean this? https://github.com/mksglu/context-mode Is it actually good or is this an ad?
comment by templar_snow · 2026-04-18 · in Anonymous request-token comparisons from Opus 4.6 and Opus 4.7 -
I assume they mean: https://github.com/mksglu/context-mode
comment by vidarh · 2026-04-18 · in Anonymous request-token comparisons from Opus 4.6 and Opus 4.7 -
…Any thoughts on claude-mem[0] + context-mode[1]? [0] https://github.com/thedotmack/claude-mem [1] https://github.com/mksglu/context-mode
comment by MarcelOlsz · 2026-04-16 · in Claude Opus 4.7 -
…and context-mode being the most useful so far ( https://github.com/mvanhorn/last30days-skill and https://github.com/mksglu/context-mode ). The biggest unlock was wiring it up to my agency's whatsapp group - it's now basically a multiplayer…
comment by piotraleksander · 2026-04-16 · in Ask HN: Who is using OpenClaw? -
…(Claude Code): /install context-mode Install (all platforms): npm install -g context-mode GitHub: https://github.com/mksglu/context-mode Release notes: https://github.com/mksglu/context-mode/releases/tag/v1.0.0 Four adapters are in beta —…
comment by mksglu · 2026-03-05 -
…Not that em dash = ai, but in the context of a post about AI it seems more likely. And finally, https://github.com/mksglu/claude-context-mode/blob/main/cont... the file the author linked in their own repo does not exist! (…
comment by dematz · 2026-02-28 · in MCP server that reduces Claude Code context consumption by 98% -
…spawns a child process via Node's child_process.spawn() with a curated env built by #buildSafeEnv ( https://github.com/mksglu/claude-context-mode/blob/main/cont... ). It passes through an explicit allowlist of auth vars (GH_TOKEN,…
comment by mksglu · 2026-02-28 · in MCP server that reduces Claude Code context consumption by 98% -
…general-purpose so they can use batch_execute instead of flooding context with raw output. Source: https://github.com/mksglu/claude-context-mode Happy to answer any architecture questions.
comment by mksglu · 2026-02-28 · in MCP server that reduces Claude Code context consumption by 98% -
▲ 1
Show HN: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Codestory by mksglu · 2026-02-25 · 0 comments
-
▲ 84
Show HN: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Codestory by mksglu · 2026-02-25 · 23 comments