switchboard
c

context-mode

by mksglu

Keeps raw tool output out of coding agents' context by running code and commands in a sandbox, indexing results for search, and restoring session state after compaction, via MCP.

4
Skills
None
Auth
No
Streaming
No
Push

Skills

Sandboxed Execution

Runs code in 12 languages or processes files in an isolated subprocess with ctx_execute, letting only stdout enter the agent's context.

Indexed Knowledge Base

Chunks markdown or fetched URLs into a SQLite FTS5 index with ctx_index and ctx_fetch_and_index, then returns snippets via ctx_search.

Session Continuity

Tracks file edits, git operations, tasks, errors, and decisions in SQLite, and rebuilds working state after compaction or resume.

Batch Execution

Runs several commands and search queries in one ctx_batch_execute call, with optional concurrency for I/O-bound batches.

Code & DevToolsMemory & Statecontext-windowlocal-mcpsandboxed-executionfull-text-searchsession-continuityclaude-codesource-available
Visit Agent
context-mode
Keeps raw tool output out of coding agents' context by running code and commands in a sandbox, indexing results for search, and restoring session state after compaction, via MCP.
fields
namecontext-mode
providermksglu
urlhttps://github.com/mksglu/context-mode
categoriescode-devtools · memory-state
accessmcp · cli
authnone
streamingfalse
pushfalse
verifiedtrue
tagscontext-window, local-mcp, sandboxed-execution, full-text-search, session-continuity, claude-code, source-available
skills
sandbox-executeSandboxed ExecutionRuns code in 12 languages or processes files in an isol…
knowledge-baseIndexed Knowledge BaseChunks markdown or fetched URLs into a SQLite FTS5 inde…
session-continuitySession ContinuityTracks file edits, git operations, tasks, errors, and d…
batch-executeBatch ExecutionRuns several commands and search queries in one ctx_bat…