Executes Semgrep OSS with custom YAML rule files for project-specific static analysis patterns. Supports semgrep --config and --pattern flags with metavariable constraints for detecting anti-patterns in Python, JavaScript, Go, and Java codebases.
Scanned 6/2/2026
Install to Claude Code
npx -y skills add agentskillexchange/skills --skill semgrep-custom-rule-runner-2 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Semgrep Custom Rule Runner 2?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-semgrep-custom-rule-runner-2)More formats (shields.io, HTML) on the badges page.
---
name: "Semgrep Custom Rule Runner"
slug: "semgrep-custom-rule-runner-2"
description: "Executes Semgrep OSS with custom YAML rule files for project-specific static analysis patterns. Supports semgrep --config and --pattern flags with metavariable constraints for detecting anti-patterns in Python, JavaScript, Go, and Java codebases."
github_stars: 14794
verification: "security_reviewed"
source: "https://github.com/semgrep/semgrep"
category: "Templates & Workflows"
framework: "Claude Code"
tool_ecosystem:
github_repo: "semgrep/semgrep"
github_stars: 14794
---
# Semgrep Custom Rule Runner
Executes Semgrep OSS with custom YAML rule files for project-specific static analysis patterns. Supports semgrep --config and --pattern flags with metavariable constraints for detecting anti-patterns in Python, JavaScript, Go, and Java codebases.
## Installation
Use the upstream install or setup path that matches your environment:
- $ brew install semgrep
- $ docker run -it -v "${PWD}:/src" semgrep/semgrep semgrep login
- $ docker run -e SEMGREP_APP_TOKEN=<TOKEN> --rm -v "${PWD}:/src" semgrep/semgrep semgrep ci
- $ brew upgrade semgrep
Requirements and caveats from upstream:
- <a href="https://hub.docker.com/r/semgrep/semgrep">
- <img src="https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square" alt="Docker Pulls" />
- <img src="https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square" alt="Docker Pulls (Old)" />
Basic usage or getting-started notes:
- Semgrep is a fast, open-source, static analysis tool that searches code, finds bugs, and enforces secure guardrails and coding standards. Semgrep [supports 30+ languages](#language-support) and can run in an IDE, as a...
- [From the Semgrep AppSec Platform](#option-1-getting-started-from-the-semgrep-appsec-platform-recommended)
- [From the CLI](#option-2-getting-started-from-the-cli)
- Source: https://github.com/semgrep/semgrep
- Extracted from upstream docs: https://raw.githubusercontent.com/semgrep/semgrep/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/semgrep-custom-rule-runner-2/)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!