{"id":"55515078-271f-43a9-ae29-b58624e659cd","shortId":"kWmKPh","kind":"skill","title":"SAST Rule Compiler for Semgrep","tagline":"Compiles and validates custom Semgrep SAST rules using the semgrep-core engine. Tests pattern matching against sample codebases and generates rule performance benchmarks with p/ci rulesets.","description":"# SAST Rule Compiler for Semgrep\n\nCompiles and validates custom Semgrep SAST rules using the semgrep-core engine. Tests pattern matching against sample codebases and generates rule performance benchmarks with p/ci rulesets.\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/sast-rule-compiler-semgrep/)","tags":["sast","rule","compiler","semgrep","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex"],"capabilities":["skill","source-agentskillexchange","skill-sast-rule-compiler-semgrep","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/sast-rule-compiler-semgrep","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,514 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:16.957Z","embedding":null,"createdAt":"2026-05-18T13:19:06.698Z","updatedAt":"2026-05-18T19:12:16.957Z","lastSeenAt":"2026-05-18T19:12:16.957Z","tsv":"'-1':160 '-2':174 '/semgrep/semgrep':184 '/semgrep/semgrep/head/readme.md':191 '/skills/sast-rule-compiler-semgrep/)':198 '/src':85,98 '30':141 'agent':193 'agentskillexchange.com':197 'agentskillexchange.com/skills/sast-rule-compiler-semgrep/)':196 'analysi':125 'app':93 'appsec':157,167 'basic':110 'benchmark':29,61 'brew':77,102 'bug':131 'caveat':107 'ci':101 'cli':172,180 'code':129,137 'codebas':24,56 'compil':3,6,35,38 'core':17,49 'custom':9,41 'doc':188 'docker':80,89 'e':91 'enforc':133 'engin':18,50 'environ':76 'exchang':195 'extract':185 'fast':120 'find':130 'generat':26,58 'get':114,162,176 'getting-start':113 'getting-started-from-the-c':175 'getting-started-from-the-semgrep-appsec-platform-recommend':161 'github.com':183 'github.com/semgrep/semgrep':182 'guardrail':135 'ide':151 'instal':65,69,78 'languag':142,144 'language-support':143 'login':88 'match':21,53,74 'note':116 'open':122 'open-sourc':121 'option':159,173 'p/ci':31,63 'path':72 'pattern':20,52 'perform':28,60 'platform':158,168 'pwd':84,97 'raw.githubusercontent.com':190 'raw.githubusercontent.com/semgrep/semgrep/head/readme.md':189 'recommend':169 'requir':105 'rm':95 'rule':2,12,27,34,44,59 'ruleset':32,64 'run':81,90,148 'sampl':23,55 'sast':1,11,33,43 'search':128 'secur':134 'semgrep':5,10,16,37,42,48,79,87,92,100,104,117,139,156,166 'semgrep-cor':15,47 'semgrep/semgrep':86,99 'setup':71 'skill':194 'skill-sast-rule-compiler-semgrep' 'sourc':123,181,192 'source-agentskillexchange' 'standard':138 'start':115,163,177 'static':124 'support':140,145 'test':19,51 'token':94 'tool':126 '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' 'upgrad':103 'upstream':68,109,187 'usag':111 'use':13,45,66 'v':83,96 'valid':8,40","prices":[{"id":"cc1e0b56-15fa-4037-b496-6552138069e8","listingId":"55515078-271f-43a9-ae29-b58624e659cd","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:06.698Z"}],"sources":[{"listingId":"55515078-271f-43a9-ae29-b58624e659cd","source":"github","sourceId":"agentskillexchange/skills/sast-rule-compiler-semgrep","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/sast-rule-compiler-semgrep","isPrimary":false,"firstSeenAt":"2026-05-18T13:19:06.698Z","lastSeenAt":"2026-05-18T19:12:16.957Z"}],"details":{"listingId":"55515078-271f-43a9-ae29-b58624e659cd","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"sast-rule-compiler-semgrep","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":"e676508be3068d0c9362e2eb337803f90112b6af","skill_md_path":"skills/sast-rule-compiler-semgrep/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/sast-rule-compiler-semgrep"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"SAST Rule Compiler for Semgrep","description":"Compiles and validates custom Semgrep SAST rules using the semgrep-core engine. Tests pattern matching against sample codebases and generates rule performance benchmarks with p/ci rulesets."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/sast-rule-compiler-semgrep"},"updatedAt":"2026-05-18T19:12:16.957Z"}}