Skip to content

[Resource] Context Mode — Claude Code plugin that saves 98% context tokens #829

Description

@mksglu

Resource: Context Mode

Type: Claude Code Plugin (MCP server + skill)
GitHub: https://github.com/mksglu/claude-context-mode
npm: https://www.npmjs.com/package/context-mode
Category suggestion: Tooling / Plugins

What it does

Context Mode processes large outputs in sandboxed subprocesses instead of dumping raw data into the context window. Only summaries enter the conversation.

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%

Install

claude mcp add context-mode -- npx -y context-mode

Features

  • 5 MCP tools: execute, execute_file, index, search, fetch_and_index
  • 10 language runtimes (JS, TS, Python, Shell, Ruby, Go, Rust, PHP, Perl, R)
  • SQLite FTS5 knowledge base with BM25 ranking
  • Authenticated CLI passthrough (gh, aws, gcloud, kubectl, docker)
  • Intent-driven filtering for large outputs

Process data in a sandbox, return only what matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions