# Secure workflow guide

> Secure workflow guide is an open-source agent skill. Guides through Trail of Bits' 5-step secure development workflow. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/trailofbits/skills/tree/main/plugins/building-secure-contracts/skills/secure-workflow-guide
- **Repository:** https://github.com/trailofbits/skills
- **GitHub stars:** 8,243
- **License:** CC-BY-SA-4.0
- **Skill name:** secure-workflow-guide
- **Collection:** https://github.com/trailofbits/skills
- **Listing updated:** 2026-11-17

## About

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.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/trailofbits/skills/tree/HEAD/plugins/building-secure-contracts/skills/secure-workflow-guide)
- [License: CC-BY-SA-4.0](https://github.com/trailofbits/skills/tree/HEAD/plugins/building-secure-contracts/skills/secure-workflow-guide)

## Install

### Claude Code

This skill ships in the `building-secure-contracts` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add trailofbits/skills
/plugin install building-secure-contracts@trailofbits
```

Or copy only this skill to `~/.claude/skills/secure-workflow-guide`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/secure-workflow-guide &&
cp -R "$tmp/plugins/building-secure-contracts/skills/secure-workflow-guide" ~/.claude/skills/secure-workflow-guide &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/secure-workflow-guide` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/secure-workflow-guide` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/secure-workflow-guide &&
cp -R "$tmp/plugins/building-secure-contracts/skills/secure-workflow-guide" ~/.agents/skills/secure-workflow-guide &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/secure-workflow-guide` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/secure-workflow-guide` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/secure-workflow-guide &&
cp -R "$tmp/plugins/building-secure-contracts/skills/secure-workflow-guide" ~/.cursor/skills/secure-workflow-guide &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/secure-workflow-guide` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/trailofbits/skills.git --path plugins/building-secure-contracts/skills/secure-workflow-guide
```

Or copy the folder to `~/.gemini/skills/secure-workflow-guide` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/secure-workflow-guide`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/secure-workflow-guide &&
cp -R "$tmp/plugins/building-secure-contracts/skills/secure-workflow-guide" ~/.copilot/skills/secure-workflow-guide &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/secure-workflow-guide` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/trailofbits/skills.git
```

Then copy `skills/plugins/building-secure-contracts/skills/secure-workflow-guide` into your agent's skills folder as `secure-workflow-guide`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Secure workflow guide in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/secure-workflow-guide to use it in all your projects, or to .claude/skills/secure-workflow-guide in one project. Or install the building-secure-contracts plugin, which includes it: /plugin marketplace add trailofbits/skills, then /plugin install building-secure-contracts@trailofbits.

### Does Secure workflow guide run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Secure workflow guide?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/secure-workflow-guide
