Context Mode Stats
SkillDocs & knowledgectx-stats is a skill that reports how much context window space context-mode saved during the current session. It shows token consumption, the context savings ratio, and a per-tool breakdown. It is read-only, so it displays statistics only and cannot reset anything.
Then ask your AI: use the Context Mode Stats skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Have context-mode available with its MCP tool connected.
What your AI can do with it
- Report token consumption for the current session
- Show the context savings ratio
- Break down savings per tool
- Run through the ctx_stats MCP tool with no parameters
- Copy the full stats output into the response as markdown
Getting started
- Have context-mode available with its MCP tool connected.
- Make sure the skill is installed and invocable in your agent setup.
- Trigger it with /context-mode:ctx-stats when you want session stats.
- Read the full tables in the response and the one-sentence savings highlight.
What this skill tells your AI
The instructions your AI receives, as published by mksglu/context-mode in skills/ctx-stats/SKILL.md and read by Ahel’s review.
Show context savings for the current session.
Instructions
- Call the
mcp__context-mode__ctx_statsMCP tool (no parameters needed). - 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
ctx_purge(confirm: true)— Permanently deletes all indexed content from the knowledge base. Use/context-mode:ctx-purgefor this.
Signals
- GitHub stars
- 26k
- Forks
- 2k
- Last commit
- Oct 2026
Questions
- Does ctx-stats reset anything?
- No. It is read-only and shows stats only. It has no reset capability.
- How do I wipe the knowledge base entirely?
- Use ctx_purge instead, or the /context-mode:ctx-purge command. ctx_purge with confirm: true permanently deletes all indexed content from the knowledge base.
- What does the output include?
- Token consumption, the context savings ratio, and a per-tool breakdown for the current session.
- What if there is no data yet?
- The response notes that there are no context-mode calls yet this session.
Advanced
- Item type
- skill
- Key
ctx-stats- Source
- github.com/mksglu/context-mode
github.com/mksglu/context-mode
Related picks
Skill · larksuite
The pick for Markdownmarkdown-formatter
Skill · nvidia
The pick for Markdownhandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgedefuddle
Skill · kepano
More in Docs & knowledge