github mksglu/context-mode v0.6.1

latest releases: v1.0.75, v1.0.74, v1.0.73...
one month ago

What's New

Unified PreToolUse Hook

Single pretooluse.sh replaces separate hook scripts. Now intercepts both Bash data-fetching commands and subagent prompts.

Bash Data-Fetching Interception

The hook automatically blocks curl, wget, and inline fetch() calls via Bash, redirecting the model to use context-mode execute instead. This prevents large HTTP responses from flooding the context window.

Large JSON API — Try It prompt

New demo prompt: create a 7.5 MB JSON endpoint, fetch it through context-mode, and extract a hidden record. 7.25 MB raw → 412 bytes context.


Install:

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

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.