Skip to content
Development
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. Trigger: /context-mode:ctx-stats

From plugin
context-mode
20k11 skills6 hooks1 MCP
Install
$ npx -y skills add mksglu/context-mode --skill ctx-stats --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ctx-stats

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

ctx-stats.SKILL.md
name: ctx-stats
description: |
  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
user-invocable: true

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.
Ships withcontext-mode

The other half of the context problem. Used across teams at

Get the whole plugin

Other skills on context-mode.