context-mode

Use context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process data", "parse JSON", "filter results", "extract errors", "check build output", "analyze dependencies", "process API response", "large file analysis", "page snapshot", "browser snapshot", "DOM structure", "inspect page", "accessibility tree", "Playwright snapshot", "run tests", "test output", "coverage report", "git log", "recent commits", "diff between branches", "list containers", "pod status", "disk usage", "fetch docs", "API reference", "index documentation", "call API", "check response", "query results", "find TODOs", "count lines", "codebase statistics", "security audit", "outdated packages", "dependency tree", "cloud resources", "CI/CD output". Also triggers on ANY MCP tool output that may exceed 20 lines. Subagent routing is handled automatically via PreToolUse hook.

by mksglu 20k GitHub stars Other Updated Aug 18, 2026
context-mode skill by mksglu
context-mode — Integrations skill by mksglu

Overview

context-mode is an open-source integrations skill for Claude Code and compatible agents, published by mksglu. Its author describes it as: “Use context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process data", "parse JSON", "filter results", "extract errors",…”. The project has 20k stars on GitHub and ships custom license terms, so review them before reuse. Add it to your setup with `/plugin marketplace add mksglu/context-mode`.

What context-mode does

Default to context-mode for ALL commands. Only use Bash for guaranteed-small-output operations.

Best for

What’s inside

The SKILL.md for context-mode is organised into these sections:

  • MANDATORY RULE
  • Decision Tree
  • When to Use Each Tool
  • Automatic Triggers
  • Language Selection
  • Search Query Strategy
  • External Documentation
  • Critical Rules
  • Sandboxed Data Workflow
  • Examples
  • Debug an API endpoint
  • Analyze test output

Installation

Add context-mode to your agent with:

/plugin marketplace add mksglu/context-mode

Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.

Supported agents

  • Claude Code — ships a claude code plugin marketplace
  • Codex — declared in the repository topics
  • OpenCode — declared in the repository topics
  • GitHub Copilot — declared in the repository topics
  • Antigravity — declared in the repository topics

License

mksglu has not declared a standard open-source license for this repository (Other). Confirm the terms with the author before reusing it.

Strengths

  • Ships in mksglu/context-mode, an established project with 19,948 GitHub stars
  • Works with Claude Code, Codex, OpenCode, GitHub Copilot, Antigravity
  • Actively maintained — repository updated in the last 90 days

Things to check

  • No license declared — confirm terms with the author before reuse

Author

mksglu 10 skills in the catalog · GitHub profile ↗
View skills

Topics

Need a skill like this, tailored to your team?Build a custom skill →

Frequently asked questions

What does context-mode do?
Use context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process data", "parse JSON", "filter results", "extract errors", "check build output", "analyze dependencies", "process API response", "large file analysis", "page snapshot", "browser snapshot", "DOM structure", "inspect page", "accessibility tree", "Playwright snapshot", "run tests", "test output", "coverage report", "git log", "recent commits", "diff between branches", "list containers", "pod status", "disk usage", "fetch docs", "API reference", "index documentation", "call API", "check response", "query results", "find TODOs", "count lines", "codebase statistics", "security audit", "outdated packages", "dependency tree", "cloud resources", "CI/CD output". Also triggers on ANY MCP tool output that may exceed 20 lines. Subagent routing is handled automatically via PreToolUse hook.
How do I install context-mode?
Run /plugin marketplace add mksglu/context-mode in your agent, then reload your skills. Review the source at https://github.com/mksglu/context-mode before installing.
Is context-mode free to use?
context-mode is publicly available on GitHub, but mksglu has not declared a standard open-source license (Other). Confirm the terms with the author before reusing it.
Which agents does context-mode work with?
context-mode lists Claude Code, Codex, OpenCode, GitHub Copilot, and Antigravity — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
Where does context-mode come from?
context-mode ships inside mksglu/context-mode, a repository that contains 10 catalogued skills in total. The repository's 19,948 GitHub stars apply to that whole collection, not to this skill on its own.

Manage context-mode GitHub issues, PRs, releases, and marketing with parallel subagent army. Orchestrates 10-20 dynamic agents per task. Use when triaging issues, reviewing PRs, releasing versions, writing LinkedIn posts, announcing releases, fixing bugs, merging contributions, validating ENV vars, testing adapters, or syncing branches.

Claude CodeCodexOpenCode+2
20k GitHub stars Other Updated Aug 18, 2026 Free

Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor

Claude CodeCodexOpenCode+2
20k GitHub stars Other Updated Aug 18, 2026 Free

Index a local file or directory into context-mode's persistent FTS5 knowledge base so future ctx_search calls can retrieve focused snippets without rereading raw files. Trigger: /context-mode:ctx-index

Claude CodeCodexOpenCode+2
20k GitHub stars Other Updated Aug 18, 2026 Free

Open the context-mode Insight dashboard in your default browser. Insight is the hosted analytics layer for AI-assisted engineering teams — per-engineer productive rate, retry waste, blocker detection, role-narrowed views. Trigger: /context-mode:ctx-insight

Claude CodeCodexOpenCode+2
20k GitHub stars Other Updated Aug 18, 2026 Free

Purge the context-mode knowledge base. Permanently deletes all indexed content and resets session stats. This is destructive and cannot be undone. Trigger: /context-mode:ctx-purge

Claude CodeCodexOpenCode+2
20k GitHub stars Other Updated Aug 18, 2026 Free