Skip to content
SkillModel-led1,514 tokens in use

Code Maturity Assessor

Rates a smart contract or blockchain codebase on nine maturity categories and produces a scorecard with file-level evidence and a prioritized roadmap.

8,319 stars on the repository CC-BY-SA-4.0trailofbits/skills · plugins/building-secure-contracts/skills/code-maturity-assessor
/plugin marketplace add trailofbits/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Code Maturity Assessor costs

114tokens idle
1,514tokens in use
5,737tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure22/25
  • Examples6/15
  • Output15/15
  • Size15/15
  • Resources11/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance52
  • Community64
  • Maturity32
  • Momentum40

Code Maturity Assessor applies Trail of Bits’ nine-category maturity framework: arithmetic, auditing, access controls, complexity, decentralization, documentation, transaction ordering risks, low-level code, and testing and verification.

It explores the code, collects evidence for each category, asks you about processes it cannot see in the source, and rates each one from Missing to Strong. The report has an executive summary, a scorecard, a detailed analysis and an improvement roadmap.

What You Get

  • An executive summary with overall maturity, top three strengths and top three gaps
  • A scorecard rating all nine categories from Missing (0) to Strong (4)
  • Per-category analysis with file and line references
  • An improvement roadmap split into critical, high and medium priority with effort estimates

Common Use Cases

  • Scoring the maturity of a protocol before an investment or integration decision
  • Producing a maturity evaluation as part of a security engagement
  • Judging how well tested and documented a blockchain project is against a rubric
  • Planning which engineering gaps to close before an audit

What Makes It Unique

The rating logic is mechanical: any unmet Weak criterion caps the category at Weak, and higher ratings need all lower criteria met. The skill blocks shortcuts such as declaring MEV not applicable to a non-DeFi project or skipping the low-level category when no assembly is found, and it requires file and line evidence for every rating. It combines code search with questions to the team about off-chain practice.

Under The Hood

The skill is an instruction file with linked resources for criteria, report format and an example report. It reads the project with search and file reads, interacts with the user for process questions, and produces the report as a response. It does not run scripts, fetch web pages, call APIs or write files on its own.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers