Slash Command

/claude-health

Install
1
Install the plugin
$
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flow

Want just this command?

Add to a custom plugin, then install with one command.

Description

- Project root: !`git rev-parse --show-toplevel`

Command Content

Context

  • Project root: !git rev-parse --show-toplevel
  • .claude/ exists: !ls -d .claude 2>/dev/null && echo "yes" || echo "no"

Task

Run a health check on the .claude/ directory structure and plugin sync status, reporting issues and suggesting fixes.

⚠️ Must read and follow the skill below:

@skills/claude-health/SKILL.md @skills/claude-health/references/best-practices.md

Arguments

$ARGUMENTS
ArgumentDescription
--scope hygieneOnly run C1-C7 hygiene checks
--scope syncOnly run S1-S3 sync checks
--scope allRun both modules (default)
--fixAuto-fix P1 hygiene + guided sync remediation
--fix-safeAuto-fix P1 hygiene + safe sync fixes (rules OUTDATED auto-fix; hooks/scripts MISSING only)

Workflow

  1. Select modules based on --scope (default: all)
  2. Execute selected checks from the skill
  3. Output consolidated report
  4. If --fix or --fix-safe: delegate fixes to /install-rules, /install-hooks, /install-scripts

Output

See skill for output format.

Examples

# Run full health check (hygiene + sync)
/claude-health

# Check plugin sync status only
/claude-health --scope sync

# Auto-fix safe items
/claude-health --fix-safe

# Guided remediation for all issues
/claude-health --fix
Stats
Stars90
Forks12
Last CommitMar 14, 2026
Actions