supercli: Skill for Claude Code

.agents/skills/context-mode/SKILL.md

context-mode is a skill for Claude Code, Codex from javimosch/supercli. It costs 49 tokens per session (564 once invoked), scanned A, original, MIT.

A context-management tool for examining large codebases and long command results. It indexes information so repeated searches can reuse it across sessions.

In plain words
What is it for?
Use it to explore 50 or more files, inspect long command output, run grouped searches, and search previously indexed code.
Why use it?
It avoids sending the same large files or outputs through the agent repeatedly, which uses less context. It is intended for large searches, not small tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is javimosch/supercli's own configuration. It tells Claude Code and Codex how to work on supercli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything supercli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to javimosch/supercli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/javimosch/supercli/master/.agents/skills/context-mode/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/javimosch/supercli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/javimosch/supercli/context-mode/github.svg)](https://agentmods.dev/skills/javimosch/supercli/context-mode)
Your own site
<a href="https://agentmods.dev/skills/javimosch/supercli/context-mode"><img src="https://agentmods.dev/badge/skills/javimosch/supercli/context-mode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/javimosch/supercli/context-mode"><img src="https://agentmods.dev/badge/skills/javimosch/supercli/context-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 564 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00564
Opus 5.5 $0.00020 $0.00226
Sonnet 5.5 $0.00010 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured today against content hash 9074bae37b9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-mode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/context-mode/SKILL.md · 68 lines

What it actually says

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)

# 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)

npm install -g context-mode

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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 68 lines · 49 tokens per session scan A 9074bae37b9f

Subscribe to this mod's changes

context-mode is a skill published in the GitHub repository javimosch/supercli (56 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 564 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other skills, from other repositories

relevance-coarse-filter

Cheap, high-recall first-pass filter that removes obvious junk from a detector candidate pool before expensive story-origin research and PR judgment. Decides keep, monitoronly, or reject — never ranks, writes angles, verifies dates, or decides whether to pitch.

elvisun/newsjack · 57 tokens

lastMonth

Resolve "lastMonth" to a concrete ISO date range relative to your run time — the previous full calendar month. Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a task over last month (monthly reports…

chaitanyagiri/munder-difflin · 73 tokens

lastYear

Resolve "lastYear" to a concrete ISO date range relative to your run time — the previous full calendar year. Returns inclusive civil dates plus exact UTC instants so you have temporal context without computing dates by hand. Read-only: no writes, no network. Use before a task over last year (annual reports…

chaitanyagiri/munder-difflin · 73 tokens

github-copilot-cli-expert

Expert knowledge of GitHub Copilot CLI - installation, configuration, usage, custom agents, MCP servers, and version management. Use when asking about copilot cli, copilot commands, installing copilot, updating copilot, copilot features.

rysweet/amplihack · 57 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

kepano/obsidian-skills · 63 tokens

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their…

kepano/obsidian-skills · 102 tokens