Dimensional Analysis skill: what it does and how to install it
Annotates arithmetic-heavy codebases with units, scaling and dimensions, then validates mismatches and formula bugs in DeFi and financial logic.
Summary generated from the skill's documentation.
Install
$ npx skills add trailofbits/skills --skill dimensional-analysisRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Runs a full-auto four-step pipeline that scans arithmetic files, discovers a dimensional vocabulary, adds anchor and propagated annotations, and validates mismatches. It records scope and vocabulary in project files, delegates each stage to specialist agents, and reports findings, coverage and blocked files.
When to use it. For DeFi, financial or scientific code with mixed units, decimal precisions, fixed-point arithmetic or unit conversions. It is not intended for code without dimensional arithmetic, pure counting logic or a quick single-formula check.
History
Repo stars
7.5kAbout +327 since 16 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 67 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 12 Oct 2026 | 7,491 |
| 11 Oct 2026 | 7,473 |
| 10 Oct 2026 | 7,457 |
| 9 Oct 2026 | 7,444 |
| 8 Oct 2026 | 7,427 |
| 7 Oct 2026 | 7,408 |
| 6 Oct 2026 | 7,389 |
| 5 Oct 2026 | 7,370 |
| 4 Oct 2026 | 7,355 |
| 3 Oct 2026 | 7,348 |
| 2 Oct 2026 | 7,340 |
| 1 Oct 2026 | 7,320 |
| 24 Sept 2026 (estimated) | 7,310 |
| 17 Sept 2026 (estimated) | 7,305 |
| 10 Sept 2026 (estimated) | 7,239 |
| 3 Sept 2026 (estimated) | 7,179 |
| 27 Aug 2026 (estimated) | 7,174 |
| 20 Aug 2026 (estimated) | 7,174 |
| 13 Aug 2026 (estimated) | 7,169 |
| 6 Aug 2026 (estimated) | 7,164 |
| 30 Jul 2026 (estimated) | 7,164 |
| 23 Jul 2026 (estimated) | 7,164 |
| 16 Jul 2026 (estimated) | 7,164 |
Installs
3.9k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Diagnosing BugsRuns a diagnosis loop for hard bugs and performance regressions.
- Improve Codebase ArchitectureScans a codebase for chances to deepen modules, shows them in an HTML report, then interviews you about the one you pick.
- PrototypeBuilds a throwaway prototype to answer a design question about a state model, logic or UI.