ctx-stats
🤖 AI Summary
This agent skill calls the `mcp__context-mode__ctx_stats` MCP tool to retrieve and display raw session statistics on context savings, then appends a single sentence highlighting the key savings metric (e.g., compression ratio or percentage of data retained in sandbox).
How to Install
Claude Code:
git clone --depth 1 https://github.com/mksglu/context-mode.git && cp context-mode/skills/ctx-stats ~/.claude/skills/ctx-stats -r# 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.
Details
| Category | Content → writing |
| Source | mksglu/context-mode |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 18.0K |
| Est. per Skill | ~2.0K (shared across 9 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
writing-beats
The user has passed (or will pass) a markdown file of raw material. If the user did not say where to
writing-shape
The user has passed (or will pass) a markdown file of raw material. Treat it as the input pile — any
writing-fragments
Run a grilling session that produces fragments. Interview the user relentlessly about whatever they
beautiful-prose
Beautiful Prose (Claude Skill) A hard-edged writing skill for producing timeless, forceful English p
Works Well With
Skills from the same repository — often designed to work together
context-mode
Context Mode: Default for All Large Output MANDATORY RULE Default to context-mode for ALL commands.
ctx-doctor
Context Mode Doctor Run diagnostics and display results directly in the conversation. Instructions 1
ctx-index
Context Mode Index Index local project content for later search. Instructions 1. Prefer the ctxindex