findaskill

—skills · counting…

30,375MCP servers

SkillsMCP serversAgent BuilderRun agentSoon
Sign in
  1. Home
  2. Skills
  3. Security Auditing
  4. semgrep
Security skillsVerified Skill

semgrep: Claude Code Skill & Agent Tool

An open-source skill by trailofbits (opens in a new tab), published in the trailofbits/skills (opens in a new tab) repository on GitHub. Trail of Bits' Semgrep workflow: detects your languages, selects rulesets, asks for approval, then runs the scans and merges the results into SARIF — with cross-file taint analysis when Semgrep Pro is available.

Install semgrep

Requires Node.js
$ npx skills add trailofbits/skills --skill semgrep

Run this command in your project terminal to install this skill for Claude Code.

What this skill does

This semgrep skill is Trail of Bits' workflow for running a Semgrep security scan over a codebase. Rather than firing off a single command, your agent detects the languages in the repository, selects the matching rulesets and presents the plan for your explicit approval before anything runs.

You choose between two scan modes. Run all applies every ruleset at every severity for full coverage. Important only filters twice — on the command line by severity, then on each rule's metadata — to keep only security findings with medium-to-high confidence and impact, so the report stays actionable. The approved rulesets run in parallel batches through a bundled script, and the results are merged into a single SARIF file that code-scanning tools understand.

When Semgrep Pro is available, the skill uses it for cross-file taint analysis that follows data from source to sink; otherwise it says clearly that it ran the open-source engine. Semgrep metrics are switched off on every command, and results go to a dedicated output directory. Use it with Claude Code for a security audit, bug hunting or static analysis before a release.

Key Capabilities

  • Detects your languages and selects the matching Semgrep rulesets
  • Presents the scan plan for your approval before running anything
  • Run all, or Important only: security findings with medium-to-high confidence and impact
  • Parallel scans merged into one SARIF file
  • Cross-file taint analysis with Semgrep Pro; metrics always off

How to use with Claude Code & AI Agents

  1. 01

    Install the skill

    Run the command above at the root of your project. The CLI asks which agents to set up — Claude Code, Cursor and other supported agents — and adds semgrep to the project, so teammates who pull the repository get it too. Add -g to install it for your user account across every project.
  2. 02

    Open a new agent session

    Start a fresh Claude Code session in that project so the agent loads the new skill. Have ready: Semgrep installed (Semgrep Pro optional).
  3. 03

    Ask in plain words

    Describe the task, for example:“Run a Semgrep security scan on this repository, important findings only.”The agent matches your request to the skill's description and follows its SKILL.md instructions step by step. Read them on GitHub before using the skill on a system that matters.

Skill details

Author
trailofbits (opens in a new tab)
Repository
trailofbits/skills (opens in a new tab)
Install name
semgrep
Category
Security Auditing
Works with
  • Claude Code
  • Cursor
  • Agent CLI
Requirements
  • Node.js (runs the installer)
  • Semgrep installed (Semgrep Pro optional)
View source on GitHub (opens in a new tab)

Verified by findaskill: the repository exists and npx skills add finds this skill under this exact name.

Related Skills in Security Auditing

  • getsentry

    security-review

    Sentry's systematic security code review for injection, XSS, authentication, authorization and cryptography issues, with confidence levels that keep false positives out of the report.

    View skill
  • trailofbits

    supply-chain-risk-auditor

    Audits every dependency in your lockfile for known advisories, abandoned or archived upstreams, publisher concentration and install-time scripts before they reach production.

    View skill
Back to all Security Auditing skills

By using it, you agree to our Terms and Privacy Policy. . Contact us.

Explore Skills & Tools

findaskill

The open skills directory for Claude Code & AI agents

© 2026 findaskill

Categories

  • Coding
  • SEO
  • Scraping
  • DevOps
  • Security
  • MCP

Featured Skills

  • seo-auditMarketing & Technical SEO
  • firecrawl-seo-auditWeb Crawling & Audit
  • audit-websiteAutomated Code Fixer
  • web-quality-seoLighthouse & Standards

Platform & Legal

  • Skills Catalog
  • Categories
  • MCP Directory
  • Terms
  • Privacy