/health
Show Repowise code-health — KPIs, lowest-scoring files, refactoring targets, trends, or per-file markers.
> /plugin marketplace add repowise-dev/repowise > /plugin install repowise@repowise
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/health
Context preview
What this command does when you run it.
Show Repowise code-health — KPIs, lowest-scoring files, refactoring targets, trends, or per-file markers.
Command definition
health.mddescription: Show Repowise code-health — KPIs, lowest-scoring files, refactoring targets, trends, or per-file markers.
allowed-tools: Bash, Read
Repowise Health
Report the code-health layer: a deterministic 1–10 score per file from markers (complexity, deep nesting, brain methods, cohesion, duplication, untested hotspots, and more). No LLM — works even in index-only mode.
Steps
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Decide the mode from `$ARGUMENTS` (see below), run the command, and present a readable summary — score(s), the top marker findings, and what they mean. Don't dump the raw table verbatim.
Modes
Default (no args) — dashboard KPIs + lowest-scoring files:
repowise health
Handle `$ARGUMENTS`:
- A file or directory path → `repowise health <path>` (or `--file <path>` for a single file)
- "refactoring" / "targets" → `repowise health --refactoring-targets` (ranked by impact/effort)
- "trend" / "trends" → `repowise health --trend` (last snapshots + declining / predicted-decline alerts)
- "module <name>" → `repowise health --module <name>`
- a coverage file (e.g. `cov.lcov`, `coverage.xml`, `.coverage`) → `repowise coverage add <file>` to ingest it (folds into health markers, and builds the per-test map when the report has contexts), then `repowise health`
Other flags: `--format json` for machine-readable output, `-v, --verbose` for pipeline debug logs, `--repo <alias>` / `--no-workspace` in workspace mode.
Notes
- A file that is both low-health **and** a churn hotspot is the highest-priority
cleanup — cross-reference with `/repowise:risk` or `get_risk`.
- If everything scores high, say so plainly rather than inventing concerns.
Read more
description: Show Repowise code-health — KPIs, lowest-scoring files, refactoring targets, trends, or per-file markers. allowed-tools: Bash, Read
Repowise Health
Report the code-health layer: a deterministic 1–10 score per file from markers (complexity, deep nesting, brain methods, cohesion, duplication, untested hotspots, and more). No LLM — works even in index-only mode.
Steps
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Decide the mode from `$ARGUMENTS` (see below), run the command, and present a readable summary — score(s), the top marker findings, and what they mean. Don't dump the raw table verbatim.
Modes
Default (no args) — dashboard KPIs + lowest-scoring files:
repowise health
Handle `$ARGUMENTS`:
- A file or directory path → `repowise health <path>` (or `--file <path>` for a single file)
- "refactoring" / "targets" → `repowise health --refactoring-targets` (ranked by impact/effort)
- "trend" / "trends" → `repowise health --trend` (last snapshots + declining / predicted-decline alerts)
- "module <name>" → `repowise health --module <name>`
- a coverage file (e.g. `cov.lcov`, `coverage.xml`, `.coverage`) → `repowise coverage add <file>` to ingest it (folds into health markers, and builds the per-test map when the report has contexts), then `repowise health`
Other flags: `--format json` for machine-readable output, `-v, --verbose` for pipeline debug logs, `--repo <alias>` / `--no-workspace` in workspace mode.
Notes
- A file that is both low-health **and** a churn hotspot is the highest-priority
cleanup — cross-reference with `/repowise:risk` or `get_risk`.
- If everything scores high, say so plainly rather than inventing concerns.
Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Repo: repowise-dev/repowise
Other commands on repowise.
- /coverage
Ingest or inspect test-coverage reports — LCOV, Cobertura/Clover, or coverage.py .coverage (builds the per-test map when contexts are present).
Open command - /dead-code
Report unreachable files, unused exports, and zombie packages, tiered by confidence.
Open command - /decision
Work with architectural decisions — list, inspect health, add, or confirm auto-proposed decisions.
Open command - /doctor
Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.
Open command - /impacted-tests
Print the tests whose coverage intersects a change's changed lines — for a commit, base..head range, or staged diff.
Open command - /init
Set up Repowise for this codebase. Installs if needed, asks about your preferences, and runs the indexing.
Open command

