Agent skill

ctx-stats

Show how much context window context-mode saved this session. Displays token consumption, context savings ratio, and per-tool breakdown. Read-only — shows stats only, no reset capability. To wipe the knowledge base entirely, use ctx_purge instead. Trigger: /context-mode:ctx-stats

Stars 7,081
Forks 485

Install this agent skill to your Project

npx add-skill https://github.com/mksglu/context-mode/tree/main/skills/ctx-stats

SKILL.md

Context Mode Stats

Show context savings for the current session.

Instructions

  1. Call the mcp__context-mode__ctx_stats MCP tool (no parameters needed).
  2. CRITICAL: You MUST copy-paste the ENTIRE tool output as markdown text directly into your response message. Do NOT summarize, do NOT collapse, do NOT paraphrase. The user must see the full tables without pressing ctrl+o. Copy every line exactly as returned by the tool.
  3. After the full output, add ONE sentence highlighting the key savings metric, e.g.:
    • "context-mode saved 12.4x — 92% of data stayed in sandbox."
    • If no data yet: "No context-mode calls yet this session."

Purge

  • ctx_purge(confirm: true) — Permanently deletes all indexed content from the knowledge base. Use /context-mode:ctx-purge for this.

Expand your agent's capabilities with these related and highly-rated skills.

mksglu/context-mode

ctx-upgrade

Update context-mode from GitHub and fix hooks/settings. Pulls latest, builds, installs, updates npm global, configures hooks. Trigger: /context-mode:ctx-upgrade

7,081 485
Explore
mksglu/context-mode

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.

7,081 485
Explore
mksglu/context-mode

ctx-doctor

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

7,081 485
Explore
mksglu/context-mode

ctx-purge

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

7,081 485
Explore
mksglu/context-mode

context-mode-ops

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.

7,081 485
Explore
davila7/claude-code-templates

verl-rl-training

Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.

23,776 2,298
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results