Skip to content
Skillpedia
Agents33k · #8516

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.md

Copy 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

Use this skill to help me: https://github.com/mksglu/context-mode/blob/main/skills/ctx-stats/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills