Skill Audit
Invocation: Start only when the user explicitly requests this workflow.
A periodic health sweep of the custom skills/ tree - run it on a cadence, not per change. Validating one skill you just wrote is /skill-creator’s job; this walks the collection and judges it as a set. The output is a findings list, not silent edits: audit, report, then route each finding to the skill that fixes it.
Vendor snapshots under skills/vendor/ belong to their upstream authors. Exclude them from description and invocation-policy audits, edits, and local overrides. Archived skills and drafts are inactive and also outside this audit.
The tree is the single source of truth; the generated README, agents/AGENTS.md, dashboard, and skills.sh.json are downstream of it.
Before you start
Three mechanical gates come first. They write nothing, so the audit stays read-only, and they catch drift a read-through would miss:
devenv --no-tui shell -- ask skills lint- frontmatter, naming, placement, links. Record every error; these are findings.devenv --no-tui shell -- ask skills sync --dry-run- lists installs that would be updated or deleted. Any[Update]or[Delete]line means local installs drifted from the tree; record it.devenv --no-tui shell -- ask dashboard lint- renders dashboard content into a scratch directory and compares it with the committed copy. A failure means the generated artifacts drifted; record the listed paths.
Fixing drift (a real ask skills sync) is a follow-up you recommend, not part of the audit.
The audit
Walk the whole collection. Each pass carries an exhaustive bound - every skill, every reference, no sampling.
-
Inventory. List every promoted custom skill - one per
skills/<category>/<name>/, excludingvendor/and thein-progress/lifecycle bucket (archived skills live outsideskills/, underskills-archive/, and are out of scope) - grouped by category. This inventory is what the rest of the audit checks against. -
Per-skill review. Apply the checklist below to every skill in the inventory.
-
Cross-reference integrity. Collect every skill reference -
/skill-namementions, relative links, and prose that names another skill (“use the X skill”) - across everySKILL.mdand every file underresources/manual/, and confirm each resolves to a promoted skill in the samemetadata.group. A reference to an archived or nonexistent skill is a dangling reference; one that crosses groups breaks the self-contained rule. Record both. Then confirm the/skill-routerindex gives every promoted skill exactly one entry (prose mentions elsewhere in the router are fine) and names nothing archived or gone.# Promoted custom skill entry points (the inventory). rg --files skills -g SKILL.md -g '!skills/vendor/**' -g '!skills/in-progress/**' # Slash references are candidates: distinguish commands from paths before reconciling. rg -o --no-filename '/[a-z][a-z0-9]+(-[a-z0-9]+)*' skills \ -g '*.md' -g '!skills/vendor/**' -g '!skills/in-progress/**' -g '!**/resources/auto/**' | sort -u # Relative links from SKILL.md and resources/manual/ that do not resolve. rg -n -o '\]\(\.[^)#]+' skills -g '*.md' -g '!skills/vendor/**' -g '!**/resources/auto/**' -
Collection-level review. Across the whole set, look for:
- Duplication or conflict - two skills covering the same branch, or giving contradictory guidance. Recommend a merge or a sharper boundary between them.
- Retirement candidates - a skill superseded, stale, or that no realistic task would reach. Route to
/skill-archive. - Gaps - a recurring task with no skill to serve it. Route to
/skill-creator.
-
Report. Emit one findings list. Each finding names the skill(s) it touches, the problem, and a recommended action - edit or create via
/skill-creator, retire via/skill-archive, fix a reference in place.
Per-skill checklist (reference)
For each skill in the inventory:
- Frontmatter valid -
nameequals the directory, kebab-case, prefix-free, ≤64 chars, no “claude”/“anthropic”;descriptionis one line, ≤1024 chars, stating what it does and when to use it. Canonical keys only - no legacycustom:,triggers:,category:, ortype:. - Categorised right - sits in the topic bucket matching what it does, and is not stranded in
in-progress/while still live, nor sitting inskills-archive/while something still routes to it. - Description earns its load - one or two concise sentences, usually 100-220 characters, stating the task and a useful selection boundary. Keep version histories, command inventories, and synonym lists in the body. Codex
interface.short_descriptionis a separate UI label, not the discovery description. - Invocation is deliberate - record automatic or explicit-only selection and its rationale for every custom skill. Check required helpers remain reachable from approved parent workflows. Publishing, lifecycle changes, and large orchestration workflows need explicit initiation; bounded references and task helpers can be automatic. Loading a skill grants no additional action authorization.
- Policies agree - every promoted custom skill has an explicit boolean
policy.allow_implicit_invocationinagents/openai.yaml, equal to the inverse ofdisable-model-invocation(defaultfalse). Explicit-only bodies state their user-request boundary for hosts without a verified policy control. Use/skill-creator’s compatibility reference when evaluating host-specific behavior. - Body is lean - no sediment (stale lines), no sprawl (simply too long), no duplication (one meaning, one place), no no-op (default behaviour restated), no negation (steer by the positive target).
- References resolve - its
/skill-namementions and sibling-file pointers all hit live targets. - Works standalone - installed alone, the skill still works: no reliance on this repository’s tooling (
ask,skills --action, repo paths, a hard-codeddevenv) unless it exists for that tool, and no reliance on skills outside its group. - Facts are current - commands, flags, API names, and version claims match the skill’s own
resources/auto/orresources/manual/docs; everyresources/auto/file is real documentation, not an HTML shell, redirect stub, or marketing page.
Done when
Every skill in the inventory has been through the checklist, every /skill-name reference has been resolved to a live skill or recorded as dangling, the router has been checked against the inventory, and the findings list names each problem with a recommended action and the skill it belongs to.