AugmentClaude

Library Health Auditor

Validate skills library consistency, detect stale items, and verify documentation is current.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/audit-library-health-moizibnyousaf/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

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

What this skill does

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.

  1. Run doctor to check installed skills health.
npx ai-agent-skills doctor --format json
  1. Check for skills that may need updates.
npx ai-agent-skills check --format json
  1. 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
  1. 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.

Related skills