Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chopratejasv0.2.0MITIn 1 marketplace
Finds the files most likely to cause problems in your codebase, ranked by churn, complexity and coupling, with root-cause diagnosis. A PostToolUse hook logs every Edit and Write to track AI-made changes; needs Python 3.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
code-health, technical-debt, hotspots, ai-code-quality, provenance, code-churn, refactoring
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Your codebase has a health score. You just can't see it yet.
Vitals is a Claude Code plugin that finds the files most likely to cause your next outage, explains why they're dangerous, and tells you exactly what to fix first.
It's not a linter. It's not a static analysis tool. It reads your code, thinks about it, and gives you a diagnosis — like a doctor, not a thermometer.
/vitals:scan
Overall Health: 5.4 / 10.0 ██████████░░░░░░░░░░
HOTSPOTS — Ranked by ROI (core > test, central > leaf)
File Health Role Complexity Churn Links
───────────────────────────────────────────────────────────────────────────
src/proxy/server.py 2.3 core 100 49/90d 63
src/transforms/content_router.py 2.8 core 98 17/90d 35
src/transforms/smart_crusher.py 2.8 core 100 16/90d 12
TOP RECOMMENDATION
src/proxy/server.py is your #1 priority: 7,137 lines, health 2.3 (alert zone),
49 changes in 90 days, co-changes with 63 other files.
This file handles routing, caching, rate limiting, cost tracking, AND metrics
in a single class. Extract each concern into its own module.
In Claude Code, run:
/plugin marketplace add chopratejas/vitals
/plugin install vitals@vitals
Then:
/vitals:scan
/vitals:scan src/auth # scope to a directory
/vitals:scan --top 20 # show more hotspots
No API keys. No configuration. No external dependencies. Just Python 3 and a codebase.
A fast metrics scan identifies WHERE to look:
churn x complexity x centrality. Not just "what's complex" but "what's complex AND changing frequently AND connected to everything else."Claude reads the top hotspot files and diagnoses root causes:
The metrics tell Claude where to look. Claude tells you what's actually wrong.
From the moment you install, Vitals silently tracks every AI-generated edit:
This data accumulates over time. After a week of use, /vitals:scan shows AI-specific insights — which files are churning under AI edits, which modules are being regenerated instead of maintained.
Developer runs /vitals:scan
│
▼
┌─────────────────────────────────────┐
│ Phase 1: Python metrics script │
│ ├─ git log → churn analysis │
│ ├─ indentation → complexity gate │
│ ├─ co-change → coupling detection │
│ ├─ shortlog → knowledge risk │
│ └─ Output: structured JSON │
└──────────────┬──────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Phase 2: Claude reads hotspots │
│ ├─ Reads top 3 core files │
│ ├─ Diagnoses root causes │
│ ├─ Assesses blast radius │
│ └─ Prescribes specific fixes │
└──────────────┬──────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Report: ROI-ranked action plan │
│ ├─ Core hotspots with diagnosis │
│ ├─ Coupling issues explained │
│ ├─ Knowledge risk assessment │
│ └─ "Fix this first" ranked list │
└─────────────────────────────────────┘
Meanwhile, in the background:
PostToolUse hook → captures every AI edit → .vitals/store.db
Zero dependencies. No pip install. No npm. No API keys. The entire plugin is Python stdlib + git. If you have Python 3 and a terminal, it works.
Zero regex. Complexity is measured by indentation depth, not language-specific keyword patterns. This works for Python, Java, Scala, Go, TypeScript, Rust — any language with indentation. The nesting gate (depth <= 2 = not code) filters lock files, configs, and data files without maintaining a brittle extension list.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chopratejas/vitals --plugin vitalsPlugins from other owners that cover similar ground