Skip to content
Development
Skill

/audit-library-health

Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.

From plugin
ai-agent-skills
1.1k17 skills3 agents
Install
$ npx -y skills add skillcreatorai/ai-agent-skills --skill audit-library-health --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/audit-library-health

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.

SKILL.md

audit-library-health.SKILL.md
name: audit-library-health
description: Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.
category: workflow
version: 4.1.0

Audit Library Health

Goal

Verify that a skills library is consistent, up-to-date, and ready to share or install from.

Guardrails

  • Always use `--format json` for structured output when automating health checks.
  • Always use `--dry-run` before running `build-docs` to check if docs are already in sync.
  • Never push a library to a shared repo without passing `validate` and `doctor` first.
  • Use `--fields` to limit output when inspecting large catalogs.

Workflow

1. Run the validation script to check catalog integrity.

npx ai-agent-skills validate

This checks: required fields, folder consistency, frontmatter validity, collection integrity, and generated doc sync.

2. Run doctor to check installed skills health.

npx ai-agent-skills doctor --format json

3. Check for skills that may need updates.

npx ai-agent-skills check --format json

4. Verify generated docs are in sync.

npx ai-agent-skills build-docs --dry-run --format json

If `currentlyInSync` is false, regenerate:

npx ai-agent-skills build-docs

5. Review the curation queue for skills needing attention.

npx ai-agent-skills curate review --format json

Health Checklist

  • [ ] `validate` passes with no errors
  • [ ] `doctor` reports no broken installs
  • [ ] `build-docs --dry-run` shows docs are in sync
  • [ ] No skills with empty `whyHere` fields
  • [ ] All house skills have matching folders in `skills/`
  • [ ] `skills.json` total matches actual skill count

Gotchas

  • `validate` and `doctor` are read-only — they never mutate the library.
  • `check` makes network requests to verify upstream sources. It may be slow or timeout on unreachable repos.
  • The `curate review` queue is derived from missing fields and stale verification dates — it is a heuristic, not a mandate.
Read more
Ships withai-agent-skills

Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills

Get the whole plugin