Back to skills
SKILL.md
Semgrep Custom Pattern Builder
ASecurityBuilds custom Semgrep rules using the Semgrep pattern syntax and semgrep CLI. Generates YAML rule files with metavariable patterns, taint tracking, and autofix transformations.
- 36 stars
- 0 votes
- 0 copies
- 1 view
- Added June 2, 2026
Works with
Security analysis
100/100npx -y skills add agentskillexchange/skills --skill semgrep-custom-pattern-builder --agent claude-codeAre you the author of Semgrep Custom Pattern Builder?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-semgrep-custom-pattern-builder)---
name: "Semgrep Custom Pattern Builder"
slug: "semgrep-custom-pattern-builder"
description: "Builds custom Semgrep rules using the Semgrep pattern syntax and semgrep CLI. Generates YAML rule files with metavariable patterns, taint tracking, and autofix transformations."
github_stars: 14794
verification: "security_reviewed"
source: "https://github.com/semgrep/semgrep"
category: "Code Quality & Review"
framework: "Codex"
tool_ecosystem:
github_repo: "semgrep/semgrep"
github_stars: 14794
---
# Semgrep Custom Pattern Builder
Builds custom Semgrep rules using the Semgrep pattern syntax and semgrep CLI. Generates YAML rule files with metavariable patterns, taint tracking, and autofix transformations.
## 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-pattern-builder/)
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.