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.
Data as of from the GitHub API; description from the skill's SKILL.md. Report an error
- Official
- Multi-skill repo
- Plugin marketplace
- Data & analysis
- Maintained
Add this skill
Claude
This repository is a Claude Code plugin marketplace. In Claude Code:
/plugin marketplace add trailofbits/skills
/plugin install dimensional-analysis@trailofbitsIn 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 projectsStandalone 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 projectsSource (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
Rerun Mp4
rerun-io/rerun
Ingest .mp4 video into Rerun chunk streams with rerun.experimental.Mp4Reader.
Active · last commit Oct 26, 2026
Data & analysisRustSwot Strategy
genspark-ai/genoffice
Run SWOT, PEST and competitive-landscape analysis on a company or product and turn it into actionable recommendations, delivered as a Word document.
Too new to judge · created Jul 31, 2026
Data & analysisTypeScriptStory
zenstory-ai/oh-story-claudecode
网络小说工具箱主入口。根据用户需求自动路由到对应 skill,并可启动本地 Dashboard。触发方式:/story、$story、/story dashboard、/网文、「我想写小说」「记住我的写作习惯」「打开工作台」「检查更新」。.
Active · last commit Oct 23, 2026
OfficialData & analysisPythonXLSX
TokenRhythm/opensquilla
Read, inspect, edit, or create Microsoft Excel .xlsx workbooks, including structured data extraction, formula-aware cell edits, and workbook generation from rows.
Active · last commit Oct 26, 2026
Data & analysisPythonHuman In The Loop
mvschwarz/openrig
Use when classifying a slice closeout (auto-continue / human gate / park), routing a real decision to a human, or designing a human queue/dashboard surface.
Active · last commit Oct 26, 2026
Data & analysisTypeScriptXLSX
ThinkInAIXYZ/deepchat
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization.
Active · last commit Oct 26, 2026
Data & analysisTypeScript
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.