Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Context Mode -- sandbox large outputs, return only summaries#48

Open
mksglu wants to merge 1 commit intoccplugins:mainfrom
mksglu:add-context-mode
Open

Add Context Mode -- sandbox large outputs, return only summaries#48
mksglu wants to merge 1 commit intoccplugins:mainfrom
mksglu:add-context-mode

Conversation

Copy link

mksglu commented Feb 24, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant