documentation-automation

documentation-automation is a skill for Codex from PracticalSwan/agent-skills. It costs 52 tokens per session (973 once invoked), scanned A, original, MIT.

A workflow for automating documentation quality with tools such as JSDoc and TSDoc, which generate documentation from code comments. It also covers checks for Markdown, links, spelling, examples, and documentation changes.

In plain words
What is it for?
Setting up documentation scripts, API documentation generation, Markdown linting, link checking, and automated documentation checks in a project.
Why use it?
It moves documentation checks from manual review into repeatable local, pre-commit, and CI checks. This helps catch broken links, invalid examples, and formatting problems earlier.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Setting up documentation scripts, API documentation generation, Markdown linting, link checking, and automated documentation checks in a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/documentation-automation
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 PracticalSwan/agent-skills --skill documentation-automation
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: 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 documentation-automation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/documentation-automation"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/documentation-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 973 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.00052 $0.00973
Opus 5.5 $0.00021 $0.00389
Sonnet 5.5 $0.00010 $0.00195
Haiku 4.5 $0.00005 $0.00097

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

Security

Grade A, and why

documentation-automation 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/docs-pipeline-scaffold.py), 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.

documentation-automation/SKILL.md · 99 lines

How it starts

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

Documentation Automation

Use this skill when documentation quality should be enforced by scripts, CI, or local hooks instead of manual review alone.

  • Leverage native parallel subagent dispatch and 200k+ context windows where available.

Activation Conditions

Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.

  • Adding docs:* scripts to a project
  • Setting up markdownlint, cspell, lychee, or remark-lint
  • Generating API docs from source comments
  • Adding pre-commit or CI validation for docs
  • Standardizing documentation checks across repositories

Automation Targets

  • Build generated API docs
  • Lint Markdown structure and style
  • Check internal and external links
  • Validate code examples and commands
  • Enforce changelog or README updates when behavior changes
  1. Add local commands that can run without CI.
  2. Make CI call the same commands.
  3. Keep failure output actionable and fast.
  4. Prefer incremental checks in pre-commit and fuller checks in CI.

Documentation Stack Reference

Inherit the shared stack from documentation-patterns: source-of-truth discovery, audience framing, structure selection, verification, and freshness checks. Keep this skill focused on automation pipelines instead of restating the full stack.

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/documentation-automation and restart Codex after major changes.

MCP Availability And Fallback

Preferred MCP Server: None required

Read the full file on GitHub · 99 lines

Files

What ships with it

4 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. 2mo ago Changed 5001bf729e7f
  2. 2mo ago Changed 03d2475b1e27
  3. 2mo ago Changed 49aa4463849d
  4. 3mo ago First seen · 99 lines · 52 tokens per session scan A 96fc9b52d3e4

Subscribe to this mod's changes

documentation-automation is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 15d ago), licensed MIT. It adds 52 tokens to every session and 973 once invoked, about $0.0002 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

documentation-automation compared with skills from other repositories

documentation-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentation-automationPracticalSwan/agent-skillsSkill2515d agoMITA52Codex
librechat-docsLibreChat-AI/librechat.aiSkill7019d agoMITA24Claude Code, Codex
doc-quality-reviewNickCrew/Claude-CortexSkill7510d agoMITA48Claude Code, Codex
doc-claim-validatorNickCrew/Claude-CortexSkill7510d agoMITA61Claude Code, Codex
data-testingj4flmao/agent-skillsSkill4613d agoMITA79Claude Code, Codex
sourceysourcey/sourceySkill1.4k17d agoAGPL-3.0A86Claude Code
pr-reviewersynaptent/aragoraSkill1111d agoMITA13Claude Code, Codex