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.mdsource content
Context Mode Stats
Show context savings for the current session.
Instructions
- Call the
MCP tool (no parameters needed).mcp__context-mode__ctx_stats - 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.
- 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
— Permanently deletes all indexed content from the knowledge base. Usectx_purge(confirm: true)
for this./context-mode:ctx-purge