No slash command · from health-plugin
Audits plugin skills, commands, and agents for CLI commands lacking compact/fail-fast/JSON flags and stale review dates. Use when batch-checking skill documentation quality.
Ships in health-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The user-facing entry point is /health:check --scope=agentic, with --fix to apply changes; this skill is model-invoked only (user-invocable: false).
Scan all plugin skills, commands, and agents for CLI commands that would flood an agent's context: commands documented without compact, fail-fast, or machine-readable flags. Also reports skills whose reviewed date is stale.
Standards reference: .claude/rules/agentic-optimization.md, .claude/rules/skill-quality.md, and .claude/rules/context-engineering.md § Supersedes. The "Agentic Optimizations" table is optional under those rules: keep it only where the commands are the payload (CLI-wrapper skills). This audit never asks for one elsewhere and never inserts one.
| Use this skill when... | Use another approach when... |
|---|---|
| Finding bare CLI commands in skill docs | Plugin relevance to the project stack (/health:check --scope=stack) |
Finding skills whose reviewed date is stale | Comprehensive environment check (use /health:check) |
| Quality-checking skill documentation in batch | Plugin registry issues (/health:check --scope=registry) |
Skill overlap or split pressure (use /health:skill-audit) |
pwdfind . -path ./.claude/worktrees -prune -o \( -name 'SKILL.md' -o -name 'skill.md' \) -printfind . -path ./.claude/worktrees -prune -o -path '*/agents/*.md' -not -name 'README.md' -print| Parameter | Description |
|---|---|
--fix | Apply the single replacement flag that REFERENCE.md names for a bare CLI command, after confirmation, and update modified on each edited file. Never inserts tables or placeholder rows |
--verbose | Show all scanned files and detailed pattern matching results |
Execute this agentic output audit:
Use the Context file lists (worktrees are pruned; each agent worktree is a full repo clone). Classify each file by type (skill, command, agent) for the report.
This is the audit's primary finding. Read the execution and context sections of every file and match the commands against the Bare CLI Command Patterns table in REFERENCE.md. A command is a finding when it lacks the compact, fail-fast, or machine-readable flag its row names.
Match only commands the reader is told to run: fenced shell blocks and !`…` context commands. Prose that quotes a command as an anti-pattern is not a finding. Context commands that read a whole file (cat <file>) go in the Context Section Issues list.
A missing table is at most an INFO note, and only for a CLI-wrapper skill: one whose commands are the payload, meaning at least half of its fenced shell commands start with the same tool and that tool is named in the skill's name or description. Every other skill without a table passes this step silently. INFO notes never count towards the issue total and --fix never acts on them.
reviewed dates for stalenessFor each skill, read the reviewed field from the YAML frontmatter, using the extraction pattern in REFERENCE.md. reviewed records when the content was last verified against current docs; modified records the last edit and says nothing about review.
reviewed older than 90 days as a stale reviewreviewed field as never reviewedmodified out of this checkOutput the report template from REFERENCE.md:
cat or verbose outputreviewed dateIf --verbose: also list all scanned files with their status (pass/fail per check).
When --fix is passed:
--fix applies column and whose command is the last stage of its pipeline (no | after it, so a downstream parser still gets the format it expects). Every other finding stays report-only.AskUserQuestion before writing.modified to today's date in each edited file. Leave reviewed unchanged: a flag edit is not a review.--fix changes no other content: no Agentic Optimizations tables, no placeholder rows, no date-only edits on files it did not otherwise change.
/health:check - Full diagnostic scanhealth-plugin:health-audit - Plugin relevance audit (user path: /health:check --scope=stack).claude/rules/agentic-optimization.md - Optimization standards.claude/rules/context-engineering.md - Why the Agentic Optimizations table is optionalWhat SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/health-auditPlugin audit against detected stack (Python, Node, Rust, Go, Terraform, Docker, K8s). Use when cleaning up unused plugins or discovering stack-relevant ones for a project./health-checkClaude Code health check — every environment check in one pass, names the broken layer, `--fix` repairs. Use when asked for a health check, or the install misbehaves and the cause is unknown./health-pluginsRun check-registry.sh and fix-registry.sh: find orphaned projectPath rows and stale enabledPlugins keys, back up, remove. Use when seeing plugin-already-installed errors or registry drift./health-skill-auditSkill-overlap report for a plugin repo — confusable siblings, split-pressure, merge candidates. Use when two skills seem to answer one request, or a long SKILL.md may need a REFERENCE.md split./plugin-registryClaude Code plugin registry structure, install scopes, and version lag. Use when troubleshooting plugin problems, a stale plugin version in one project, or fixing registry entries./settings-configurationClaude Code settings precedence and permission rules: allow/ask/deny, modes, Bash wildcards. Use when writing permissions or a setting won't apply.npx claudepluginhub laurigates/claude-plugins --plugin health-pluginOther plugins' skills for the same job