A
audit-library-health
About audit-library-health
A reusable skill for checking whether an ai-agent-skills library is consistent, current, and ready to share or install. It guides maintainers through validation, installation health checks, update checks, documentation sync, and curation review.
Key features
- 01Validate catalog structure and generated docs
- 02Check installed skill health
- 03Find skills that may need updates
- 04Preview documentation synchronization
- 05Review the curation queue
Use cases
- 01Check a skills library before sharing it
- 02Find broken skill installations
- 03Identify stale or incomplete catalog entries
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ moizibnyousaf/ ai-agent-skills --skill audit-library-healthAfter installing, type/audit-library-healthin Claude Code to confirm it loaded.
Details
From the project READMEAudit Library Health
Goal
Verify that a skills library is consistent, up-to-date, and ready to share or install from.
Guardrails
- Always use
--format jsonfor structured output when automating health checks. - Always use
--dry-runbefore runningbuild-docsto check if docs are already in sync. - Never push a library to a shared repo without passing
validateanddoctorfirst. - Use
--fieldsto limit output when inspecting large catalogs.
Workflow
- 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.
- Run doctor to check installed skills health.
npx ai-agent-skills doctor --format json
- Check for skills that may need updates.
npx ai-agent-skills check --format json
- 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
- Review the curation queue for skills needing attention.
npx ai-agent-skills curate review --format json
Health Checklist
-
validatepasses with no errors -
doctorreports no broken installs -
build-docs --dry-runshows docs are in sync - No skills with empty
whyHerefields - All house skills have matching folders in
skills/ -
skills.jsontotal matches actual skill count
Gotchas
validateanddoctorare read-only — they never mutate the library.checkmakes network requests to verify upstream sources. It may be slow or timeout on unreachable repos.- The
curate reviewqueue is derived from missing fields and stale verification dates — it is a heuristic, not a mandate.
Comments
Markdown supported