Code Review with Beads Tasks
maslennikov-ig/claude-code-orchestrator-kit
Reviews staged changes, a branch, a PR or a path for bugs, security gaps and performance issues, then writes an evidence-based report and creates Beads tasks.
Compares before and after Trailmark graphs of a branch, pull request or release diff to flag new entry points, tainted paths, removed validation and other structural security regressions.
$ npx skills add trailofbits/skills --skill trailmark-review-gate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trailofbits/skills trailmark-review-gate --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-review-gate .claude/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .claude/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gateType 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-review-gate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trailofbits/skills trailmark-review-gate --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-review-gate .agents/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .agents/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trailofbits/skills trailmark-review-gate --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-review-gate .cursor/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .cursor/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gate--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-review-gate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trailofbits/skills trailmark-review-gate --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-review-gate .gemini/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .gemini/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gateInstalls 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-review-gate -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-review-gate .github/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .github/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gate -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-review-gate --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-review-gate .opencode/skills/trailmark-review-gate && 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-review-gate" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark-review-gate into .opencode/skills/trailmark-review-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark-review-gate", 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-review-gateCompares before and after Trailmark graphs of a branch, pull request or release diff to flag new entry points, tainted paths, removed validation and other structural security regressions.
The agent resolves the two sides of a change from refs, a branch, a commit range or two directories, using git diff, git show and worktrees instead of checking out branches. Both snapshots go through Trailmark's pre-analysis so taint, privilege-boundary, blast-radius, complexity and entry point signals exist, and the differences are normalized into added, removed and modified nodes.
Fixed gate rules turn that evidence into a compact structural packet reviewers can cite while reading the code. It looks for new entry points, new tainted paths, removed validation or authorization calls, privilege-boundary drift, growth in blast radius or complexity and newly reachable sensitive sinks. If graph construction fails the result is UNKNOWN, never a pass, and a passing gate does not replace line-level review.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 82fe822. 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.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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 Review Gate loads about 1.1k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 456 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 82fe822, republished under its CC-BY-SA-4.0 licence (© trailofbits). 456 words, ~1,113 tokens.
.claude/skills/trailmark-review-gate/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Apply deterministic security gate rules to Trailmark structural diff evidence. This skill does not replace line-level review. It produces a compact structural packet reviewers can cite while they inspect the code.
trailmark or trailmark-structural.differential-review.trailmark-finding-triage.| Rationalization | Why It Is Wrong | Required Action |
|---|---|---|
| "The line diff is small, so no graph gate is needed" | Small changes can create new call paths | Compare before/after graphs |
| "Graph gate passed, so the PR is secure" | The gate only checks structural regressions | Still perform line-level review |
| "Trailmark failed, so pass the gate" | Tool failure is unknown risk, not success | Emit UNKNOWN |
| "Tests pass, so removed validation is fine" | Tests may miss affected entrypoint paths | Review the removed path manually |
| "Only new code matters" | Removed auth, validation, and callers can be higher risk than additions | Review removals and path changes |
Review Gate Progress:
- [ ] Step 1: Resolve before/after inputs
- [ ] Step 2: Build graph-evolution evidence
- [ ] Step 3: Normalize structural changes
- [ ] Step 4: Apply gate rules
- [ ] Step 5: Emit review packet and actionsAccept two refs, a branch name, a commit range, or before/after directories.
Do not check out branches unnecessarily. Prefer git diff, git show, and
git worktrees, following the graph-evolution snapshot workflow.
Run graph-evolution or equivalent Trailmark before/after graph analysis.
Both snapshots must run engine.preanalysis() so taint, privilege-boundary,
blast-radius, complexity, and entrypoint signals are available.
Record Trailmark version and any feature probes. If graph construction fails,
emit UNKNOWN.
Normalize evidence into:
Apply the rules in references/gate-rules.md. Gate verdicts are:
| Verdict | Meaning |
|---|---|
FAIL | A high-risk structural regression needs review before acceptance |
WARN | A meaningful graph change needs reviewer attention |
PASS | No configured structural gate fired |
UNKNOWN | Trailmark failed or evidence is too incomplete |
Write the packet using
references/output-format.md, then hand it to
the branch reviewer. Use
references/review-integration.md when
combining this packet with differential-review or another PR review process.
PASS when Trailmark failed.FAIL and WARN.© 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-review-gate of trailofbits/skills.
Open the folder on GitHubat commit 82fe822
Trailmark Review Gate 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 Review Gate this skilltrailofbits/skills | 7.4k | — | ~1.1k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Code Review with Beads Tasksmaslennikov-ig/claude-code-orchestrator-kit | 260 | — | ~2k | Automated safety check: Pass | Custom licence | |
| Reviewsoftspark/ai-toolkit | 179 | — | ~3.1k | Automated safety check: Notes | Apache-2.0 | |
| Openqodexopenqodex/openqodex | 470 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Claude Securityanthropics/claude-plugins-official | 38k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Remediating With AWS Security Agentaws/agent-toolkit-for-aws | 2.8k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 |
maslennikov-ig/claude-code-orchestrator-kit
Reviews staged changes, a branch, a PR or a path for bugs, security gaps and performance issues, then writes an evidence-based report and creates Beads tasks.
softspark/ai-toolkit
Reviews code for quality, security, correctness. An agent skill from softspark/ai-toolkit.
openqodex/openqodex
Code review for the current change, before it is pushed. An agent skill from openqodex/openqodex.
anthropics/claude-plugins-official
Scans a whole codebase or a set of changes for security issues, and turns findings into verified patch files that you apply yourself.
aws/agent-toolkit-for-aws
Pull AWS Security Agent findings (penetration tests and code reviews) and drive remediation.
verdaccio/verdaccio
Reviews a verdaccio diff, branch or PR against the repository's review guide, verifies each finding in the code and reports only actionable issues.
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
Compares before and after Trailmark graphs of a branch, pull request or release diff to flag new entry points, tainted paths, removed validation and other structural security regressions. The agent resolves the two sides of a change from refs, a branch, a commit range or two directories, using git diff, git show and worktrees instead of checking out branches. Both snapshots go through Trailmark's pre-analysis so taint, privilege-boundary, blast-radius, complexity and entry point signals exist, and the differences are normalized into added, removed and modified nodes.
Trailmark Review Gate fits situations like: reviewing a pull request for graph-level security regressions before merge; checking whether a fix commit removed validation or authorization on a reachable path; comparing a release diff for attack surface growth; producing structural evidence to support a differential review.
Run `npx skills add trailofbits/skills --skill trailmark-review-gate -a claude-code`. Or copy the skill folder (plugins/trailmark/skills/trailmark-review-gate in trailofbits/skills) into .claude/skills/trailmark-review-gate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trailofbits/skills --skill trailmark-review-gate -a codex`. Or copy the skill folder (plugins/trailmark/skills/trailmark-review-gate in trailofbits/skills) into .agents/skills/trailmark-review-gate 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-review-gate -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-review-gate, .gemini/skills/trailmark-review-gate, .github/skills/trailmark-review-gate and .opencode/skills/trailmark-review-gate in your project.
Going by SKILL.md and its folder, Trailmark Review Gate needs the command-line tools its instructions call (git). Our summary lists: Trailmark; A Git repository with the refs to compare. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Write.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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 Review Gate 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.5k 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.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Trailmark Review Gate: Code Review with Beads Tasks (maslennikov-ig/claude-code-orchestrator-kit, 260 stars), Review (softspark/ai-toolkit, 179 stars), Openqodex (openqodex/openqodex, 470 stars) and Claude Security (anthropics/claude-plugins-official, 38k 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,440 GitHub stars. The repository holds 79 skills in this directory. The repository was last updated on October 7, 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.