Semgrep
vigolium/piolium
Run Semgrep static analysis scan on a codebase using parallel subagents.
Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common…
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trailofbits/skills trailmark-variant-neighborhood --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .claude/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .claude/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhoodType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trailofbits/skills trailmark-variant-neighborhood --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .agents/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .agents/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trailofbits/skills trailmark-variant-neighborhood --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .cursor/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .cursor/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trailofbits/skills.git --path plugins/trailmark/skills/trailmark-variant-neighborhood--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trailofbits/skills trailmark-variant-neighborhood --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .gemini/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .gemini/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trailofbits/skills trailmark-variant-neighborhoodInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .github/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .github/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trailofbits/skills trailmark-variant-neighborhood --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/trailmark/skills/trailmark-variant-neighborhood .opencode/skills/trailmark-variant-neighborhood && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "trailmark-variant-neighborhood" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-variant-neighborhood into .opencode/skills/trailmark-variant-neighborhood/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-variant-neighborhood", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
trailmark-variant-neighborhoodExpands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common…
Trailmark Variant Neighborhood is an agent skill from trailofbits/skills, published by the product's own GitHub organization. Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common entrypoint paths, interface implementations, override relationships, type/reference neighbors, and structurally similar nodes. Use after one issue is found to seed variant-analysis, semgrep-rule-creator, static-analysis, or manual review with graph-derived candidate locations.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files and assets (for example `agents/openai.yaml`, `references/neighborhood-patterns.md` and `references/output-format.md`).
It sits in Security, covering Static analysis and SAST. It works with Semgrep. The repository describes itself as: Trail of Bits Claude Code skills for security research, vulnerability detection, and audit workflows. The licence is CC-BY-SA-4.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 442fc9d. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGrepGlobWriteFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Trailmark Variant Neighborhood loads about 1.1k tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 126 tokens; SKILL.md has 431 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Grep, Glob, WriteAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trailofbits/skills at commit 442fc9d, republished under its CC-BY-SA-4.0 licence (© trailofbits). 431 words, ~1,073 tokens.
.claude/skills/trailmark-variant-neighborhood/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Expand one seed issue into graph-derived variant candidates. This skill generates review targets, not confirmed findings.
variant-analysis, semgrep-rule-creator,
static-analysis, or manual reviewsemgrep-rule-creator directly.| Rationalization | Why It Is Wrong | Required Action |
|---|---|---|
| "Nearby code means variant" | Proximity is only a candidate reason | Rank it as a review target |
| "Only exact same names matter" | Variants often share sinks or preconditions, not names | Expand across callers, callees, interfaces, and types |
| "Every candidate is a finding" | This skill outputs candidates for review | Avoid vulnerability claims |
| "Unreachable candidates can be ignored completely" | They may become reachable after refactors | Rank lower or list as deferred |
| "Graph candidates replace semantic pattern work" | Graph structure finds locations, not root-cause semantics | Hand off to variant-analysis, Semgrep, CodeQL, or manual review |
Variant Neighborhood Progress:
- [ ] Step 1: Normalize and bind the seed
- [ ] Step 2: Expand graph neighborhoods
- [ ] Step 3: Rank candidates
- [ ] Step 4: Extract variant pattern guidance
- [ ] Step 5: Emit handoff packetAccept finding text, file/line, function name, or output from
trailmark-finding-triage. Bind the seed to a Trailmark node and record the
root cause in plain language.
If the seed has no concrete graph binding, stop before inventing variants.
Use the dimensions in references/neighborhood-patterns.md:
Bound expansion to avoid candidate floods.
Rank with references/ranking.md. Prioritize entrypoint-reachable, tainted, boundary-adjacent, high-blast-radius, shared sink, same-interface, and close-distance candidates. Penalize test, mock, generated, vendor, unreachable, and trusted-internal-only candidates.
Summarize what should be searched for syntactically and what requires semantic review. Identify whether follow-up belongs in:
variant-analysissemgrep-rule-creatorstatic-analysis with CodeQL or SARIF-producing toolsUse references/output-format.md. Include ranked candidates, inclusion reasons, exclusions, limitations, and the variant-analysis handoff.
© trailofbits, CC-BY-SA-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references, assets) in plugins/trailmark/skills/trailmark-variant-neighborhood of trailofbits/skills.
Open the folder on GitHubat commit 442fc9d
Trailmark Variant Neighborhood next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Trailmark Variant Neighborhood this skilltrailofbits/skills | 7.5k | — | ~1.1k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Semgrepvigolium/piolium | 140 | 1 repos | ~2.4k | Automated safety check: Notes | MIT | |
| Sast SemgrepAgentSecOps/SecOpsAgentKit | 220 | 2 repos | ~2.4k | Automated safety check: Pass | Custom licence | |
| Semgrepwaybarrios/opencode-power-pack | 534 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Semgrepsemgrep/skills | 324 | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Code Auditzhaoxuya520/reverse-skill | 41k | 2 repos | ~374 | Automated safety check: Warn | MIT |
vigolium/piolium
Run Semgrep static analysis scan on a codebase using parallel subagents.
AgentSecOps/SecOpsAgentKit
Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping.
waybarrios/opencode-power-pack
Run Semgrep static analysis across a codebase, optionally using Semgrep Pro for cross-file taint analysis.
semgrep/skills
Run Semgrep static analysis scans and create custom detection rules.
zhaoxuya520/reverse-skill
A skill your agent uses for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.
davila7/claude-code-templates
Static Application Security Testing (SAST) tool setup, configuration, and custom rule creation for comprehensive security scanning across multiple programming languages.
trailofbits/skills
Scans a codebase for vulnerabilities with CodeQL's data flow and taint tracking in run-all or important-only modes, including data extensions for project-specific sources and sinks.
trailofbits/skills
Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.
trailofbits/skills
Compares Trailmark code graphs at two snapshots, such as commits, tags or directories, to surface attack paths, blast radius and taint changes that text diffs miss.
trailofbits/skills
Draws a 12 Houses tarot spread to break ties when a request is vague or casually delegated, then reads the cards to pick the next step.
trailofbits/skills
Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.
trailofbits/skills
Searches and extracts data from Burp Suite project files on the command line: regex searches over responses, audit findings, proxy history and site map data.
Works with
Categories
Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common…. Trailmark Variant Neighborhood is an agent skill from trailofbits/skills, published by the product's own GitHub organization. Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common entrypoint paths, interface implementations, override relationships, type/reference neighbors, and structurally similar nodes.
Trailmark Variant Neighborhood fits situations like: tasks that involve Static analysis and SAST.
Run `npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a claude-code`. Or copy the skill folder (plugins/trailmark/skills/trailmark-variant-neighborhood in trailofbits/skills) into .claude/skills/trailmark-variant-neighborhood in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a codex`. Or copy the skill folder (plugins/trailmark/skills/trailmark-variant-neighborhood in trailofbits/skills) into .agents/skills/trailmark-variant-neighborhood in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trailmark-variant-neighborhood, .gemini/skills/trailmark-variant-neighborhood, .github/skills/trailmark-variant-neighborhood and .opencode/skills/trailmark-variant-neighborhood in your project.
SKILL.md names no scripts, command-line tools or credentials: Trailmark Variant Neighborhood is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Write.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Trailmark Variant Neighborhood is published under the CC-BY-SA-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Trailmark Variant Neighborhood: Semgrep (vigolium/piolium, 140 stars), Sast Semgrep (AgentSecOps/SecOpsAgentKit, 220 stars), Semgrep (waybarrios/opencode-power-pack, 534 stars) and Semgrep (semgrep/skills, 324 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trailofbits (a GitHub organization, an official publisher) maintains it in trailofbits/skills, which has 7,455 GitHub stars. The repository holds 79 skills in this directory. The repository was last updated on October 9, 2026.
Source: trailofbits/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.