md-docs

md-docs is a skill for Claude Code, Codex from iliaal/whetstone. It costs 70 tokens per session (795 once invoked), scanned A, original, MIT.

A project-documentation skill for maintaining Markdown files such as README.md, AGENTS.md, and CONTRIBUTING.md.

In plain words
What is it for?
Creating or updating agent instructions, README files, contribution guides, and other project context documents.
Why use it?
It checks documentation against the actual codebase, helping prevent outdated paths, commands, and project guidance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Creating or updating agent instructions, README files, contribution guides, and other project context documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iliaal/whetstone/md-docs
Install

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.

Any agent
npx skills add iliaal/whetstone --skill md-docs
Clone the repo
git clone --depth 1 https://github.com/iliaal/whetstone

Made for: Claude Code, Codex.

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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/iliaal/whetstone/md-docs/github.svg)](https://agentmods.dev/skills/iliaal/whetstone/md-docs)
Your own site
<a href="https://agentmods.dev/skills/iliaal/whetstone/md-docs"><img src="https://agentmods.dev/badge/skills/iliaal/whetstone/md-docs/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-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/iliaal/whetstone/md-docs"><img src="https://agentmods.dev/badge/skills/iliaal/whetstone/md-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00070 $0.00795
Opus 5.5 $0.00028 $0.00318
Sonnet 5.5 $0.00014 $0.00159
Haiku 4.5 $0.00007 $0.00080

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

Security

Grade A, and why

md-docs 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 3mo 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.

distillery/generated-skills/md-docs/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Markdown Documentation

Manage project documentation by verifying against actual codebase state. Emphasize verification over blind generation — analyze structure, files, and patterns before writing.

Portability

AGENTS.md is the universal context file (works with Claude Code, Codex, Kilocode). If the project uses CLAUDE.md, treat it as a symlink to AGENTS.md or migrate content into AGENTS.md and create the symlink:

# If CLAUDE.md exists and AGENTS.md doesn't
mv CLAUDE.md AGENTS.md && ln -sf AGENTS.md CLAUDE.md

When this skill references "context files", it means AGENTS.md (and CLAUDE.md if present as symlink).

Workflows

Update Context Files

Verify and fix AGENTS.md against the actual codebase. See references/update-agents.md for the full verification workflow.

  1. Read existing AGENTS.md, extract verifiable claims (paths, commands, structure, tooling)
  2. Verify each claim against codebase (ls, cat package.json, cat pyproject.toml, etc.)
  3. Fix discrepancies: outdated paths, wrong commands, missing sections, stale structure
  4. Discover undocumented patterns (scripts, build tools, test frameworks not yet documented)
  5. Report changes

Update README

Generate or refresh README.md from project metadata and structure. See references/update-readme.md for section templates and language-specific patterns.

  1. Detect language/stack from config files (package.json, pyproject.toml, composer.json)
  2. Extract metadata: name, version, description, license, scripts
  3. If README exists and --preserve: keep custom sections (About, Features), regenerate standard sections (Install, Usage)
  4. Generate sections appropriate to project type (library vs application)
  5. Report changes

Update CONTRIBUTING

Update existing CONTRIBUTING.md only — never auto-create. See references/update-contributing.md.

Initialize Context

Create AGENTS.md from scratch for projects without documentation. See references/init-agents.md.

  1. Analyze project: language, framework, structure, build/test tools
  2. Generate terse, expert-to-expert context sections
  3. Write AGENTS.md, create CLAUDE.md symlink

Read the full file on GitHub · 103 lines

Files

What ships with it

5 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. 3mo ago First seen · 103 lines · 70 tokens per session scan A c8595b3a80be

Subscribe to this mod's changes

md-docs is a skill published in the GitHub repository iliaal/whetstone (37 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 795 once invoked, about $0.0003 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-08-30.

Related

md-docs compared with skills from other repositories

md-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
md-docsiliaal/whetstoneSkill37todayMITA70Claude Code, Codex
pr-reviewnitinjain999/platform-skillsSkill73todayApache-2.0A81Claude Code
code-reviewnitinjain999/platform-skillsSkill73todayApache-2.0A88Claude Code
rubber-duckyharnessprotocol/harness-kitSkill13yesterdayApache-2.0A189Claude Code
pr-sweepharnessprotocol/harness-kitSkill13yesterdayApache-2.0A115Claude Code
reviewharnessprotocol/harness-kitSkill13yesterdayApache-2.0A103Claude Code
open-prharnessprotocol/harness-kitSkill13yesterdayApache-2.0A111Claude Code