skillsby mksglu
context-mode
Context Mode is an MCP server and plugin system designed to dramatically reduce context window bloat by sandboxing tool outputs and indexing content using SQLite FTS5. It tracks session state across conversation compactions to preserve working context and routing across various AI coding assistants.
AI-written from the README.
Best for
Developers using AI coding assistants who want to prevent large tool outputs from overflowing their context windows.
Highlights
- Provides 11 MCP tools for sandboxed execution, batching, and full-text search indexing.
- Tracks session events in a local SQLite database to survive conversation compaction.
- Supports multiple AI platforms including Claude Code, Gemini CLI, Cursor, and OpenCode.
Getting started
Quoted from the project's README. Read it before you run it.
/plugin marketplace add mksglu/context-modePros
- Reduces context window token consumption by up to 98% through output sandboxing.
- Maintains local storage with zero cloud telemetry or account requirement.
Cons
- Requires platform-specific configuration or hook setups for automatic routing.
- Some supported platforms have limited hook capabilities, affecting full session continuity.
Security notes
AI-generated and unchecked. Always read the source yourself.
The README states that `ctx_execute` and `ctx_batch_execute` run arbitrary code and inherit process filesystem access, meaning any execution tool should be treated as running arbitrary code. It also mentions that tool inputs containing API keys and other sensitive credentials are automatically redacted before persistence in the session database.
Community score
… points
Votes measure opinion, not security or correctness.