md-audit

md-audit is a skill for Claude Code, Codex from YoungjaeDev/my-claude-plugins. It costs 152 tokens per session (1,295 once invoked), scanned A, original, MIT.

A checker for Markdown files, which are plain-text documents with formatting marks for headings and emphasis. It measures document shape, applies writing rules, reports problems, and rewrites only files the user selects.

In plain words
What is it for?
Use it to audit changed Markdown files or selected paths, review the report, and optionally rewrite the files you approve.
Why use it?
It helps keep documentation and skill files within agreed limits for length, structure, headings, paragraphs, and emphasis.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the docs plugin — 8 skills shipped together

Good fit Use it to audit changed Markdown files or selected paths, review the report, and optionally rewrite the files you approve.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add YoungjaeDev/my-claude-plugins
Claude Code
/plugin install docs

Made for: Claude Code, Codex.

Or install docs, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for md-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/md-audit/github.svg)](https://agentmods.dev/skills/youngjaedev/my-claude-plugins/md-audit)
Your own site
<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.

agentmods 80×15 button for md-audit

Your own site · 80×15
<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>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 24d ago against content hash be2d50fbf2da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/measure-skills.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/docs/skills/md-audit/SKILL.md · 60 lines

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.

Read the full file on GitHub · 60 lines

Files

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.

Changes

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.

  1. 24d ago First seen · 60 lines · 152 tokens per session scan A be2d50fbf2da

Subscribe to this mod's changes

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.

Related

md-audit compared with skills from other repositories

md-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
md-auditYoungjaeDev/my-claude-pluginsSkill22d agoMITA152Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38ktodayApache-2.0A123Claude Code
orbit-notionnexu-io/open-designSkill111kyesterdayApache-2.0A117Claude Code, Codex
report-to-pdfasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10k3d agoApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k4d agoMITA33Claude Code, Codex