Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ngocsangyem/MeowKit --skill context-auditgit clone --depth 1 https://github.com/ngocsangyem/MeowKitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ngocsangyem/meowkit/context-audit)<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/context-audit"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/context-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/context-audit"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/context-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.01024 |
| Opus 5.5 | $0.00010 | $0.00410 |
| Sonnet 5.5 | $0.00005 | $0.00205 |
| Haiku 4.5 | $0.00002 | $0.00102 |
Grade A, and why
mk:context-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/mk:context-audit — Context Window Structural Audit
Read-only audit of .claude/ structural overhead. Surfaces what is loaded into
every host-runtime session and how much of the context window it consumes,
then recommends the highest-leverage trims.
Complementary lens: mewkit validate --substrate shows the same artifact set
grouped by the responsibility each serves (covered / partial / missing), so a trim
can be checked against responsibility coverage before removing an artifact. The
per-phase read budget that bounds what an audit-driven session should load lives in
.claude/skills/agent-detector/references/context-budget-rules.md.
When to Use
Three concrete triggers:
- Pre-add capacity check — before adding a new agent, skill, or rule file, confirm the project is below the 25% structural-overhead threshold.
- Post-degradation diagnostic — when sessions feel slow, off-topic, or over-compacted, audit to see if structural overhead has grown past 10%.
- Periodic health audit — on model upgrades, confirm the always-on bundle
still pays its keep (the dead-weight audit in
.claude/skills/cook/references/harness-rules.mdRule 7, where that tooling is present).
Context vs Cost (Boundary)
| Concern | Mechanism | Unit |
|---|---|---|
| Monetary cost | mewkit budget and .claude/skills/autobuild/scripts/budget-tracker.sh |
USD |
| Window utilization (this skill) | /mk:context-audit and scripts/inventory-context.sh |
tokens / % |
This skill measures only what is statically loaded into every session: the always-on bundle (project instructions, agents, skills, rules, any project commands, MCP config). Conversation history, tool output and active edits live elsewhere.
Workflow
Run the pipeline from the project root (or pass the root as the first argument):
SCAN_ROOT="${1:-$PWD}"
bash ${CLAUDE_SKILL_DIR}/scripts/inventory-context.sh "$SCAN_ROOT" \
| bash ${CLAUDE_SKILL_DIR}/scripts/estimate-tokens.sh \
| bash ${CLAUDE_SKILL_DIR}/scripts/format-audit-report.sh
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed · -45 lines 544586c61376
- 12d ago Changed · -3 tokens per session a9d5afcf7313
- 17d ago Changed · -6 tokens per session a56341aba865
- 19d ago Changed 49b2e454bdc9
- 22d ago Changed · -1 lines 668d8cb2f6c3
- 24d ago Changed · -7 lines · -75 tokens per session d6c8e585c6aa
- 3mo ago First seen · 154 lines · 108 tokens per session scan A 805fa304b84e
mk:context-audit is a skill published in the GitHub repository ngocsangyem/MeowKit (18 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 1,024 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
mk:context-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mk:context-auditngocsangyem/MeowKit | Skill | 18 | 2d ago | MIT | A | 24 | Claude Code |
| context-budgetcoco-research/coco | Skill | 337 | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| pw-security-audittrk/processwire-boost | Skill | 5 | yesterday | MIT | A | 67 | Claude Code, Codex |
| pw-experttrk/processwire-boost | Skill | 5 | yesterday | MIT | A | 47 | Claude Code, Codex |
| pw-module-developmenttrk/processwire-boost | Skill | 5 | yesterday | MIT | A | 66 | Claude Code, Codex |
| pw-custom-page-classestrk/processwire-boost | Skill | 5 | yesterday | MIT | A | 40 | Claude Code, Codex |
| pw-docs-architecttrk/processwire-boost | Skill | 5 | yesterday | MIT | A | 40 | Claude Code, Codex |