
Context Mode
This is a routing layer that intercepts commands and decides whether to run them in Bash or send them to a subagent sandbox where output stays out of your context window. The rule is simple: file operations and git commits run directly, everything else (API calls, log files, test output, CLI tools) goes through ctx_execute or ctx_execute_file. It includes special handling for browser snapshots and MCP tool output. The skill really shines when you're debugging API responses, parsing build logs, or inspecting large JSON blobs without burning through your context budget. It's opinionated about defaulting to context mode when uncertain, which makes sense if you've ever had a single kubectl describe eat half your available tokens.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 18
- skills.sh installs
- 185
- GitHub stars
- 16.2K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add mksglu/claude-context-mode --skill context-mode --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is a routing layer that intercepts commands and decides whether to run them in Bash or send them to a subagent sandbox where output stays out of your context window. The rule is simple: file operations and git commits run directly, everything else (API calls, log files, test output, CLI tools) goes through ctx_execute or ctx_execute_file. It includes special handling for browser snapshots and MCP tool output. The skill really shines when you're debugging API responses, parsing build logs, or inspecting large JSON blobs without burning through your context budget. It's opinionated about defaulting to context mode when uncertain, which makes sense if you've ever had a single kubectl describe eat half your available tokens.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/mksglu/claude-context-mode
- First seen
- Jun 3, 2026