Ross ROSS = Recommend OSS · open-source software intelligence for agents

mksglu/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. observed · 2026-08-28

github.com/mksglu/context-mode · homepage · TypeScript · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

74/100

  • Activity 99
  • Release rhythm 78
  • Longevity 13

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0.0
  • age_days: 191
  • days_rel: 65
  • days_push: 7
  • n_releases_24m: 195

Full methodology

Adoption not part of the score

20167 stars · 1461 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

An open-source MCP plugin that optimizes AI coding agent context windows by intercepting large tool outputs, storing them in a local FTS5 index, and letting the agent search instead of re-sending raw data. It also persists session memory and enforces routing across 17 AI platforms including Claude Code, Cursor, Copilot, and Codex.

Use cases

  • reduce token usage in claude code
  • stop ai agent from burning context window
  • sandbox tool output for llm agents
  • persist session memory across ai coding sessions
  • make copilot or cursor use fewer tokens
  • search tool output instead of resending it
  • optimize mcp server context
  • cut llm api costs for coding agents

When to choose

  • you use AI coding agents heavily and hit context window limits
  • you want to reduce LLM input token costs from repeated tool output
  • you need session memory persistence across agent resets
  • you work across multiple AI coding tools and want consistent context handling

When to avoid

  • you need a permissively licensed dependency (it uses Elastic License 2.0)
  • you want a fully managed cloud analytics platform rather than a local plugin
  • your agent workflows involve minimal tool output and context is not a bottleneck

Facets

plugin · maturity active

mcp caching search-engine developer-tools llm-inference developer-tools large-language-models cli cross-platform context-window-optimization mcp-server claude-code ai-coding-agents token-savings session-memory tool-output-sandboxing fts5 cursor copilot ai-agents nodejs docker

4 sources

Member repositories

RepositoryRoleHealth v2
mksglu/context-modemain74

For agents

markdown · JSON · MCP: product_card(name="mksglu/context-mode")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem