Ai-Agent-Skills 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.
install
source · Clone the upstream repo
git clone https://github.com/MoizIbnYousaf/Ai-Agent-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/MoizIbnYousaf/Ai-Agent-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/audit-library-health" ~/.claude/skills/moizibnyousaf-ai-agent-skills-audit-library-health && rm -rf "$T"
manifest:
skills/audit-library-health/SKILL.mdsource content
Audit Library Health
Goal
Verify that a skills library is consistent, up-to-date, and ready to share or install from.
Guardrails
- Always use
for structured output when automating health checks.--format json - Always use
before running--dry-run
to check if docs are already in sync.build-docs - Never push a library to a shared repo without passing
andvalidate
first.doctor - Use
to limit output when inspecting large catalogs.--fields
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
-
passes with no errorsvalidate -
reports no broken installsdoctor -
shows docs are in syncbuild-docs --dry-run - No skills with empty
fieldswhyHere - All house skills have matching folders in
skills/ -
total matches actual skill countskills.json
Gotchas
andvalidate
are read-only — they never mutate the library.doctor
makes network requests to verify upstream sources. It may be slow or timeout on unreachable repos.check- The
queue is derived from missing fields and stale verification dates — it is a heuristic, not a mandate.curate review