Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

context-mode — Claude Code skill for large outputs

This skill routes large files and command output through context-mode tools instead of Bash. Use it to inspect logs, test results, data files, or page snapshots.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mksglu/context-mode --skill context-mode -a claude-code
Open on GitHub

What context-mode does

The skill directs commands that read files, run tests, query data, or call external services to ctx_execute and ctx_execute_file. Bash remains available for small operations such as pwd, echo, and file mutations. When output size is uncertain, its rule is to use context-mode.

For web documentation, it uses ctx_fetch_and_index followed by ctx_search. Playwright snapshots are saved to a file for indexing or analysis with ctx_execute_file. The instructions also cover handling MCP tool output and choosing a language for different kinds of data work.

Playwright snapshots need to be saved with the filename parameter; the instructions say to ignore the automatic snapshot returned by browser_navigate. There is a practical constraint: Playwright MCP uses one browser instance, so parallel browser operations are not safe. The skill points to agent-browser for parallel automation.

What it helps with

  • extract errors from a large log file
  • run tests and inspect their output
  • compare branches and review recent commits
  • analyze CSV or JSON without loading the full file into context
  • search indexed web documentation

Example prompts for the agent

  • Analyze `error.log` and list the errors.
  • Run the tests and identify failures in the output.
  • Save a page snapshot to a file and find the form elements.

How to install context-mode

1Skills CLI (Vercel)

npx skills add mksglu/context-mode --skill context-mode -a claude-code

2Manually: put the files in place

~/.claude/skills/context-mode/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/context-mode/

From the same set7

The whole set →

Similar

sox-testing official anthropics Builds sample selections, testing workpapers, and control assessments for SOX 404. Use it to plan a control test for a specified period. Claude Code CX Codex Cursor +1 2,700installs dogfood callstack Coordinates exploratory mobile app testing on iOS and Android via agent-device. Discovers UI bugs and workflow issues in runtime. Claude Code CX Codex Cursor +1 11,200installs wcag-audit-patterns Seth Hobson Audits web interfaces against WCAG 2.2 with automated checks and manual verification. Use it to find violations and build accessible patterns. Claude Code CX Codex Cursor 12,486installs cmux-debugging manaflow-ai Skill for adding debug logging, diagnosing UI and runtime issues in cmux. Use when working with terminal rendering, tab lists, drag-and-drop, or testing across macOS versions. Claude Code CX Codex Cursor +1 4,700installs dfam-check earthtojake Measures mesh files against Design for Additive Manufacturing rules to evaluate printability before slicing or running CAD regeneration. Claude Code CX Codex Cursor +1 4,100installs argent-ios-simulator-setup software-mansion A skill for connecting to an iOS simulator via argent MCP tools. Use it to find a booted simulator, get its UDID, and prepare for any interaction task. Claude Code CX Codex Cursor +1 26,300installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about context-mode

How do I install context-mode in Codex?

Run npx skills add mksglu/context-mode --skill context-mode -a codex. The skill file is at .agents/skills/context-mode/SKILL.md.

What does context-mode do?

It routes large outputs, files, and command results through ctx_execute or ctx_execute_file, while leaving small, safe operations to Bash.

How should I inspect Playwright snapshots?

Save the snapshot with the filename parameter, then use ctx_index and ctx_search or ctx_execute_file. Playwright MCP shares one browser instance, so parallel operations with it are not safe.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor