본문으로 건너뛰기
cccskills
무료GitHub에 공개

Caddy Audit

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os스타 25(GitHub 25 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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}

Step 6 — Optionally, write the report to the vault

If the principal wants longitudinal data:

# Save to vault/memory/AUDITS/caddy-{YYYY-MM-DD}.md

This becomes a track record over time of how clean the catalog stays. Patterns surface — "we always have 3-5 disk orphans because /skills-builder doesn't always run /caddy-enroll" — which informs whether the auto-enrollment pipeline needs hardening.

What this skill should NEVER do

  • Auto-fix without asking. Removing an INDEX-ORPHAN means deleting an entry from skill-index.json. The principal should approve that — even if "obvious," the entry might exist for a reason (e.g., a planned skill not yet implemented).
  • Auto-enroll DISK-ORPHANS. Same reason. The principal might have a half-built skill that they don't want in the index yet.
  • Edit SKILL.md frontmatter. TRIGGER-STALE means the index drifted; the fix is to re-run /caddy-enroll for the affected skill. The skill file is canonical.

Why this skill exists

Auto-enrollment plus the natural rate of skill experimentation produces drift. Without periodic auditing, the index slowly diverges from reality:

  • Old skills get deleted but stay in the index → Caddy emits hints for non-existent skills (errors when invoked)
  • New skills get added without enrollment → Caddy can't see them (toolbox compounds without compounding)
  • Skill descriptions get refined but enrollment isn't refreshed → Caddy emits stale why lines

The 200ms latency budget means Caddy can't afford to do this checking on every invocation. Hence the quarterly audit pattern.

Connects to

  • [[Caddy]] — the system this skill audits
  • /caddy-enroll — the skill that adds a SKILL.md to the index (this audit's complement)
  • /caddy-explain — the inspector for individual scoring decisions
  • [[The Self-Management Layer]] — /caddy-audit is a member; this is the maintenance loop for the catalog itself

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

brief

무료

Generate a structured delegation brief for any task

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

Mute a Caddy hint class for a window. Defaults to 4h auto-expiry. Classes — memory, context, body, routing, all.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wrg32786/aigent-os252026년 10월 29일 업데이트

wrg32786의 스킬 모두 보기

이 스킬의 문제 신고