klim score
Compute a single health score for your dev environment by combining tool freshness, doctor diagnostics, audit findings, compliance status, and source management into a 0-100 metric.
klim score [flags]| Flag | Description |
|---|---|
--json | Output as JSON |
--badge | Output shields.io badge URL |
--refresh | Force fresh scan |
Scoring Categories
Section titled “Scoring Categories”| Category | Max Points | What it measures |
|---|---|---|
| Tools up to date | 30 | Percentage of tools at latest version |
| Doctor health | 25 | Errors (-5 each) and warnings (-2 each) from doctor |
| Audit clean | 20 | Warnings (-3) and infos (-1) from audit |
| Compliance | 15 | Policy violations (errors -5, warnings -2) |
| Managed sources | 10 | Unmanaged/manual tools (-3 each) |
Grade Scale
Section titled “Grade Scale”| Grade | Score |
|---|---|
| A+ | 95-100 |
| A | 90-94 |
| B | 80-89 |
| C | 70-79 |
| D | 60-69 |
| F | 0-59 |
Examples
Section titled “Examples”# Human-readable score cardklim score
# JSON for CI pipelinesklim score --json
# shields.io badge URL for READMEklim score --badgeAdd to your README:
Generate your actual badge URL with:
klim score --badgeThe score is shown in the Dashboard tab as a prominent gauge with grade.
See Also
Section titled “See Also”- klim security health — Environment diagnostics
- klim security audit — Security audit
- klim security compliance — Policy validation