code-maturity-assessor — Claude Code skill for code assessment
This skill evaluates smart contracts and blockchain code across nine maturity categories. It produces evidence-backed ratings and a ranked improvement plan.
npx skills add trailofbits/skills --skill code-maturity-assessor -a claude-codeWhat code-maturity-assessor does
The skill inspects project structure, contract or module files, tests, and documentation. It then reviews arithmetic, auditing, access controls, complexity, decentralization, documentation, transaction-ordering risks, low-level code, and testing. For each category, it gathers file references and asks about processes that cannot be assessed from code alone.
The report contains an executive summary, ratings for all categories, evidence-based analysis, and a priority-ordered roadmap. Ratings range from Missing to Strong and depend on how the criteria are met. Claims without references to code are unsubstantiated, so the assessment collects concrete evidence as it proceeds.
What it helps with
- rate smart contract maturity against a defined framework
- spot gaps in testing and access controls
- collect code evidence across nine assessment categories
- rank improvements for a blockchain codebase
Example prompts for the agent
- Assess this project's smart contract maturity across every category and produce a scorecard.
- Review access controls and transaction-ordering risks, with file references.
- Rate the testing practices and create a prioritized improvement roadmap.
How to install code-maturity-assessor
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill code-maturity-assessor -a claude-code2Manually: put the files in place
~/.claude/skills/code-maturity-assessor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/code-maturity-assessor/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill code-maturity-assessor -a codex2Manually: put the files in place
.agents/skills/code-maturity-assessor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill code-maturity-assessor -a cursor2Manually: put the files in place
.cursor/skills/code-maturity-assessor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills code-maturity-assessor2Manually: put the files in place
.github/skills/code-maturity-assessor/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill code-maturity-assessor -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/building-secure-contracts/skills/code-maturity-assessorManually: put the files in place
.devin/skills/code-maturity-assessor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill code-maturity-assessor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about code-maturity-assessor
How do I install code-maturity-assessor in Claude Code?
Run npx skills add trailofbits/skills --skill code-maturity-assessor -a claude-code. The skill file is located at ~/.claude/skills/code-maturity-assessor/SKILL.md.
What does code-maturity-assessor do?
It evaluates smart contracts and blockchain code across nine categories, gathers supporting evidence from project files, and produces ratings with an improvement roadmap.
Which areas does the skill assess?
It covers arithmetic safety, auditing, access controls, complexity, and decentralization, as well as documentation, transaction-ordering risks, low-level code, and testing.