repo-docs

repo-docs is a skill for Claude Code, Codex from rjwalters/kicad-tools. It costs 19 tokens per session (4,649 once invoked), scanned A, original, MIT.

A documentation checker that compares the repository's written instructions with the files and behavior that actually exist. It covers content accuracy, README structure, and internal links.

In plain words
What is it for?
Use it for a repository-wide documentation review or to check a specific documentation directory or README.
Why use it?
Documentation can remain unchanged after refactors, so it may describe old commands, directories, or workflows. One check gathers the main documentation problems instead of checking each layer separately.

Skill for Claude CodeCodex

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

Good fit Use it for a repository-wide documentation review or to check a specific documentation directory or README.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjwalters/kicad-tools/repo-docs"><img src="https://agentmods.dev/badge/skills/rjwalters/kicad-tools/repo-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,649 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.00019 $0.04649
Opus 5.5 $0.00008 $0.01860
Sonnet 5.5 $0.00004 $0.00930
Haiku 4.5 $0.00002 $0.00465

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

Security

Grade A, and why

repo-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 2d 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.

.agents/skills/repo-docs/SKILL.md · 380 lines

How it starts

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

Codex form of the /repo:docs command. Other commands appear as $repo-<verb> skills. Helper scripts and .claude/ paths below are relative to the repository root and exist when the Claude Code surface is installed alongside this one.

$repo-docs — Documentation Check

The canonical documentation-health command. Verify that the repo's docs still describe the repo that exists — not the one that existed three refactors ago.

This is the single entry point for docs work. It covers three layers:

  1. Content accuracy — does the prose still match how things actually work? (unique to this command)
  2. README structure — do file trees and directory listings match disk? (delegates to [[readme]])
  3. Cross-references — do internal links and paths still resolve? (delegates to [[links]])

$repo-readme and $repo-links remain callable on their own when you only want that one layer. Reach for $repo-docs when you want the whole picture.

Usage

$repo-docs                     # Full repo — apply safe fixes, report as you go
$repo-docs docs/               # Scope to one subtree
$repo-docs README.md           # Check a single doc
$repo-docs --ask               # Review findings and confirm before applying

The optional path argument scopes every layer the same way, exactly as [[readme]] and [[links]] scope on their own.

What It Checks

1. Content Accuracy

This is the semantic layer that structural checks miss — prose that parses fine and links that resolve fine, but describes behavior that has since changed. Read the docs against the actual repo state and flag drift:

  • Feature / command tables that list capabilities the repo no longer has, or omit ones it gained. For a repo with .claude/commands/, cross-check every documented command against the files that actually exist, in both directions.
  • CHANGELOG currency — recent commits (features, breaking changes, renames) that landed with no corresponding CHANGELOG entry. Compare the top entry's date/version against git log since then.
  • Code examples & snippets in docs that reference symbols, flags, file paths, or commands that no longer exist. Verify each referenced identifier resolves in the current tree.
  • Described workflows — step-by-step instructions (install, build, usage) that name scripts, targets, or flags. Confirm they still exist and still take the arguments shown.
  • Version / count claims — "supports 12 commands", "requires Node 18", hardcoded numbers that drift as the repo changes.

Read the full file on GitHub · 380 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. 2d ago Changed · +7 lines 4fc431f6cecf
  2. 8d ago First seen · 373 lines · 19 tokens per session scan A e455eb8a5a8c

Subscribe to this mod's changes

repo-docs is a skill published in the GitHub repository rjwalters/kicad-tools (73 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 4,649 once invoked, about $0.0001 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-01.

Related

repo-docs compared with skills from other repositories

repo-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-docsrjwalters/kicad-toolsSkill73yesterdayMITA19Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k2d agoMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill315k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code