Skip to content
mcp/skillhub

Agent Skill

Secure Workflow Guide skill

secure-workflow-guidetrailofbits/skillsplugins/building-secure-contracts/skills/secure-workflow-guide/SKILL.md

Guides through Trail of Bits' 5-step secure development workflow. Runs Slither scans, checks special features (upgradeability/ERC conformance/token integration), generates visual security diagrams, helps document security properties for fuzzing/verification, and reviews manual security areas. Use when securing a smart contract end to end rather than hunting one bug, checking a project on every check-in or before deployment, triaging a Slither report, or asking where to start on smart contract security.

7.7kCC-BY-SA-4.0

always on

99 tokname + description

once used

1,353 tokSKILL.md body

bundled files

413 KB

repo stars

7.7kGitHub

Install the Secure Workflow Guide skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/trailofbits/skills --skill secure-workflow-guide

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/trailofbits/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -R /tmp/skills/plugins/building-secure-contracts/skills/secure-workflow-guide ~/.claude/skills/secure-workflow-guide

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description99 tok
When the agent uses itThe SKILL.md instructions1,353 tok
Only if opened4 bundled files (13 KB)varies

Until it is used, secure-workflow-guide costs about 14× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 97 skills from trailofbits/skills would load 7,555 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Secure Workflow Guide
  • Purpose
  • The 5-Step Workflow
  • Step 1: Check for Known Security Issues
  • Step 2: Check Special Features
  • Step 3: Visual Security Inspection
  • Step 4: Document Security Properties
  • Step 5: Manual Review Areas
  • How I Work
  • Rationalizations (Do Not Skip)
  • Example Output
  • What You'll Get
  • Getting Help
  • Ready to Start

More skills from trailofbits/skills

All skills in this repo
  1. address-sanitizertrailofbits/skills

    Builds and runs code under AddressSanitizer to catch buffer overflows, use-after-free, and other memory errors during fuzzing or tests. Covers -fsanitize=address builds, ASAN_OPTIONS, reading the crash report, LeakSanitizer, and the overhead and platform trade-offs. Use when fuzzing C/C++ or Rust that has unsafe blocks or FFI, when debugging a memory corruption crash, or when reading an ASan stack trace.

    7.7k97 tok idle · 2,723 in use
  2. adjudicate-regressiontrailofbits/skills

    Use when deciding whether source and live reproduction evidence establish a new regression or an exclusion.

    7.7k23 tok idle · 505 in use
  3. aflpptrailofbits/skills

    Sets up and runs AFL++ for multi-core fuzzing of C/C++ projects built with afl-clang-fast or afl-gcc-fast. Covers instrumentation modes, parallel main and secondary campaigns, persistent mode, corpus minimization, and crash triage. Use when scaling fuzzing across cores, fuzzing a mature C/C++ codebase, reading the afl-fuzz status screen, or moving on after libFuzzer has plateaued.

    7.7k91 tok idle · 5,638 in use
  4. agentic-actions-auditortrailofbits/skills

    Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

    7.7k105 tok idle · 4,775 in use
  5. Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal).

    7.7k54 tok idle · 2,979 in use
  6. atheristrailofbits/skills

    Sets up and runs Atheris, the coverage-guided Python fuzzer built on libFuzzer. Covers TestOneInput harnesses, FuzzedDataProvider, instrumenting both pure Python and native C extensions, and running under AddressSanitizer. Use when fuzzing a Python package, hunting memory corruption in a Python C extension, or choosing between Atheris and Hypothesis for a Python target.

    7.7k86 tok idle · 3,559 in use
  7. audit-augmentationtrailofbits/skills

    Augments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, importing binary graph findings, cross-referencing Semgrep, CodeQL, or binary-analysis findings with call graph data, or visualizing audit findings in the context of code structure.

    7.7k130 tok idle · 2,108 in use
  8. audit-context-buildingtrailofbits/skills

    Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass.

    7.7k55 tok idle · 797 in use