# Testing handbook generator

> Testing handbook generator is an open-source agent skill for security. Generates Claude Code security testing skills from the Trail of Bits Testing Handbook. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/trailofbits/skills/tree/main/plugins/testing-handbook-skills/skills/testing-handbook-generator
- **Repository:** https://github.com/trailofbits/skills
- **GitHub stars:** 8,553
- **License:** CC-BY-SA-4.0
- **Skill name:** testing-handbook-generator
- **Collection:** https://github.com/trailofbits/skills
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

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.

## 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/testing-handbook-skills/skills/testing-handbook-generator)
- [License: CC-BY-SA-4.0](https://github.com/trailofbits/skills/tree/HEAD/plugins/testing-handbook-skills/skills/testing-handbook-generator)

## Features

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

## Install

### Claude Code

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):

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

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

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

### Codex

Copy the skill folder to `~/.agents/skills/testing-handbook-generator` 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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/testing-handbook-generator` 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/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.

### 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/testing-handbook-skills/skills/testing-handbook-generator
```

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

### VS Code

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

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

### Other agents

Get the folder:

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

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

## Alternatives

- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Skill creator](https://ai-powered.com/skills/skill-creator-jdforsythe): Skill creator is an open-source agent skill for developer tools.
- [Skill writer](https://ai-powered.com/skills/skill-writer): Skill writer is an open-source agent skill for developer tools.
- [Dhub skill creator](https://ai-powered.com/skills/dhub-skill-creator): Dhub skill creator is an open-source agent skill for developer tools.
- [Skill authoring lifecycle](https://ai-powered.com/skills/skill-authoring-lifecycle): Skill authoring lifecycle is an open-source agent skill for developer tools.
- [Skill authoring](https://ai-powered.com/skills/skill-authoring): Skill authoring is an open-source agent skill for developer tools.
- [Eval harness](https://ai-powered.com/skills/eval-harness): Eval harness is an open-source agent skill for developer tools.
- [Writing skills](https://ai-powered.com/skills/writing-skills-xiaolai): Writing skills is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/testing-handbook-generator
