Overview
ctx-stats is an open-source integrations skill for Claude Code and compatible agents, published by mksglu. Its author describes it as: “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 en…”. The project has 20k stars on GitHub and ships custom license terms, so review them before reuse. Add it to your setup with `/plugin marketplace add mksglu/context-mode`.
What ctx-stats does
Show context savings for the current session.
What’s inside
The SKILL.md for ctx-stats is organised into these sections:
- Instructions
- Purge
Installation
Add ctx-stats to your agent with:
/plugin marketplace add mksglu/context-mode Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
- Codex — declared in the repository topics
- OpenCode — declared in the repository topics
- GitHub Copilot — declared in the repository topics
- Antigravity — declared in the repository topics
License
mksglu has not declared a standard open-source license for this repository (Other). Confirm the terms with the author before reusing it.
Strengths
- Ships in mksglu/context-mode, an established project with 19,948 GitHub stars
- Works with Claude Code, Codex, OpenCode, GitHub Copilot, Antigravity
- Actively maintained — repository updated in the last 90 days
Things to check
- No license declared — confirm terms with the author before reuse
Author
Topics
Frequently asked questions
- What does ctx-stats do?
- 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 ctx-stats?
- Run /plugin marketplace add mksglu/context-mode in your agent, then reload your skills. Review the source at https://github.com/mksglu/context-mode before installing.
- Is ctx-stats free to use?
- ctx-stats is publicly available on GitHub, but mksglu has not declared a standard open-source license (Other). Confirm the terms with the author before reusing it.
- Which agents does ctx-stats work with?
- ctx-stats lists Claude Code, Codex, OpenCode, GitHub Copilot, and Antigravity — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does ctx-stats come from?
- ctx-stats ships inside mksglu/context-mode, a repository that contains 10 catalogued skills in total. The repository's 19,948 GitHub stars apply to that whole collection, not to this skill on its own.