reference
Scoring and config
How the score works
The score runs from 0 to 100. Each category starts with its full points and loses 10 per error, 4 per warning and 1 per info, down to zero. Any Safety error caps the total at 59. The 19 rules are deterministic: no model is involved.
| Category | Points | Covers |
|---|---|---|
| Accuracy | 35 | Instructions that match the code as it is today |
| Presence | 25 | The essentials an agent needs are there |
| Economy | 20 | No dead weight consuming context |
| Consistency | 20 | Files agree with each other |
| Safety | Cap | Any Safety error caps the total score at 59 |
| Score | Band |
|---|---|
| 90 to 100 | Healthy |
| 70 to 89 | Fair |
| 50 to 69 | At risk |
| Below 50 | Critical |
What gets scanned
Only agent configuration files and the manifests needed to verify them. The repo is never cloned.
| Tool | Files |
|---|---|
| Claude Code | CLAUDE.md (root and nested), CLAUDE.local.md, .claude/settings.json, .claude/skills/, .claude/agents/, .claude/commands/, .claude/hooks/, .claude/rules/, .mcp.json |
| Cross-tool standard | AGENTS.md (root and nested) |
| Cursor | .cursor/rules/, .cursorrules |
| GitHub Copilot | .github/copilot-instructions.md, .github/instructions/ |
| Gemini CLI | GEMINI.md |
Config file
A .repovitals.yml at the repo root disables rules and tunes thresholds. The format below is a proposal and may change before launch.
# .repovitals.yml rules: E3: off budget: tokens: 6000 check: fail-under: 70
Badge
[](https://repovitals.dev/r/owner/repo)the badge image is served once monitoring ships
GitHub App permissions
| Permission | Access | Used for |
|---|---|---|
| Metadata | Read | Required baseline |
| Contents | Read | Fetching config files and manifests |
| Pull requests | Write | Posting the drift comment |
| Checks | Write | Reporting the check run |
Privacy
File contents from private repos are never stored; only the rule, the file path and the line are kept. A detected secret is never echoed: the report shows the file, the line and the secret type.