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 YoungjaeDev/my-claude-plugins/plugin install docsWrote 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/youngjaedev/my-claude-plugins/md-audit)<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/md-audit"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/md-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/youngjaedev/my-claude-plugins/md-audit"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/md-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.00152 | $0.01295 |
| Opus 5.5 | $0.00061 | $0.00518 |
| Sonnet 5.5 | $0.00030 | $0.00259 |
| Haiku 4.5 | $0.00015 | $0.00129 |
Grade A, and why
md-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 24d 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 — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
md-audit
Measure markdown shape with a script, judge with the model, report in chat, rewrite only what the user picks. The rules and the exception list are in ../../references/writing-standard.md: a SKILL.md at or under 10KB (target 5KB), paragraphs at or under 600 bytes and 3 sentences, no H4, no section under 3 body lines.
Measure
Resolve the plugin root, then run the shape audit. With no argument it covers the .md files changed against the merge-base with origin/main; append the user's paths, --base <ref>, or --all.
# Honor a caller-supplied PLUGIN_ROOT first: the abort message below tells the user to
# export it, and starting from CLAUDE_PLUGIN_ROOT would overwrite that escape hatch.
PLUGIN_ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"
[ -z "$PLUGIN_ROOT" ] && [ -d plugins/docs/skills ] && PLUGIN_ROOT=plugins/docs
if [ -z "$PLUGIN_ROOT" ]; then
# Rank Codex cache candidates on the version basename, newest first, and take the
# first one that has skills/: a plain sort puts 0.9.0 above 0.10.0.
cache_root="${CODEX_PLUGIN_CACHE:-$HOME/.codex/plugins/cache}"
if sort -V </dev/null >/dev/null 2>&1; then
candidates=$(ls -1d "$cache_root"/*/docs/* 2>/dev/null | awk -F/ '{print $NF "\t" $(0)}' | sort -rV | cut -f2-)
else
candidates=$(ls -1d "$cache_root"/*/docs/* 2>/dev/null | awk -F/ '{print $NF "\t" $(0)}' | sort -t. -k1,1rn -k2,2rn -k3,3rn | cut -f2-)
fi
while IFS= read -r d; do [ -d "$d/skills" ] && { PLUGIN_ROOT="$d"; break; }; done <<< "$candidates"
fi
[ -d "$PLUGIN_ROOT/skills" ] || { echo "docs plugin root not found; export PLUGIN_ROOT" >&2; exit 1; }
node "$PLUGIN_ROOT/skills/md-audit/scripts/measure-skills.mjs" --md
Exit 0 with md-audit: ok is a pass, 1 means fail findings, 2 means part of the scope could not be read. On 2, stop judging the unread paths and report them as unverified scope.
When the scope holds a SKILL.md, also run the skill table on the tree that contains it (measure-skills.mjs <skills-root>) and confirm the target's row is in the output before judging it. Run the repository guards if they exist (scripts/check-skill-contract.mjs, scripts/check-doc-consistency.mjs); a nonzero exit there is findings, so record each [name exit N] verbatim and continue.
What ships with it
3 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.
- 24d ago First seen · 60 lines · 152 tokens per session scan A be2d50fbf2da
md-audit is a skill published in the GitHub repository YoungjaeDev/my-claude-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 152 tokens to every session and 1,295 once invoked, about $0.0006 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-11-09.
md-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| md-auditYoungjaeDev/my-claude-plugins | Skill | 2 | 2d ago | MIT | A | 152 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | today | Apache-2.0 | A | 123 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 111k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| report-to-pdfasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 17 | Claude Code, Codex |
| legal-holdanthropics/claude-for-legal | Skill | 10k | 3d ago | Apache-2.0 | A | 68 | Claude Code |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 54 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 4d ago | MIT | A | 33 | Claude Code, Codex |