Caddy Audit

Caddy Audit is a skill for Claude Code, Codex from wrg32786/aigent-os. It costs 58 tokens per session (1,196 once invoked), scanned A, original, MIT.

A periodic audit that compares a skill index with the skill instruction files actually present on disk.

In plain words
What is it for?
Use it quarterly, after large skill-folder changes, or when checking whether the skill catalogue accurately reflects the available files.
Why use it?
It finds missing skills, unlisted skills, and descriptions that have drifted out of sync with the catalogue.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it quarterly, after large skill-folder changes, or when checking whether the skill catalogue accurately reflects the available files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrg32786/aigent-os/caddy-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 wrg32786/aigent-os --skill caddy-audit
Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os

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 Caddy Audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg32786/aigent-os/caddy-audit/github.svg)](https://agentmods.dev/skills/wrg32786/aigent-os/caddy-audit)
Your own site
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/caddy-audit"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/caddy-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 Caddy Audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/caddy-audit"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/caddy-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,196 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 82
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Agent Snooping · line 54
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 58
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 59
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Excessive Agency · line 80
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00058 $0.01196
Opus 5 $0.00029 $0.00598
Sonnet 5 $0.00012 $0.00239
Haiku 4.5 $0.00006 $0.00120

Measured 7d ago against content hash c9a2a2962538, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Caddy 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 7d 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.

skills/caddy-audit/SKILL.md · 100 lines

How it starts

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

Caddy Audit

Auto-enrollment makes adding skills easy. Easy adds without periodic audits accumulate drift. /caddy-audit is the quarterly hygiene pass that keeps the skill index honest.

When to use

  • Quarterly — once per ~90 days
  • After bulk skill changes (importing skills from another principal, refactoring skills folder structure)
  • When /caddy-explain shows surprising results that suggest the index doesn't match reality
  • Triggered by Caddy on prompts like: "/caddy-audit", "audit caddy", "skill index drift", "is the skill index correct", "verify skill catalog", "skill drift check"

How to execute

Step 1 — Read the skill index

Load .claude/skill-index.json into memory. Each entry has at minimum: name, triggers, why.

Step 2 — Walk the skills folder

List every SKILL.md file in skills/<name>/SKILL.md and any project-scope .claude/skills/<name>.md. For each, parse the YAML frontmatter for name and description.

Step 3 — Cross-reference

For each skill in the index, check:

  • Does the corresponding SKILL.md exist? If not → INDEX-ORPHAN (in index, not on disk)
  • Does the SKILL.md frontmatter match what was indexed? Specifically:
    • The skill name matches
    • The skill description is consistent with the indexed why (the indexed why is usually a tighter summary; flag if they're contradictory)

For each SKILL.md file on disk, check:

  • Is it in the index? If not → DISK-ORPHAN (on disk, not indexed)

Step 4 — Optional: trigger freshness check

If the skill files store original triggers in their frontmatter (not all do), compare to the indexed triggers. If the SKILL.md has been edited since enrollment AND its trigger frontmatter has diverged from the index, flag as TRIGGER-STALE.

This step is best-effort; not all skills carry trigger frontmatter, and that's fine.

Step 5 — Output the audit report

🔍 Caddy Audit ({date})

Index: {N} entries. Disk: {M} SKILL.md files.

✅ HEALTHY — {K} skills are correctly indexed and on disk.

⚠️ INDEX-ORPHANS ({count}) — in index, no matching SKILL.md:
   - /skill-a — last seen at skills/skill-a/SKILL.md (deleted? renamed?)
   - /skill-b — never had a file?

⚠️ DISK-ORPHANS ({count}) — SKILL.md exists, not in index:
   - skills/new-thing/SKILL.md — run /caddy-enroll skills/new-thing/SKILL.md
   - skills/experimental/SKILL.md — never enrolled

⚠️ TRIGGER-STALE ({count}, best-effort) — SKILL.md frontmatter diverges from index:
   - /skill-c — SKILL.md has 12 triggers, index has 8

Recommended actions:
1. {1-3 specific commands the principal should run to remediate}

Read the full file on GitHub · 100 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. 7d ago First seen · 100 lines · 58 tokens per session scan A c9a2a2962538

Subscribe to this mod's changes

Caddy Audit is a skill published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 1,196 once invoked, about $0.0003 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-01.