Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add mtvrkan/senior-dev-kit/plugin install senior-dev-kitWrote 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/commands/mtvrkan/senior-dev-kit/context-audit)<a href="https://agentmods.dev/commands/mtvrkan/senior-dev-kit/context-audit"><img src="https://agentmods.dev/badge/commands/mtvrkan/senior-dev-kit/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/commands/mtvrkan/senior-dev-kit/context-audit"><img src="https://agentmods.dev/badge/commands/mtvrkan/senior-dev-kit/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.00029 | $0.00711 |
| Opus 5.5 | $0.00012 | $0.00284 |
| Sonnet 5.5 | $0.00006 | $0.00142 |
| Haiku 4.5 | $0.00003 | $0.00071 |
Grade A, and why
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 1mo 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/context-audit
Answer one question with numbers: what does this setup cost every session, in every project, and which of it is not earning its place? Report first, change nothing until the user approves.
1. Measure
Always loaded in full at session start: the kit's protocol (~/.claude/CLAUDE.md for a copy
install; ${CLAUDE_PLUGIN_ROOT}/global-CLAUDE.md when the plugin is active, injected by its
SessionStart hook), the project's ./CLAUDE.md and ./.claude/CLAUDE.md (plus any nested ones
for files actually read), and rules/*.md whose frontmatter has no paths:. Everything under
agent_docs/, paths:-scoped rules and skill bodies load on demand — they are not part of the
fixed cost.
for f in ~/.claude/CLAUDE.md "${CLAUDE_PLUGIN_ROOT}/global-CLAUDE.md" ./CLAUDE.md ./.claude/CLAUDE.md ~/.claude/rules/*.md; do
[ -f "$f" ] || continue
head -5 "$f" | grep -q '^paths:' && continue
printf "%-40s lines=%-5s ~tokens=%s\n" "$f" "$(grep -c '' "$f")" "$(( $(wc -c < "$f") / 4 ))"
done
Report the total, and the three largest sections inside the largest file.
2. Judge each block against DOC FRUGALITY (global-CLAUDE.md)
Changes behaviour + not derivable from code/tooling → keep, always loaded
Reference table, enumeration, procedure detail → move to agent_docs/*.md, leave a pointer
Restated somewhere else → keep one home, delete the copy
Framework default, or a listing a command answers → delete
Only relevant on an explicit trigger phrase → lazy doc; the stub names the trigger
3. Contradictions
Two always-loaded lines that disagree cost more than either saves. Report every pair found, with
path:line for both, and which one RULE PRECEDENCE (${CLAUDE_PLUGIN_ROOT}/rules/001-conventions.md) makes the winner.
4. Output
FIXED COST: <total> ~tokens/session (<file> <n> · <file> <n> · …)
MOVE: <path:line> <what> → agent_docs/<doc>.md (−<n> tokens/session)
DELETE: <path:line> <what> — restated at <path:line>
CONFLICT: <path:line> vs <path:line> — <one line>
KEEP: <anything large that a reader might expect to be cut, and why it stays>
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.
- 1mo ago Changed · +3 lines fe25cfd12741
- 2mo ago First seen · 54 lines · 29 tokens per session scan A d73682433515
context-audit is a command published in the GitHub repository mtvrkan/senior-dev-kit (11 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 711 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-29.
context-audit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-auditmtvrkan/senior-dev-kit | Command | 11 | 2d ago | MIT | A | 29 | Claude Code |
| security-auditsifxprime/kodelyth-ecc | Command | 12 | 3d ago | MIT | A | 25 | Claude Code |
| remembrall-helpcukas/remembrall | Command | 6 | 9d ago | MIT | A | 17 | Claude Code |
| lessons-compactfusengine/agents | Command | 34 | 1mo ago | MIT | A | 49 | Claude Code |
| lessonsfusengine/agents | Command | 34 | 1mo ago | MIT | A | 26 | Claude Code |
| budgetcukas/remembrall | Command | 6 | 9d ago | MIT | A | 13 | Claude Code |
| carryover5dive-ai/5dive-plugins | Command | 2 | yesterday | Apache-2.0 | A | 14 | Claude Code |