-
Notifications
You must be signed in to change notification settings - Fork 111
Add Context Mode -- sandbox large outputs, return only summaries#48
Open
mksglu wants to merge 1 commit intoccplugins:mainfrom
Open
Add Context Mode -- sandbox large outputs, return only summaries#48mksglu wants to merge 1 commit intoccplugins:mainfrom
mksglu wants to merge 1 commit intoccplugins:mainfrom
Conversation
Context Mode
A Claude Code plugin that processes large outputs in sandboxed subprocesses instead of dumping raw data into the context window.
Without Context Mode: 315 KB of raw data burns ~80K tokens per session
With Context Mode: 5.4 KB of clean summaries -- same analysis, 98% less context
| Operation | Raw Output | With Context Mode | Savings |
|---|---|---|---|
| Playwright snapshot | 56.2 KB | 299 B | 99% |
| GitHub Issues (20) | 58.9 KB | 1.1 KB | 98% |
| Access log (500 req) | 45.1 KB | 155 B | 100% |
| Git log (153 commits) | 11.6 KB | 107 B | 99% |
Features
- 5 MCP tools:
execute,execute_file,index,search,fetch_and_index - 10 language runtimes
- SQLite FTS5 knowledge base with BM25 ranking
- Authenticated CLI passthrough (gh, aws, gcloud, kubectl, docker)
Install
claude mcp add context-mode -- npx -y context-mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.