---
name: Context Mode Stats
slug: context-mode-stats
category: AI Engineering
description: Context Mode Stats displays token consumption, context savings ratio, and per-tool breakdown for the current session. Use it to see how much context window context-mode saved without modifying any data.
github: "https://github.com/mksglu/context-mode/tree/main/skills/ctx-stats"
language: TypeScript
stars: 19850
forks: 1430
install: "npx degit https://github.com/mksglu/context-mode/tree/main/skills/ctx-stats ~/.claude/skills/ctx-stats"
installs_to: ~/.claude/skills/ctx-stats
source_path: skills/ctx-stats/SKILL.md
collection_size: 11
category_size: 2451
collection_url: "https://dirskills.com/collections/mksglu/context-mode"
added: 2026-08-14T07:12:40.018Z
last_synced: 2026-08-14T07:12:40.018Z
canonical_url: "https://dirskills.com/skills/context-mode-stats"
---

# Context Mode Stats

Context Mode Stats displays token consumption, context savings ratio, and per-tool breakdown for the current session. Use it to see how much context window context-mode saved without modifying any data.

**Install:**

```bash
npx degit https://github.com/mksglu/context-mode/tree/main/skills/ctx-stats ~/.claude/skills/ctx-stats
```

## README

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