{"id":"5312c63e-34d7-4e1a-894b-a68ab846214a","shortId":"NjPcGV","kind":"skill","title":"Semgrep Custom Pattern Builder","tagline":"Builds custom Semgrep rules using the Semgrep pattern syntax and semgrep CLI. Generates YAML rule files with metavariable patterns, taint tracking, and autofix transformations.","description":"# Semgrep Custom Pattern Builder\n\nBuilds custom Semgrep rules using the Semgrep pattern syntax and semgrep CLI. Generates YAML rule files with metavariable patterns, taint tracking, and autofix transformations.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- $ brew install semgrep\n- $ docker run -it -v \"${PWD}:/src\" semgrep/semgrep semgrep login\n- $ docker run -e SEMGREP_APP_TOKEN=<TOKEN> --rm -v \"${PWD}:/src\" semgrep/semgrep semgrep ci\n- $ brew upgrade semgrep\n\nRequirements and caveats from upstream:\n- <a href=\"https://hub.docker.com/r/semgrep/semgrep\">\n- <img src=\"https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square\" alt=\"Docker Pulls\" />\n- <img src=\"https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square\" alt=\"Docker Pulls (Old)\" />\n\nBasic usage or getting-started notes:\n- 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...\n- [From the Semgrep AppSec Platform](#option-1-getting-started-from-the-semgrep-appsec-platform-recommended)\n- [From the CLI](#option-2-getting-started-from-the-cli)\n\n- Source: https://github.com/semgrep/semgrep\n- Extracted from upstream docs: https://raw.githubusercontent.com/semgrep/semgrep/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/semgrep-custom-pattern-builder/)","tags":["semgrep","custom","pattern","builder","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex"],"capabilities":["skill","source-agentskillexchange","skill-semgrep-custom-pattern-builder","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/semgrep-custom-pattern-builder","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,505 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:24.483Z","embedding":null,"createdAt":"2026-05-18T13:19:17.550Z","updatedAt":"2026-05-18T19:12:24.483Z","lastSeenAt":"2026-05-18T19:12:24.483Z","tsv":"'-1':152 '-2':166 '/semgrep/semgrep':176 '/semgrep/semgrep/head/readme.md':183 '/skills/semgrep-custom-pattern-builder/)':190 '/src':77,90 '30':133 'agent':185 'agentskillexchange.com':189 'agentskillexchange.com/skills/semgrep-custom-pattern-builder/)':188 'analysi':117 'app':85 'appsec':149,159 'autofix':27,55 'basic':102 'brew':69,94 'bug':123 'build':5,33 'builder':4,32 'caveat':99 'ci':93 'cli':16,44,164,172 'code':121,129 'custom':2,6,30,34 'doc':180 'docker':72,81 'e':83 'enforc':125 'environ':68 'exchang':187 'extract':177 'fast':112 'file':20,48 'find':122 'generat':17,45 'get':106,154,168 'getting-start':105 'getting-started-from-the-c':167 'getting-started-from-the-semgrep-appsec-platform-recommend':153 'github.com':175 'github.com/semgrep/semgrep':174 'guardrail':127 'ide':143 'instal':57,61,70 'languag':134,136 'language-support':135 'login':80 'match':66 'metavari':22,50 'note':108 'open':114 'open-sourc':113 'option':151,165 'path':64 'pattern':3,12,23,31,40,51 'platform':150,160 'pwd':76,89 'raw.githubusercontent.com':182 'raw.githubusercontent.com/semgrep/semgrep/head/readme.md':181 'recommend':161 'requir':97 'rm':87 'rule':8,19,36,47 'run':73,82,140 'search':120 'secur':126 'semgrep':1,7,11,15,29,35,39,43,71,79,84,92,96,109,131,148,158 'semgrep/semgrep':78,91 'setup':63 'skill':186 'skill-semgrep-custom-pattern-builder' 'sourc':115,173,184 'source-agentskillexchange' 'standard':130 'start':107,155,169 'static':116 'support':132,137 'syntax':13,41 'taint':24,52 'token':86 'tool':118 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'track':25,53 'transform':28,56 'upgrad':95 'upstream':60,101,179 'usag':103 'use':9,37,58 'v':75,88 'yaml':18,46","prices":[{"id":"5a9ccd09-1d0b-4264-8d67-c85beacc6cc2","listingId":"5312c63e-34d7-4e1a-894b-a68ab846214a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:19:17.550Z"}],"sources":[{"listingId":"5312c63e-34d7-4e1a-894b-a68ab846214a","source":"github","sourceId":"agentskillexchange/skills/semgrep-custom-pattern-builder","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/semgrep-custom-pattern-builder","isPrimary":false,"firstSeenAt":"2026-05-18T13:19:17.550Z","lastSeenAt":"2026-05-18T19:12:24.483Z"}],"details":{"listingId":"5312c63e-34d7-4e1a-894b-a68ab846214a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"semgrep-custom-pattern-builder","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"cf25f789c31ea02fbef251815ed4e7e5bda62300","skill_md_path":"skills/semgrep-custom-pattern-builder/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/semgrep-custom-pattern-builder"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/semgrep-custom-pattern-builder"},"updatedAt":"2026-05-18T19:12:24.483Z"}}