secure-workflow-guide — Claude Code skill: review and install
Guides smart contracts through Trail of Bits' 5-step security audit on check-in or before deployment. It runs static analysis, generates visual charts, and prepares fuzzing tests.
npx skills add trailofbits/skills --skill secure-workflow-guide -a claude-codeWhat secure-workflow-guide does
The skill walks smart contract codebases through a structured 5-step security audit. It begins with Slither, parsing results across 70+ built-in detectors to sort findings by severity. If the repository uses proxies or tokens, the assistant triggers targeted tools such as slither-check-upgradeability to test 17 upgrade risks and slither-check-erc for 6 standard interfaces.
Visual inspection comes next. By running Slither print options, the skill generates inheritance graphs to catch C3 linearization issues, alongside maps of function visibility and state variable write permissions. Skipping Slither invalidates the audit: manual code review routinely misses detector patterns embedded in automated tools.
The final phases focus on tests and business logic that scanners overlook. The skill structures invariants for property-based fuzzing in Echidna and symbolic execution in Manticore. It then flags manual review risks, such as MEV exposure and price oracle manipulation.
What it helps with
- scan smart contracts for vulnerabilities with Slither detectors
- verify contract conformance against six common ERC specifications
- render inheritance graphs and state variable authorization maps
- document invariants for Echidna fuzzing and Manticore verification
- review contracts for oracle manipulation and flash loan exposure
Example prompts for the agent
- Run the 5-step Trail of Bits security workflow on this repository
- Analyze contracts with Slither and triage findings by severity
- Generate visual inheritance diagrams and inspect upgradeability risks
How to install secure-workflow-guide
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill secure-workflow-guide -a claude-code2Manually: put the files in place
~/.claude/skills/secure-workflow-guide/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/secure-workflow-guide/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill secure-workflow-guide -a codex2Manually: put the files in place
.agents/skills/secure-workflow-guide/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill secure-workflow-guide -a cursor2Manually: put the files in place
.cursor/skills/secure-workflow-guide/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills secure-workflow-guide2Manually: put the files in place
.github/skills/secure-workflow-guide/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill secure-workflow-guide -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/building-secure-contracts/skills/secure-workflow-guideManually: put the files in place
.devin/skills/secure-workflow-guide/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill secure-workflow-guide -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set35
The whole set →Similar
Questions about secure-workflow-guide
How to install secure-workflow-guide in Claude Code?
Run npx skills add trailofbits/skills --skill secure-workflow-guide -a claude-code in your terminal.
What does secure-workflow-guide do?
It guides developers through a 5-step audit for smart contracts: scans code with Slither, validates ERC compliance, builds inheritance diagrams, and outlines test invariants.
Which testing tools are configured during step four?
The workflow organizes properties for property-based fuzzing in Echidna, symbolic execution in Manticore, and custom Slither checks.