Project Health Auditor
Analyze local repos for code health, complexity, test coverage gaps - multi-dimensional health analysis combining complexity + churn + coverage
- Type
- Plugin
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Version
- 1.18.0
- Author
- Intent Solutions IO
What Project Health Auditor is
Project Health Auditor is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Project Health Auditor adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Project Health Auditor
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
- Install the plugin: claude plugin install project-health-auditor@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
- Find Project Health Auditor in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/mcp/project-health-auditor/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.
MCP Server Plugin for Claude Code
Analyze local repositories for code health, complexity, test coverage gaps, and git churn patterns. Get multi-dimensional insights into your codebase health combining complexity metrics, change frequency, and test coverage.
Features
4 Powerful MCP Tools
1. list_repo_files - File Discovery
- List all files in a repository with glob pattern matching
- Exclude patterns (node_modules, .git, dist, build)
- Returns file count and full file list
2. file_metrics - Code Health Analysis
- Cyclomatic complexity calculation
- Function/method counting
- Comment ratio analysis
- File size and line count
- Health score (0-100) based on multiple factors
3. git_churn - Change Frequency Analysis
- Identify files that change frequently
- Track authors per file
- Find hot spots in your codebase
- Analyze commit patterns over time
4. map_tests - Test Coverage Mapping
- Map source files to test files
- Identify files missing tests
- Calculate test coverage ratio
- Get actionable recommendations
Installation
# Install the plugin
/plugin install project-health-auditor@claude-code-plugins-plus
# The MCP server will be automatically availableUsage
Quick Analysis
Analyze the health of /path/to/my-projectClaude will use the MCP tools to:
- List all source files
- Analyze complexity of key files
- Check git churn patterns
- Map test coverage
Individual Tool Usage
List Repository Files:
Use list_repo_files on /path/to/repo with globs ["src/**/*.ts", "lib/**/*.js"]Analyze File Metrics:
What's the complexity of src/services/auth.ts?Check Git Churn:
Show me the most frequently changed files in the last 6 monthsMap Tests:
Which files are missing tests in this project?️ MCP Tools Reference
list_repo_files
Purpose: Discover files in a repository
Input:
{
repoPath: string; // Absolute path to repository
globs?: string[]; // Patterns to match (default: ["**/*"])
exclude?: string[]; // Patterns to exclude
}Output:
{
"repoPath": "/path/to/repo",
"totalFiles": 245,
"files": ["src/index.ts", "src/utils/helper.ts", ...],
"patterns": ["**/*"],
"excluded": ["node_modules/**", ".git/**"]
}file_metrics
Purpose: Analyze a single file's health
Input:
{
filePath: string; // Absolute path to file
}Output:
{
"file": "src/services/auth.ts",
"size": 12543,
"lines": 342,
"extension": ".ts",
"complexity": {
"cyclomatic": 28,
"functions": 12,
"averagePerFunction": 2
},
"comments": {
"lines": 45,
"ratio": 13.16
},
"healthScore": 75
}Health Score Factors:
- High complexity (>10 per function): -30 points
- Medium complexity (5-10): -15 points
- Low comments (<5%): -10 points
- Good comments (>20%): +10 points
- Very long files (>500 lines): -20 points
- Long files (>300 lines): -10 points
git_churn
Purpose: Find frequently changing files (hot spots)
Input:
{
repoPath: string; // Absolute path to git repository
since?: string; // Time period (default: "6 months ago")
}Output:
{
"repoPath": "/path/to/repo",
"since": "6 months ago",
"totalCommits": 342,
"filesChanged": 156,
"topChurnFiles": [
{
"file": "src/api/handler.ts",
"commits": 45,
"authors": ["Alice", "Bob"],
"authorCount": 2
}
],
"summary": {
"highChurn": 12, // >10 commits
"mediumChurn": 34, // 5-10 commits
"lowChurn": 110 // <5 commits
}
…High churn files are candidates for refactoring or stabilization.
map_tests
Purpose: Identify test coverage gaps
Input:
{
repoPath: string; // Absolute path to repository
}Output:
{
"repoPath": "/path/to/repo",
"summary": {
"totalSourceFiles": 156,
"totalTestFiles": 98,
"testedFiles": 102,
"coverageRatio": 65.38
},
"coverage": {
"src/services/auth.ts": ["src/services/auth.test.ts"],
"src/utils/helper.ts": ["src/utils/helper.spec.ts"]
},
"missingTests": [
"src/api/legacy.ts",
"src/utils/old-helper.ts"
],
"recommendations": [
"️ Test coverage is below 80%. Consider adding tests for remaining files.",
…Use Cases
1. Pre-Refactoring Analysis
Before refactoring, identify:
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Project Health Auditor?
Project Health Auditor is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Analyze local repos for code health, complexity, test coverage gaps - multi-dimensional health analysis combining complexity + churn + coverage
How do I install Project Health Auditor in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install project-health-auditor@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Project Health Auditor in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Project Health Auditor in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Project Health Auditor safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- X Bug Triage Plugin Closed-loop bug triage: X complaints → clusters → repo evidence → owner routing → terminal review → filed issues Plugin · jeremylongshore/tons-of-skills-marketplace
- Youtube Strategy Complete YouTube content production workflow: research competitors, generate video ideas, build briefs, craft titles and thumbnails, and create detailed video outlines with demo prep checklists. Plugin · jeremylongshore/tons-of-skills-marketplace
- Xstatus Show X account status, credit balance, and active monitors Slash Command · jeremylongshore/tons-of-skills-marketplace
- Yt Brief Refine a video idea into a structured production brief Slash Command · jeremylongshore/tons-of-skills-marketplace
- Promptbook Opt-in Claude Code analytics. After setup consent, Promptbook sends session metrics to promptbook.gg and publishes shareable build cards. Plugin · jeremylongshore/tons-of-skills-marketplace
- Product Team Product team — 8 agents: Helm, Echo, Lumen, Draft, Form, Crest, Pitch, Surge Plugin · jeremylongshore/tons-of-skills-marketplace
- Publishing Skills Governed editorial workflows for evidence-backed topic research, content scheduling, accessible SVG figures, source-grounded drafting, and approved CMS handoff. Use when planning, researching, illustrating, drafting, or handing off a publication-ready article. Plugin · jeremylongshore/tons-of-skills-marketplace
- Procore Pack 24 governed Procore operator workflows for OAuth, REST, webhooks, files, permissions, health, and synchronization Plugin · jeremylongshore/tons-of-skills-marketplace