docs-preflight

docs-preflight is a skill for Claude Code, Codex from chipi/agentic-ai-homelab. It costs 113 tokens per session (1,012 once invoked), scanned A, original, MIT.

A documentation check that detects the project's documentation system and runs its strict build. Documentation systems such as MkDocs, Sphinx, and Docusaurus turn source files into a browsable docs website.

In plain words
What is it for?
Use it before committing changes to documentation or its configuration to receive a pass/fail result and the exact problems that need fixing.
Why use it?
It catches broken links, missing references, and warnings locally before a documentation change is committed or sent to continuous integration checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before committing changes to documentation or its configuration to receive a pass/fail result and the exact problems that need fixing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chipi/agentic-ai-homelab/docs-preflight
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 chipi/agentic-ai-homelab --skill docs-preflight
Clone the repo
git clone --depth 1 https://github.com/chipi/agentic-ai-homelab

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chipi/agentic-ai-homelab/docs-preflight"><img src="https://agentmods.dev/badge/skills/chipi/agentic-ai-homelab/docs-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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.00113 $0.01012
Opus 5.5 $0.00045 $0.00405
Sonnet 5.5 $0.00023 $0.00202
Haiku 4.5 $0.00011 $0.00101

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

Security

Grade A, and why

docs-preflight 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 17d 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.

workstation/claude/skills/docs-preflight/SKILL.md · 77 lines

How it starts

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

docs-preflight

Run the project's strict docs build locally and report green/red before a docs commit lands. Strict mode is what CI runs — catching a broken cross- reference here costs ~20s; catching it in CI costs a wasted push and a red badge.

When this applies

The change touches any docs-affecting path: docs/**, mkdocs.yml, requirements-docs.txt, a Makefile docs target, conf.py, docusaurus.config.*, book.toml. If in doubt and a docs toolchain exists, run it — it's cheap.

Detect the toolchain, then run its strict build

Use the first match, top to bottom. A repo's own make target is preferred because it already encodes the venv and the correct strict flags.

  1. Makefile docs target — grep -E '^docs-build:|^docs:' Makefile. If present, run make docs-build (or make docs). This is the common case for repos scaffolded from the operator's new-project template.
  2. MkDocs — mkdocs.yml at repo root. Prefer the project venv:
    • .venv/bin/mkdocs build --strict --clean if .venv/bin/mkdocs exists
    • else python -m mkdocs build --strict --clean
  3. Sphinx — docs/conf.py. sphinx-build -W -b html docs /tmp/_docs_preflight (-W promotes warnings to errors = strict).
  4. Docusaurus / npm — package.json with a docs build script (docs:build, build:docs, or a docs workspace). Run that script; Docusaurus fails on broken links by default.
  5. mdBook — book.toml. mdbook build.

If none match, say so — there is nothing to preflight. Do not invent a build.

Then lint the changed Markdown

A strict build does not check Markdown style, and a repo's commit hook or CI often does. When the repo has a markdownlint config (.markdownlint.json, .markdownlint.jsonc, .markdownlint.yaml, .markdownlint-cli2.*), lint the changed .md files with it:

env -u NODE_OPTIONS markdownlint --config .markdownlint.json <changed .md files>
# or, for a .markdownlint-cli2.* config:
env -u NODE_OPTIONS markdownlint-cli2 <changed .md files>

Read the full file on GitHub · 77 lines

Files

What ships with it

1 file 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. 17d ago Changed · +21 lines · +16 tokens per session e75f4dd1f75c
  2. 2mo ago First seen · 56 lines · 97 tokens per session scan A 39045186a733

Subscribe to this mod's changes

docs-preflight is a skill published in the GitHub repository chipi/agentic-ai-homelab (3 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 1,012 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens

agent-evaluation

Run one specified Test Agent on one specified Benchmark Case exactly once, privately score that execution, and return one protocol result.

Prism-Shadow/penguin-harness · 28 tokens

neuron-evaluation

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 102 tokens