mksglu/context-mode

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

20kStars on the repository
18Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

PreToolUse

01

mksglu/context-mode

Hook

Runs before the agent uses a tool for run_command, view_file, grep_search, web_fetch and read_url_content tool calls, running context-mode hook antigravity-cli pretooluse. From mksglu/context-mode.

20k +25 yesterday A tokens not measured

PostToolUse

02

mksglu/context-mode

Hook

Runs after a tool call finishes, running context-mode hook antigravity-cli posttooluse. From mksglu/context-mode.

20k +25 yesterday A tokens not measured

Stop

03

mksglu/context-mode

Hook

Runs when the agent finishes a response, running context-mode hook antigravity-cli stop. From mksglu/context-mode.

20k +25 yesterday A tokens not measured