Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2026 (13)
20082026
  1. 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.
  2. 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
  3. You mean this? https://github.com/mksglu/context-mode Is it actually good or is this an ad?
  4. I assume they mean: https://github.com/mksglu/context-mode
  5. …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
  6. …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?
  7. …(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
  8. …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! (…
  9. …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,…
  10. …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.