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
How do I install this agent skill?
npx skills add https://github.com/mksglu/context-mode --skill ctx-statsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a way to view session statistics regarding token usage and context window efficiency. It retrieves data via a specific tool and requests the agent to display it in full to ensure data integrity.
- Socketpass
No alerts
- Snykfail
Risk: CRITICAL · 2 issues
- Runlayerpass
1/1 file flagged
What does this agent skill do?
Context Mode Stats
Show context savings for the current session.
Instructions
- Call the
mcp__context-mode__ctx_statsMCP tool (no parameters needed). - 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.
- 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-purgefor this.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mksglu/context-mode/ctx-stats">View ctx-stats on skillZs</a>