Agent skill · security · trailofbits

audit-prep-assistant agent skill by trailofbits

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments). Use when preparing your own codebase to be audited by someone else, getting a repository review-ready before an external security review, deciding what to fix before auditors start, or asking what assessors need from a project. For understanding unfamiliar code you are about to audit, use audit-context-building instead.

Source and license

Publishertrailofbits
Repositorytrailofbits/skills
LicenseCC-BY-SA-4.0
Snapshot2026-10-22
Last repository commit2026-10-15
Instruction size1,394 words; 404 lines
Bundled files3

Read the publisher’s SKILL.md

Suede Skill Check: 88/100 · B

Report snapshot · · graded-v2

The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.

Source revision: 5c99c03fb8a9. Report version aa47d6a965e9. Badge URLs follow the latest listing; save the report to keep this version.

Download report · Request a fresh review

What to review next

  • Example request: 0 of 3 points. 3 when the description quotes an example request (3–60 characters in quotation marks).
  • Reference files: 0 of 3 points. 3 when the skill folder ships a references/, reference/ or docs/ folder.
  • Bundled scripts: 0 of 2 points. 2 when the skill folder ships a scripts/ folder.

Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.

ComponentPoints earnedAvailable
Structural checks5656
Description length55
Boundary clause44
Example request03
Instruction depth77
Reference files03
Bundled scripts02
Recent maintenance99
Curated-list citations77
Tool permissions declared02
Compatibility declared02

The published score is capped at 99. It measures the published files, documentation and maintenance signals. Security scan: not scanned. This assessment does not include a runtime test or a full installation-dependency review.

Install audit-prep-assistant

The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.

Skills CLI
npx skills add https://github.com/trailofbits/skills/tree/main/plugins/building-secure-contracts/skills/audit-prep-assistant
Claude Code, project-level copy
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"plugins/building-secure-contracts/skills/audit-prep-assistant .claude/skills/
rm -rf "$tmp"
Codex, project-level copy
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp/repo"
mkdir -p .agents/skills
cp -R "$tmp/repo/"plugins/building-secure-contracts/skills/audit-prep-assistant .agents/skills/
rm -rf "$tmp"

For a user-level install, copy the folder to ~/.claude/skills/ (Claude Code) or ~/.agents/skills/ (Codex). Inside Codex, $skill-installer can also fetch a skill from GitHub. New to skills? Read How to install agent skills in Claude Code, Codex and Cursor.

trailofbits/skills is third-party code. Read SKILL.md and any bundled scripts before you install it.

Two badges for audit-prep-assistant

Suede Skill Check: 88/100Suede Skill Check: Grade B

Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede AI listing; either valid linked badge can qualify for the feature offer.

Markdown
[![Suede Skill Check: 88/100](https://suedeai.directory/trailofbits/skills/audit-prep-assistant/score.svg)](https://suedeai.directory/trailofbits/skills/audit-prep-assistant/)
[![Suede Skill Check: Grade B](https://suedeai.directory/trailofbits/skills/audit-prep-assistant/badge.svg)](https://suedeai.directory/trailofbits/skills/audit-prep-assistant/)
HTML
<a href="https://suedeai.directory/trailofbits/skills/audit-prep-assistant/"><img src="https://suedeai.directory/trailofbits/skills/audit-prep-assistant/score.svg" alt="Suede Skill Check: 88/100" width="160" height="175"></a>
<a href="https://suedeai.directory/trailofbits/skills/audit-prep-assistant/"><img src="https://suedeai.directory/trailofbits/skills/audit-prep-assistant/badge.svg" alt="Suede Skill Check: Grade B" width="160" height="175"></a>

Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.

Limited-time feature offer: Display either quality badge in your repository or skill README, linked to your listing, then request verification. Suede AI checks the rendered README at a recorded commit. Eligible skills scoring 80–99 with a verified badge can receive a featured placement while the offer is open. Request badge verification.

Publishers: read How to get your agent skill found in search and cited by AI assistants.

Compare skills for this task

Browse security skills or compare scores side by side.