Skip to content
Skill

Testing handbook generator

Generates Claude Code security testing skills from the Trail of Bits Testing Handbook

Testing handbook generator is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
8.6K
Last commit
License
CC-BY-SA-4.0
Listing updated

Similar skills

About Testing handbook generator

This meta-skill turns pages of the Trail of Bits Testing Handbook at appsec.guide into new agent skills. It walks the handbook repository, sorts sections into skill types such as tool, fuzzer, technique and domain, and writes a SKILL.md for each one using the template that fits that type.

The workflow runs in phases: locating a local copy of the handbook, analyzing its sections, presenting a generation plan for approval, producing skill content in two passes so cross-references can be filled in afterward, and validating the output. It also covers refreshing existing generated skills and updating the repository README with a table and a cross-reference graph.

It expects a checkout of the testing handbook repository, either found locally or cloned, and works through instructions and reference files rather than bundled scripts. Its validation step relies on a Python script run with uv.

When your agent uses it

Generates Claude Code skills from the Trail of Bits Testing Handbook (appsec.guide), analyzing handbook pages and emitting SKILL.md files with the structure each skill type requires. Use when creating or refreshing a skill from handbook content, or when the user names the testing handbook or appsec.guide. Not for answering security testing questions — the generated skills cover those.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 10 files (110 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add trailofbits/skills
/plugin install testing-handbook-skills@trailofbits

Or copy only this skill to ~/.claude/skills/testing-handbook-generator:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/testing-handbook-generator &&
cp -R "$tmp/plugins/testing-handbook-skills/skills/testing-handbook-generator" ~/.claude/skills/testing-handbook-generator &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/testing-handbook-generator inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/testing-handbook-generator to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/testing-handbook-generator &&
cp -R "$tmp/plugins/testing-handbook-skills/skills/testing-handbook-generator" ~/.agents/skills/testing-handbook-generator &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/testing-handbook-generator inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/testing-handbook-generator to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/testing-handbook-generator &&
cp -R "$tmp/plugins/testing-handbook-skills/skills/testing-handbook-generator" ~/.cursor/skills/testing-handbook-generator &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/testing-handbook-generator inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/trailofbits/skills.git --path plugins/testing-handbook-skills/skills/testing-handbook-generator

Or copy the folder to ~/.gemini/skills/testing-handbook-generator yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/testing-handbook-generator:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/testing-handbook-generator &&
cp -R "$tmp/plugins/testing-handbook-skills/skills/testing-handbook-generator" ~/.copilot/skills/testing-handbook-generator &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/testing-handbook-generator inside it instead.

VS Code docs on skills

Get the folder:

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

Then copy skills/plugins/testing-handbook-skills/skills/testing-handbook-generator into your agent's skills folder as testing-handbook-generator. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Handbook section discovery
Scans handbook sections and classifies each one as a candidate skill based on its structure and signals.
Skill type templates
Applies separate templates for tool, fuzzer, technique and domain skills.
Two-pass generation
Generates skill content first, then fills in related-skill links once all skills exist.
Validation and activation testing
Runs a validator on generated skills and points to a testing guide for activation checks.
Skill refresh
Regenerates a single skill from its handbook section when the source content changes.
README maintenance
Updates the repository's skills table and cross-reference graph after generation.

Good for

  • Generate Claude Code skills for every fuzzing section in the testing handbook
  • Refresh an existing skill after its handbook section has changed
  • Create a skill for the libFuzzer section of the handbook
  • Validate a set of generated security testing skills

Testing handbook generator FAQ

What does Testing handbook generator need to run?

It needs a copy of the Trail of Bits Testing Handbook repository. The skill checks common local paths, asks the user, or clones the repository as a last resort.

Does Testing handbook generator answer security testing questions directly?

No. It generates skills from the handbook, and those generated skills are what answer security testing questions.

Does Testing handbook generator generate skills without asking first?

No. The workflow presents a plan of candidate skills to the user and generates them only after approval.

Which parts of the handbook are skipped?

Sections marked as drafts, empty directories, template placeholders and GUI-only tools are skipped.

How do I install Testing handbook generator in Claude Code?

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

Does Testing handbook generator 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 Testing handbook generator?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Testing handbook generator?

The closest alternatives to Testing handbook generator are Skill creator, Skill creator, Skill writer, Dhub skill creator and Skill authoring lifecycle.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from trailofbits/skills

  1. Lets an agent measure timing side channels in running crypto code with dudect and Timecop

    • Open source
    • 8.6K GitHub stars
    • Security
  2. Guides mewt or muton mutation testing runs and triages surviving mutants

    • Open source
    • 8.6K GitHub stars
    • Developer tools
  3. Lets your agent write, review and debug property-based tests across languages

    • Open source
    • 8.6K GitHub stars
    • Developer tools
  4. Audits GitHub Actions workflows that run AI coding agents for prompt injection risks

    • Open source
    • 8.6K GitHub stars
    • AI models and LLM tooling
  5. Builds a verified map of an unfamiliar codebase before any bug hunting begins

    • Open source
    • 8.6K GitHub stars
    • Security
  6. Audits Algorand TEAL and PyTeal contracts against 11 platform-specific vulnerability

    • Open source
    • 8.6K GitHub stars
    • Security