/odin-skills:testing-handbook-generatorfrom ODIN Skills
Discovers, generates, refreshes, or validates skills from the Trail of Bits Testing Handbook or appsec.guide. Useful for transforming handbook sections into Claude Code skills.
Ships in ODIN Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User wants to discover, generate, refresh, or validate skills from the Trail of Bits Testing Handbook or appsec.guide. |
| Authority | Reversible local: writes only generated skill directories and their cross-references under the configured output path; rollback is deleting generated directories. No remote mutation. No other state is affected. |
| Side effect | Local write: generated skill directories (each containing SKILL.md) and cross-reference links between them. No mutation of the handbook source, other plugins, or remote state. |
| Done | Approved handbook sections produce type-appropriate skills whose references resolve and whose activation and validation checks pass. |
content/docs/ directory must exist. If not supplied, check ./testing-handbook, ../testing-handbook, ~/testing-handbook; then ask the user; then offer to shallow-clone https://github.com/trailofbits/testing-handbook as a last resort.Invocation policy is model+human: the model executes discovery, classification, and generation; the human approves the plan before any skill is written.
./testing-handbook, ../testing-handbook, ~/testing-handbook for a content/docs/ directory. If not found, ask the user for the path. If the user does not know, offer to clone https://github.com/trailofbits/testing-handbook with depth 1. Stop if the handbook cannot be located or content/docs/ is missing. Done when: the handbook is located with a content/docs/ directory.{handbook_path}/content/docs/ and enumerate every directory. For each markdown file, parse YAML frontmatter for title, summary, weight, bookCollapseSection, and draft. Done when: every directory and markdown file is enumerated with its frontmatter./static-analysis/[name]/ with numbered files (00-, 10-): tool skill; /fuzzing/[lang]/[name]/ with index.md or numbered files: fuzzer skill; /fuzzing/techniques/[name]/ with any .md files: technique skill; /crypto/[name]/ with any .md files: domain skill; /web/[name]/ with numbered files or _index.md: tool skill (check exclusions first); _index.md with bookCollapseSection: true: container, scan children, create no skill for the container; any other directory with only _index.md: skip (insufficient content). Most specific (deepest) path wins. When multiple types match, prefer Tool > Fuzzer > Technique > Domain. Done when: every directory is classified or skipped.draft: true appears in frontmatter, the directory is empty, the file is a template or placeholder, or the tool is GUI-only (e.g., web/burp/: Burp Suite requires visual interaction and cannot be operated headlessly). Done when: exclusions are applied and skipped sections are recorded.title), type, source section path, summary from frontmatter, weight, whether a resources file (99-resources.md or 91-resources.md) exists, and related sections. Done when: the candidate list is built with all fields._index.md or index.md), numbered files, related sections, and resources. Fetch non-video URLs with a 30-second timeout; skip on timeout and note in warnings. Extract video URLs as title and link only. Verify each candidate's primary content is non-empty, frontmatter has title and summary, and the template for its type exists. Done when: generation context is prepared for every approved skill.references/type-templates.md. Preserve code blocks exactly. Leave a Related Skills placeholder. If content exceeds 450 lines, extract large sections into sibling files and add a decision tree to SKILL.md. Hard limit: 500 lines per file. Done when: every approved skill has a SKILL.md written with its type-appropriate sections.references/type-templates.md. Replace each placeholder with a Related Skills table. Validate that every referenced skill directory exists. Done when: every placeholder is replaced and all cross-references validate.name matches ^[a-z0-9-]{1,64}$; description is non-empty and at most 1024 characters; required sections for the skill type are present; line count is under 500; no Hugo shortcodes remain; no escaped backtick sequences remain; all internal links resolve; and all cross-referenced skills exist. Done when: every generated skill passes validation.testing-handbook-generator). Update the Skills Cross-Reference graph from each skill's Related Skills section. Note any template, discovery, or content extraction issues encountered for future improvement. Done when: the README and cross-reference graph are updated.| Failure class | Rule |
|---|---|
| Handbook not found | Stop. Report that no content/docs/ directory exists at the checked locations. Do not proceed to discovery. |
| Clone failure | Report the error. Ask the user to clone manually and provide the path. |
| Empty or draft section | Skip the section. Record it in the skipped-sections list with the reason. Continue with remaining candidates. |
| Single agent failure | Re-run the failed agent alone with the same inputs. Do not re-run the entire parallel batch. |
| Validation failure | Check the specific failure (missing section, broken reference, shortcode residue). Patch or re-run the single skill. |
| Pass 2 broken reference | Check whether the referenced skill was skipped. Update or remove the reference. |
| Over 500 lines | Split into sibling files. Keep SKILL.md as a router with a decision tree. Never deliver a file over 500 lines. |
Partial results are valid: deliver all skills that pass validation and report any that failed or were skipped. Never claim the done predicate holds when validation has not passed for a generated skill.
Rollback: delete the generated skill directories for the current run. No handbook, plugin, or remote state is affected.
Generated skill directories under the configured output path (each containing a SKILL.md with type-appropriate sections, cross-references, and passing validation), an updated README table and cross-reference graph, and a per-skill generation report (line count, split status, populated sections, gaps, warnings, references): ordering: skills, README, graph, reports.
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/agent-surface-forgeUse when asked to audit or repair agent surfaces (plugins, agents, skills, CLAUDE.md/AGENTS.md, docs, prompts, commands, hooks) or improve one skill at depth. Not for agent grading: use skill-doctor./automate-meUse when asked to create or refresh a personal mode skill and open a reviewable PR. Not for shared repo skills or work that skips human approval./book-to-skillUse when the user names one book, course, paper, or source document and asks to distill it into a reusable skill. Not for a folder of sources: use map-corpus.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-skillsOther plugins' skills for the same job