Home/AI Agents/context-mode
context-mode logo

context-mode

mksglu/context-mode

Context window optimization for AI coding agents

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

24k stars1.7k forksLast push Sep 19, 2026 TypeScript Other

Decision brief

Unverified catalog guidance: Optimizes AI coding agent context windows via sandboxing and persisting session memory across 17 platforms using MCP plus hooks.

Good fit when

  • Unverified catalog guidance: You require seamless support for multiple coding environments including antigravity, claude-code, codex, copilot, and more.
  • Unverified catalog guidance: Your use case involves frequent switching between coding tasks needing a persistent context window without losing memory state.

Avoid when

  • Unverified catalog guidance: Your project works only on platforms not covered by the 17 supported environments listed in the repository topics section.
  • Unverified catalog guidance: You need real-time updates and direct manipulation of code snippets that bypass the sandboxed output feature, as it enforces an up to 98% reduction without manual override options.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (23,686) are secondary evidence.

npm downloads (30d)
70,267·npm downloads API·Sep 20, 2026

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 20, 2026
Provenance
Not a fork · Personal account
As of Sep 20, 2026
Security (OSV)
No lockfile
As of Jul 12, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install -g context-mode

README installation instruction · observed Sep 20, 2026

npm

Relationship proposals(1)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A tool that optimizes context windows for AI coding agents by sandboxing outputs and persisting session memory with support across multiple platforms using MCP plus hooks.

Capability facts

CLI
Unknown; CLI entrypoint not verified

Source: package.json:bin|scripts · Sep 20, 2026

MCP server
Unknown; MCP server not established by this scan

Source: package.json:@modelcontextprotocol/* · Sep 20, 2026

Languages
typescript, javascript

Source: github.language+package.json · Sep 20, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Sep 20, 2026)

**Prerequisites:** Node.js >= 22.5 (or Bun), Gemini CLI installed.
Source link

Tags

README

Install Platforms are grouped by install complexity. Hook capable platforms get automatic routing enforcement. Non hook platforms need a one time routing file copy. <details open <summary <strong Claude Code</strong — plugin marketplace, fully automatic</summary Prerequisites: Cl...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.