Skills Explorer Add Skills

dimensional-analysis

An agent skill by trailofbits, from trailofbits/skills. Tags: analysis, blockchain, code-quality, math, security.

What it does

Annotates codebases with dimensional analysis comments documenting units, dimensions, and decimal scaling. Use when someone asks to annotate units in a codebase, perform a dimensional analysis, or find vulnerabilities in a DeFi protocol, offchain code, or other blockchain-related codebase with arithmetic. Prevents dimensional mismatches and catches formula bugs early.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add trailofbits/skills --skill dimensional-analysis

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/trailofbits/skills
cp -r skills/plugins/dimensional-analysis/skills/dimensional-analysis ~/.claude/skills/dimensional-analysis

Safety box score

Not rated yet. A safety box score grades what a skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. Anyone can request one from this page; it is saved for everyone. How the score works.

Source

Repository
trailofbits/skills (all skills from this repository)
Path
plugins/dimensional-analysis/skills/dimensional-analysis/SKILL.md
Branch
main
Collection
dimensional-analysis
Updated
2026-09-19