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.
npx skills add zhanglunet/openworker-zh-localized --skill semgrep-reviewgit clone --depth 1 https://github.com/zhanglunet/openworker-zh-localizedWrote 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.
[](https://agentmods.dev/skills/zhanglunet/openworker-zh-localized/semgrep-review)<a href="https://agentmods.dev/skills/zhanglunet/openworker-zh-localized/semgrep-review"><img src="https://agentmods.dev/badge/skills/zhanglunet/openworker-zh-localized/semgrep-review/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.
<a href="https://agentmods.dev/skills/zhanglunet/openworker-zh-localized/semgrep-review"><img src="https://agentmods.dev/badge/skills/zhanglunet/openworker-zh-localized/semgrep-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00515 |
| Opus 5.5 | $0.00007 | $0.00206 |
| Sonnet 5.5 | $0.00004 | $0.00103 |
| Haiku 4.5 | $0.00002 | $0.00052 |
Grade A, and why
semgrep-review 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 19d 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.
What it actually says
Run a static-analysis pass with semgrep and own the findings end to end.
- Check the tool:
semgrep --version. If it's missing, ask for it withrequest_tool("semgrep", …)rather than skipping the pass. If the user declines, continue with a targeted manual review — read the routes/handlers, the auth and session code, every query built by string concatenation, deserialization, and outbound requests built from user input — and say in your report that the static pass was manual, so the user knows the coverage is narrower than a full scan. Note that community semgrep rules miss whole classes (e.g. SQL built through a project's own DB wrapper), so reading the code is worth doing even when it runs. - Scan the repo (from its root):
semgrep scan --config auto --json --quiet -o /tmp/semgrep.jsonUse--config autounless the repo carries its own rules (.semgrep.yml,semgrep.yml) — prefer the repo's own configuration when present. - Parse the JSON and triage EVERY finding — do not echo the raw report:
- Read the flagged code and enough surrounding context to judge reachability.
- Is the tainted input attacker-controlled or internal? Is there an upstream guard?
- Rate: critical / high / medium / low / noise, with a one-line justification each.
- Fix what's real, highest severity first:
- Match the codebase's own conventions (its validation helpers, escaping utilities, parameterized-query style) — read neighboring code before writing the fix.
- Add or extend a test that fails without the fix where the test harness makes that reasonable.
- Group fixes by theme (one branch per theme), never one giant mixed diff.
- For findings you judge noise, say WHY (e.g. constant input, dead code, framework already escapes) — never silently drop them, and never add ignore rules to make the scanner quiet without agreement.
- Deliver: a short findings table (severity · location · verdict · action) and the
fix branches/PRs. If the repo has no semgrep config, offer to commit a starter
.semgrep.ymlpinned to the rulesets that mattered here.
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.
- 19d ago First seen · 35 lines · 18 tokens per session scan A bc1f2eadd6ce
semgrep-review is a skill published in the GitHub repository zhanglunet/openworker-zh-localized (2 stars, last pushed 5d ago), licensed MIT. It adds 18 tokens to every session and 515 once invoked, about $0.0001 per session on Opus 5.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-11-16.
semgrep-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| semgrep-reviewzhanglunet/openworker-zh-localized | Skill | 2 | 5d ago | MIT | A | 18 | Claude Code, Codex |
| cli-anything-nsloggerHKUDS/CLI-Anything | Skill | 71k | 14d ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| hex-annotateanomalyco/hex | Skill | 9.7k | today | MIT | A | 139 | Claude Code, Codex |
| workers-developmentcloudflare/skills | Skill | 3.6k | 2d ago | Apache-2.0 | A | 68 | Claude Code |
| workers-profilingcloudflare/skills | Skill | 3.6k | 2d ago | Apache-2.0 | A | 31 | Claude Code |
| sentry-app-setupvellum-ai/vellum-assistant | Skill | 1.5k | 4d ago | MIT | A | 29 | Claude Code, Codex |
| burrow-system-toolscaezium/burrow | Skill | 1.9k | today | MIT | A | 194 | Claude Code, Codex |