agentic-actions-audito…
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
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
Claude Code
$ npx -y skills add trailofbits/skills --skill testing-handbook-generator --agent claude-code
Codex
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a codex -y
Cursor
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a cursor -y
Gemini CLI
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a gemini-cli -y
GitHub Copilot
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a github-copilot -y
OpenCode
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a opencode -y
Windsurf
$ npx skills add trailofbits/skills --skill testing-handbook-generator -a windsurf -y
name: testing-handbook-generator description: "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."
Generate and maintain Claude Code skills from the Trail of Bits Testing Handbook.
**Invoke this skill when:**
**Do NOT use for:**
The skill needs the Testing Handbook repository. See [discovery.md](discovery.md) for full details.
**Quick reference:** Check `./testing-handbook`, `../testing-handbook`, `~/testing-handbook` → ask user → clone as last resort.
**Repository:** `https://github.com/trailofbits/testing-handbook`
Phase 0: Setup Phase 1: Discovery
┌─────────────────┐ ┌─────────────────┐
│ Locate handbook │ → │ Analyze handbook│
│ - Find or clone │ │ - Scan sections │
│ - Confirm path │ │ - Classify types│
└─────────────────┘ └─────────────────┘
↓ ↓
Phase 3: Generation Phase 2: Planning
┌─────────────────┐ ┌─────────────────┐
│ TWO-PASS GEN │ ← │ Generate plan │
│ Pass 1: Content │ │ - New skills │
│ Pass 2: X-refs │ │ - Updates │
│ - Write to gen/ │ │ - Present user │
└─────────────────┘ └─────────────────┘
↓
Phase 4: Testing Phase 5: Finalize
┌─────────────────┐ ┌─────────────────┐
│ Validate skills │ → │ Post-generation │
│ - Run validator │ │ - Update README │
│ - Test activation│ │ - Update X-refs │
│ - Fix issues │ │ - Self-improve │
└─────────────────┘ └─────────────────┘**ONLY modify these locations:**
**NEVER modify or analyze:**
Do not scan or pull into context any skills outside of `testing-handbook-skills/`. Generate skills based solely on handbook content and resources referenced from it.
| Handbook Section | Skill Type | Template | |------------------|------------|----------| | `/static-analysis/[tool]/` | Tool Skill | tool-skill.md | | `/fuzzing/[lang]/[fuzzer]/` | Fuzzer Skill | fuzzer-skill.md | | `/fuzzing/techniques/` | Technique Skill | technique-skill.md | | `/crypto/[tool]/` | Domain Skill | domain-skill.md | | `/web/[tool]/` | Tool Skill | tool-skill.md |
| Signal | Indicates | |--------|-----------| | `_index.md` with `bookCollapseSection: true` | Major tool/topic | | Numbered files (00-, 10-, 20-) | Structured content | | `techniques/` subsection | Methodology content | | `99-resources.md` or `91-resources.md` | Has external links |
| Signal | Action | |--------|--------| | `draft: true` in frontmatter | Skip section | | Empty directory | Skip section | | Template/placeholder file | Skip section | | GUI-only tool (e.g., `web/burp/`) | Skip section (Claude cannot operate GUI tools) |
**Starting skill generation?**
├─ Need to analyze handbook and build plan? │ └─ Read: discovery.md │ (Handbook analysis methodology, plan format) │ ├─ Spawning skill generation agents? │ └─ Read: agent-prompt.md │ (Full prompt template, variable reference, validation checklist) │ ├─ Generating a specific skill type? │ └─ Read appropriate template: │ ├─ Tool (Semgrep, CodeQL) → templates/tool-skill.md │ ├─ Fuzzer (libFuzzer, AFL++) → templates/fuzzer-skill.md │ ├─ Technique (harness, coverage) → templates/technique-skill.md │ └─ Domain (crypto, web) → templates/domain-skill.md │ ├─ Validating generated skills? │ └─ Run: scripts/validate-skills.py │ Then read: testing.md for activation testing │ ├─ Finalizing after generation? │ └─ See: Post-Generation Tasks below │ (Update main README, update Skills Cross-Reference, self-improvement) │ └─ Quick generation from specific section? └─ Use Quick Reference above, apply template directly
Generation uses a **two-pass approach** to solve forward reference problems (skills referencing other skills that don't exist yet).
Generate all skills in parallel **without** the Related Skills section:
Pass 1 - Generating 5 skills in parallel: ├─ Agent 1: libfuzzer (fuzzer) → skills/libfuzzer/SKILL.md ├─ Agent 2: aflpp (fuzzer) → skills/aflpp/SKILL.md ├─ Agent 3: semgrep (tool) → skills/semgrep/SKILL.md ├─ Agent 4: harness-writing (technique) → skills/harness-writing/SKILL.md └─ Agent 5: wycheproof (domain) → skills/wycheproof/SKILL.md Each agent uses: pass=1 (content only, Related Skills left empty)
**Pass 1 agents:**
After all Pass 1 agents complete, run Pass 2 to populate Related Skills:
Pass 2 - Populating
Trail of Bits skills and plugins for AI-assisted security analysis, testing, and development. Install this marketplace in Claude Code or Codex, or import it into your ChatGPT workspace marketplace.
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on…
Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing…
Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools,…
Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging…
Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…