← ClaudeAtlas

context-modelisted

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory across compactions, and enforces routing across 17 platforms via MCP + hooks. Use when context window is filling up, tool outputs are too large, or session state needs to survive compaction. Works with Antigravity, Claude, Cursor, Codex, Copilot, OpenCode, and more. Source: https://github.com/mksglu/context-mode — MCP-layer sandboxing, local-only, no telemetry.
williamcorrea23/sap-router-skill · ★ 0 · AI & Automation · score 69
Install: claude install-skill williamcorrea23/sap-router-skill
# Context Mode Skill **Context Mode** operates at the MCP protocol layer to sandbox tool outputs, persist session memory across compactions, and enforce routing across 17 AI platforms. **Nothing leaves your machine** — no telemetry, no cloud sync, all SQLite-local. ## Local Reference ``` sap-router-skill\bundled\tools\context-mode\ ``` ## Core Capabilities | Problem | Context Mode Solution | |---------|----------------------| | Tool output too large (7 MB API response) | `ctx_fetch_and_index` → 1.8 KB indexed summary | | Context compaction loses session state | `ctx_checkpoint` persists tasks, files, decisions | | 20 Jira MCP calls flood context | Wrap with `ctx_execute` → compact result | | Can't continue after compaction | `ctx_restore` rebuilds full session state | ## Installation ```bash # Repository-owned snapshot (already bundled) cd bundled/tools/context-mode npm install # Initialize for your agent (from project directory): # Claude Code npx context-mode init # Antigravity (Gemini) — copies .agents plugin files npx context-mode init --agent antigravity # Codex npx context-mode init --agent codex # Cursor npx context-mode init --agent cursor # Copilot npx context-mode init --agent copilot # OpenCode npx context-mode init --agent opencode ``` ## MCP Tools Available ### Execution Sandbox ``` ctx_execute - Run code in isolated subprocess, return compact result ctx_execute_file - Run code over a file (project-boundary confined) ctx_batch_execute