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.

Mert Köseoğlu19,408★ · +257/wk · 1 repos on radarProfile →
claude-codecodexcopilotcursorNOASSERTION
Install
npx skills add mksglu/context-mode --skill ctx-stats --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Path: skills/ctx-stats/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 19,611 · +203 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the 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.

What's inside
Steps it walks through
  1. Instructions
  2. Purge
More from context-mode
All skills →
About this skill
What does the ctx-stats skill do?

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.

How do I install it?

Run `npx skills add mksglu/context-mode --skill ctx-stats --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mksglu/context-mode, a repository with 19,611 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going