Skip to content
appsgit

Dimensional Analysis

Dimensional Analysis is an agent skill (a SKILL.md file) from trailofbits/skills. Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recording the units of each value. It works with Claude Code and Codex and has 7,804 GitHub stars across a repository of 4 listed skills.

github.com/trailofbits/skills/plugins/dimensional-analysis/skills/dimensional-analysis (opens in a new tab)

Data as of from the GitHub API; description from the skill's SKILL.md. Report an error

Add this skill

Claude

This repository is a Claude Code plugin marketplace. In Claude Code:

/plugin marketplace add trailofbits/skills
/plugin install dimensional-analysis@trailofbits

In the Claude apps, zip the dimensional-analysis folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/trailofbits/skills.git
cp -r skills/plugins/dimensional-analysis/skills/dimensional-analysis .agents/skills/dimensional-analysis   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/trailofbits/skills.git
cp -r skills/plugins/dimensional-analysis/skills/dimensional-analysis .cursor/skills/dimensional-analysis   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

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.

When it triggers

  • 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,

More skills in trailofbits/skills

4 skills are listed from this repository.

Similar skills

More data & analysis skills

All Data & analysis

FAQ

Dimensional Analysis FAQ

Still curious? Email info@appsgit.com.

How do I install the Dimensional Analysis skill?

In Claude Code, run /plugin marketplace add trailofbits/skills and then /plugin install dimensional-analysis@trailofbits. For Codex or Cursor, copy the dimensional-analysis folder into .agents/skills/ or .cursor/skills/.

Is the Dimensional Analysis skill free?

Yes. The repository is open source under the CC-BY-SA-4.0 license.

Is Dimensional Analysis maintained?

The repository's most recent commit was on Oct 23, 2026. appsgit only lists skills from repositories with a commit in the last six months.