SkillTrust

← All skills

dimensional-analysis

100 / 100 · Low risk

Fine to try.

By trailofbits/skills (GitHub) · coding · 8,130 stars · scanned at commit e4dd0bb

Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recording the units of each value. Use when someone asks to audit or review code for unit confusion, decimals or scaling mismatches, WAD/RAY scale errors, or the wrong token's decimals; to annotate units in a codebase; or to perform a dimensional analysis of a DeFi protocol, offchain code, or other arithmetic-heavy codebase. Catches formulas that combine values carrying different units or scales.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'dimensional-analysis' ] || [ -L ~/.agents/skills/'dimensional-analysis' ]; then echo 'A skill folder named dimensional-analysis already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/trailofbits/skills' "$d" && git -C "$d" checkout --quiet 'e4dd0bb5b15535f7c5a0834187dffba6ac37e4ff' -- 'plugins/dimensional-analysis/skills/dimensional-analysis' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/dimensional-analysis/skills/dimensional-analysis' ~/.agents/skills/'dimensional-analysis' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'dimensional-analysis' ~/.claude/skills/'dimensional-analysis' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for trailofbits/skills shows the score of its lowest-scoring skill.

SkillTrust badge for trailofbits/skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/trailofbits/skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/trailofbits/skills/)

Score history

DateVersionScore
2026-11-08e4dd0bb100
2026-11-07e4dd0bb100