/semgrep-rule
Creates Semgrep rules with test-first methodology
$ npx -y skills add trailofbits/skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/semgrep-rule
Context preview
What this command does when you run it.
Creates Semgrep rules with test-first methodology
Command definition
semgrep-rule.mdname: trailofbits:semgrep-rule description: Creates Semgrep rules with test-first methodology argument-hint: "(uses conversation context for detection pattern)" allowed-tools: Bash Read Write Edit Glob Grep WebFetch
Create Semgrep Rule
**Arguments:** $ARGUMENTS
This command is context-driven. Use conversation context to understand: 1. The vulnerability or pattern to detect 2. The target language 3. Whether taint mode is appropriate
If context is unclear, ask for a description of the pattern to detect.
Invoke the `semgrep-rule-creator` skill for the full workflow.
A Claude Code plugin marketplace from Trail of Bits providing skills to enhance AI-assisted security analysis, testing, and development workflows. Codex can load this marketplace through its Claude marketplace compatibility.
Other commands on trailofbits-skills.
- /burp-search
Searches Burp Suite project files for security analysis
Open command - /ct-check
Detects timing side-channels in cryptographic code
Open command - /diff-review
Performs security-focused differential review of code changes
Open command - /entry-points
Identifies state-changing entry points in smart contracts
Open command - /scan-apk
Scans Android APKs for Firebase security misconfigurations
Open command - /audit
Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open switches, weak crypto, permissive access, debug leakage. Parallel sweeps collect candidates, then a refuting verifier traces each one to the security
Open command

