Skip to content
Agentmart
Submit a tool

context-mode

Use context-mode (via supercli MCP) for large codebase analysis (50+ files), long command outputs, or repeated searches.

Skill by javimosch

IndexedMIT★ 56
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/javimosch-context-mode

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/context-mode

What's inside

Skill name
context-mode
Description
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.
License
MIT
Instructions
64 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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)
- **ctx_fetch_and_index**: External documentation or API specs
- **ctx_purge**: Clear knowledge base between unrelated tasks
- **ctx_stats**: Check token savings

## When NOT to Use

- `ls -la`, `cat package.json` → Direct bash
- Checking 1-10 files → read_file
- Quick duplicate check → bash + uniq -c
- Simple grep → Direct grep or Grep tool
- Output < 500 lines → Direct tools

## Installation (if not available)

```bash
npm install -g context-mode
```

Then add to your harness's MCP server configuration with command: `context-mode`

From javimosch/supercli, MIT.

Signals

Stars
56
Forks
5
Open issues
0
Last commit (this folder)
Apr 26, 2026 (6 months ago)
Last release
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from javimosch

Cite this page

context-mode skill. Agent Mart. https://agentmart.dev/skills/javimosch-context-mode (last updated 2026-10-24)