omd-sast

omd-sast is a skill for Claude Code, Codex from AbyssCN/oh-my-dag. It costs 52 tokens per session (253 once invoked), scanned A, original, MIT.

A code-security scanner that checks source files against Semgrep rules and produces a structured report of matches.

In plain words
What is it for?
Use it to scan a file or project, group findings by severity, and report each file, line, rule, problem, and suggested fix.
Why use it?
It finds rule-defined security or code problems without using an AI model, so each reported match comes from a repeatable scan. It also separates confirmed matches from issues that need a developer to inspect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan a file or project, group findings by severity, and report each file, line, rule, problem, and suggested fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abysscn/oh-my-dag/omd-sast
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AbyssCN/oh-my-dag --skill omd-sast
Clone the repo
git clone --depth 1 https://github.com/AbyssCN/oh-my-dag

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for omd-sast

README.md
[![agentmods](https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-sast/github.svg)](https://agentmods.dev/skills/abysscn/oh-my-dag/omd-sast)
Your own site
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-sast"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-sast/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for omd-sast

Your own site · 80×15
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-sast"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-sast.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00253
Opus 5 $0.00026 $0.00127
Sonnet 5 $0.00010 $0.00051
Haiku 4.5 $0.00005 $0.00025

Measured 11d ago against content hash 9d36fe486d5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

omd-sast scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

client-skills/omd-sast/SKILL.md · 17 lines

What it actually says

/omd-sast — semgrep 静态扫描

对应 pi TUI 的 /omd-sast。确定性工具,直接 Bash 跑 semgrep(装了才可用;没装提示 pip install semgrep 或 brew):

semgrep scan --config auto --json --quiet <目标路径> 2>/dev/null
  • 解析 JSON 输出,按严重度分组转述:file:line + 规则 id + 一句话问题 + 修复方向;
  • 零命中就说零命中,不要脑补;规则误报常见——对高严重度命中读代码确认真实可达再定性;
  • 与 /omd-audit 互补:sast 是规则事实(便宜、确定),audit 是语义审查(贵、覆盖设计层)。先 sast 后 audit 是省钱顺序。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 17 lines · 52 tokens per session scan A 9d36fe486d5b

Subscribe to this mod's changes

omd-sast is a skill published in the GitHub repository AbyssCN/oh-my-dag (39 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 253 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-test

Verifies that the skill system is working correctly.

andrefetch/postal · 13 tokens

interview-and-create-plan

Before starting a Ralph RLM loop, interview the user to sharpen the goal, stress-test the design, and write an authored PLAN.md (goal, definition of done, milestones, open questions, invariants) that the loop can follow. Use when a user wants to plan, scope, or stress-test work before delegating it to the supervisor /…

doeixd/opencode-ralph-rlm · 89 tokens

setup-opencode-ralph-rlm

Set up Ralph RLM in an existing OpenCode project by installing the package, running the opencode-ralph-rlm setup command, checking generated .opencode config, and verifying the provider/worker loop wiring. Use when a user asks to install, configure, initialize, troubleshoot setup for, or add opencode-ralph-rlm / Ralph…

doeixd/opencode-ralph-rlm · 89 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

openalex-database

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly…

synthetic-sciences/openscience · 76 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens