repo-audit

repo-audit is a skill for Claude Code, Codex from rjwalters/kicad-tools. It costs 22 tokens per session (1,377 once invoked), scanned A, original, MIT.

A read-only repository health scan covering README files, unused files, links, ignore rules, and branches. A README is the documentation file commonly shown when someone opens a project.

In plain words
What is it for?
Use it to find missing or inaccurate documentation, orphaned files, broken links, stale notes, and branch or ignore-rule issues.
Why use it?
It gathers common maintenance problems into one report without changing the repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it to find missing or inaccurate documentation, orphaned files, broken links, stale notes, and branch or ignore-rule issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rjwalters/kicad-tools/repo-audit
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-audit
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-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjwalters/kicad-tools/repo-audit"><img src="https://agentmods.dev/badge/skills/rjwalters/kicad-tools/repo-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,377 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.00022 $0.01377
Opus 5.5 $0.00009 $0.00551
Sonnet 5.5 $0.00004 $0.00275
Haiku 4.5 $0.00002 $0.00138

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

Security

Grade A, and why

repo-audit 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 8d 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-audit/SKILL.md · 129 lines

How it starts

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

Codex form of the /repo:audit 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-audit — Full Health Sweep

Run a full health sweep of the repository (or a specific subtree). Reports findings grouped by category and severity. Does not make changes — presents findings for discussion.

Usage

$repo-audit                    # Full repo
$repo-audit packages/core      # Scope to one subtree

What It Checks

Run each of the following checks and compile results into a single report:

1. README Accuracy (see [[readme]])

  • Browsable directory levels that lack a README (top-level and significant subdirs — so GitHub renders docs at each level someone navigates to)
  • READMEs whose file/folder listings don't match actual contents
  • Stale "gitignored" or "TODO" annotations that are no longer true

2. Orphaned Files (see [[orphans]])

  • Scripts not referenced by any other file, Makefile, or CI config
  • Data files (.yaml, .json, .csv) not imported or referenced anywhere
  • Generated outputs (PDFs, binaries) without a corresponding source

3. Broken Links (see [[links]])

  • Markdown links ([text](path)) pointing to nonexistent files
  • CLAUDE.md paths that don't resolve
  • Skill/command cross-references to missing files
  • Links inside an install-template tree (an installer's defaults/, a cookiecutter skeleton) resolve at their installed destination when the repo declares the mapping in .repo/link-roots.json. Fold [[links]]' mapping table into this report and say which mapping resolved a link — a mapping fails by hiding errors, so it has to show its work. With no declaration, resolution is unchanged.
  • A relative link that resolves outside the repo root (a citation into a sibling repo in a multi-repo workspace) is checked against .repo/link-siblings.json when the repo declares one. Report it distinctly: resolved via sibling repo when the checkout is present and the target exists, a normal MISSING finding when the checkout is present but the target is gone, and sibling repo not present — unverifiable — never MISSING — when the sibling isn't checked out on this machine at all. With no declaration, out-of-repo links are handled exactly as they are today.

Read the full file on GitHub · 129 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. 8d ago First seen · 129 lines · 22 tokens per session scan A 218bae371de9

Subscribe to this mod's changes

repo-audit is a skill published in the GitHub repository rjwalters/kicad-tools (73 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,377 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-audit compared with skills from other repositories

repo-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-auditrjwalters/kicad-toolsSkill73yesterdayMITA22Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill85kyesterdayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
re0-mergeLilMGenius/paperthinSkill1.4kyesterdayMITA70Claude Code