Claude-context-mode ctx-stats

install
source · Clone the upstream repo
git clone https://github.com/mksglu/context-mode
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mksglu/context-mode "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ctx-stats" ~/.claude/skills/mksglu-claude-context-mode-ctx-stats && rm -rf "$T"
manifest: skills/ctx-stats/SKILL.md
source content

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.