Audits Agent Skills catalogs or installed skill roots for metadata and doc-link issues. Optionally applies conservative --fix-safe repairs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/paulrberg-agent-skills:skill-doctor [--root PATH ...] [--format text|json] [--fix-safe] [--include-shelved][--root PATH ...] [--format text|json] [--fix-safe] [--include-shelved]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit local Agent Skills catalogs and installed skill roots, then apply only narrow metadata repairs when requested.
Audit local Agent Skills catalogs and installed skill roots, then apply only narrow metadata repairs when requested.
--root PATH: Scan this catalog or installed skill root. Repeatable. Default: current working directory.--format text|json: Select report format. Default: text.--fix-safe: Create missing agents/openai.yaml files or update mismatched policy.allow_implicit_invocation.--include-shelved: Include shelved/*/SKILL.md in metadata checks. Shelved skills are never required in README.md.Resolve the skill directory, then run the helper from that directory:
uv run scripts/skill-doctor.py "$ARGUMENTS"
Use JSON when another command or agent will consume the result:
uv run scripts/skill-doctor.py --root . --format json
Run safe fixes only after reading the findings:
uv run scripts/skill-doctor.py --root . --fix-safe
Re-run without --fix-safe after any manual edits.
error findings as catalog defects that should block publishing or syncing.warning findings as review-required catalog hygiene issues.path and line from JSON output for precise follow-up edits.--fix-safe may only:
agents/openai.yaml with policy.allow_implicit_invocation derived from SKILL.md.allow_implicit_invocation boolean when it disagrees with disable-model-invocation.Do not use the helper to rewrite frontmatter order, descriptions, README rows, references/version.txt, or relative links. Make those edits manually and verify with a fresh audit.
0: Clean, or all requested safe fixes succeeded and no findings remain.1: Findings remain.2: Invalid arguments or unreadable environment.3: A requested safe fix failed.npx claudepluginhub paulrberg/agent-skillsDetects and auto-fixes common SKILL.md hygiene issues like missing name, description, name mismatches, and dead references. Useful for maintaining skill quality across a directory.
Audits an AI agent's skills tree, detecting dead skills, missing documentation, unsafe shell commands, and duplicate triggers. Generates a detailed health report.
Audits plugin skills, commands, and agents for agentic output optimization including missing compact/JSON flags, Agentic Optimizations tables, and stale review dates.