Context Mode
Use context-mode (via supercli MCP) for large codebase analysis (50+ files), long command outputs, or repeated searches. Reduces token usage by up to 98%. NOT for simple commands or small file sets.
Install
npx skills add javimosch/supercli --skill context-modegit clone --depth 1 https://github.com/javimosch/supercli.git /tmp/supercli
mkdir -p ~/.claude/skills
cp -r /tmp/supercli/.agents/skills/context-mode ~/.claude/skills/context-modePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# context-mode Decision Guide
context-mode is an MCP server accessed via supercli. It maintains a persistent knowledge base across sessions.
## Quick Decision Tree
**Task size?**
- Small (1-10 files, < 500 lines output) → Use direct bash/read_file
- Large (50+ files, 1000+ lines output) → Use context-mode via supercli
**Will you search the same content multiple times?**
- Yes → Use context-mode (index once, search many times)
- No → Use direct tools
## Most Common Workflow (via supercli)
```bash
# 1. Verify context-mode is available
sc mcp list --json
# 2. Verify installation (daemon auto-starts)
sc mcp call --mcp-server context-mode --tool ctx_doctor --input-json '{}' --json
# 3. Explore codebase
sc mcp call --mcp-server context-mode --tool ctx_batch_execute --input-json '{
"commands": [
{"label": "Structure", "command": "find . -type f -name \"*.js\" | head -100"},
{"label": "Package", "command": "cat package.json"}
],
"queries": ["entry point", "dependencies", "routes"]
}' --json
# 4. Search indexed content (if needed)
sc mcp call --mcp-server context-mode --tool ctx_search --input-json '{
"queries": ["search terms"]
}' --json
```
## Tool Selection Guide
- **ctx_batch_execute**: Default for exploration - runs commands, indexes, searches in one call
- **ctx_index + ctx_search**: When you'll search the same content repeatedly
- **ctx_execute**: Single long-running command (npm test, build)Details
- Skill name
context-mode- Repository
- javimosch/supercli
- Path
.agents/skills/context-mode/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Context Mode skill do?
Use context-mode (via supercli MCP) for large codebase analysis (50+ files), long command outputs, or repeated searches. Reduces token usage by up to 98%. NOT for simple commands or small file sets.
How do I install the Context Mode skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add javimosch/supercli --skill context-mode. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Context Mode popular?
It lives in javimosch/supercli, which has 57 GitHub stars and 5 forks, and is included in 1 curated skill list.
Related skills
100 Exercises to Learn Rust
57javimosch/supercli
Use this skill when the user wants to use 100-exercises-to-learn-rust.
2to3
57javimosch/supercli
Use this skill when the user wants to use 2to3, cli tool: 2to3.
2to3 2.7
57javimosch/supercli
Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.
CubeSandbox
57javimosch/supercli
Use this skill when the user wants to use CubeSandbox for Instant, Concurrent, Secure & Lightweight Sandbox for AI Agents..
bVisor
57javimosch/supercli
Use this skill when the user wants to use bVisor for Embedded bash sandbox for agents, inspired by gVisor.
DeepTutor
57javimosch/supercli
Use this skill when the user wants to use DeepTutor for DeepTutor: Agent-native, Open-sourced Personalized Tutoring. https://deeptutor.i.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.