improve-docs

improve-docs is a skill for Claude Code, Codex from fmind/dot. It costs 44 tokens per session (630 once invoked), scanned A, original, MIT.

A documentation maintenance guide for project pages, wikis, guides, changelogs, and agent instructions. It compares written claims with the code and rendered site.

In plain words
What is it for?
Use it to inventory, shorten, merge, rewrite, link-check, format, build, and review project documentation.
Why use it?
It removes outdated, duplicated, noisy, or unsupported information so readers can find trustworthy answers.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fmind/dot/improve-docs
Any agent
npx skills add fmind/dot --skill improve-docs
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/improve-docs.svg)](https://agentmods.dev/skills/fmind/dot/improve-docs)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/improve-docs"><img src="https://agentmods.dev/badge/skills/fmind/dot/improve-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.00630
Opus 5 $0.00022 $0.00315
Sonnet 5 $0.00009 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured yesterday against content hash d7fc3c30f24c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

improve-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 yesterday.

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.

skills/improve-docs/SKILL.md · 35 lines

How it starts

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

Improve Documentation

Documentation is read far more than it is written; every stale page costs every reader. This pass keeps what answers a real question and removes the rest. README.md and AGENTS.md alone are covered by readme-agents; this skill handles the wider set.

Workflow

  1. Inventory: list every doc source (README.md, AGENTS.md, docs/, wiki, CHANGELOG.md, inline --help) and its audience: users, contributors, or agents.
  2. Find drift: compare each page against the code it describes: commands (mise tasks, --help output), paths, versions, screenshots. A claim the repo cannot back is removed or fixed, never left.
  3. Cut noise: delete duplicated sections, marketing filler, and step-by-step narratives that the code already shows; merge pages that answer the same question.
  4. Move workflows out of prose: repeated agent instructions in AGENTS.md become skills per skillify; AGENTS.md keeps rules and layout only.
  5. Verify: lychee <files> for links, dprint check for formatting, and the site build (mise run build) for a hugo site. Read the rendered page, not only the Markdown.
  6. Report: pages removed, merged, or rewritten, with the reason, plus links or facts that could not be verified.

Gotchas

  • Do not rewrite voice: keep the author's tone; change facts and structure, not style.
  • Changelogs are generated: CHANGELOG.md comes from git-cliff per the release skill; fix commits, not the file.
  • External links drift: prefer primary documentation URLs and record the date for facts that age.

Documentation

Read the full file on GitHub · 35 lines

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. yesterday First seen · 35 lines · 44 tokens per session scan A d7fc3c30f24c

Subscribe to this mod's changes

improve-docs is a skill published in the GitHub repository fmind/dot (4 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 630 once invoked, about $0.0002 per session on Opus 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.