ctx-stats
What it does
This skill reports how much context-mode saved during the current session. It is for people who want to see the benefit of routing work through context-mode.
When to use it
- ✓When someone wants to know how much context was saved during a session.
- ✓When a user wants a breakdown of which tools used the most tokens.
- ✓When a team is judging whether context-mode is worth using.
Skill link
https://github.com/mksglu/context-mode/blob/main/skills/ctx-stats/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me how much context-mode saved in this session.”
5 new skills a week. 1 minute to read.
How it works
The skill calls the stats tool and shows its full output as tables, followed by one line highlighting the main savings figure. It only reads stats and never resets anything.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Context Mode Stats
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.
FAQ
Does this skill reset the stats?
No. It is read-only and only shows the stats.
How do I erase the knowledge base?
Use the purge skill instead, since this one never deletes anything.
What if there are no calls yet?
The skill reports that no context-mode calls have been made in this session.
Details
Original description by the author
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
repo: mksglu/context-mode
Popularity
- GitHub stars
- 33k
- Ranking position
- #8516
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
context-mode
33kTeaches your agent to use context-mode tools for reading, searching and running data-heavy tasks, so large outputs stay out of the main conversation.
context-mode
33kTeaches your agent to run data-heavy work in a sandbox and print only the answer, so raw files and web pages do not flood the conversation.
context-mode
33kTeaches your agent to use context-mode tools instead of plain shell commands when output may be large, such as logs, JSON or build results.
ctx-doctor
33kRuns context-mode diagnostics that check runtimes, hooks, search storage, plugin setup and versions, then shows a clear pass or fail report.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.