opengrep-rule-creator

opengrep-rule-creator is a skill for Claude Code, Codex from Lu1sDV/skillsmd. It costs 70 tokens per session (12,034 once invoked), scanned A, original, no licence file.

A guide for creating, testing, and debugging custom OpenGrep rules. OpenGrep rules are patterns that scan code for structural matches or possible data flows, such as input reaching a risky operation.

In plain words
What is it for?
Use it to model sources, sinks, sanitizers, and taint flows, or to test rules that inspect code within one file.
Why use it?
It provides offline documentation and examples for writing rules correctly, including rules converted from Semgrep.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to model sources, sinks, sanitizers, and taint flows, or to test rules that inspect code within one file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lu1sdv/skillsmd/opengrep-rule-creator
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 Lu1sDV/skillsmd --skill opengrep-rule-creator
Clone the repo
git clone --depth 1 https://github.com/Lu1sDV/skillsmd

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 opengrep-rule-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/lu1sdv/skillsmd/opengrep-rule-creator/github.svg)](https://agentmods.dev/skills/lu1sdv/skillsmd/opengrep-rule-creator)
Your own site
<a href="https://agentmods.dev/skills/lu1sdv/skillsmd/opengrep-rule-creator"><img src="https://agentmods.dev/badge/skills/lu1sdv/skillsmd/opengrep-rule-creator/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 opengrep-rule-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/lu1sdv/skillsmd/opengrep-rule-creator"><img src="https://agentmods.dev/badge/skills/lu1sdv/skillsmd/opengrep-rule-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,034 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.
Origin unknown 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.00070 $0.12034
Opus 5.5 $0.00028 $0.04814
Sonnet 5.5 $0.00014 $0.02407
Haiku 4.5 $0.00007 $0.01203

Measured 3d ago against content hash c461b2fac511, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opengrep-rule-creator 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 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/01-structural/structural.py, examples/02-taint/taint.py, examples/04-intrafile/intrafile.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

opengrep-rule-creator/SKILL.md · 1,017 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 1,017 lines · 70 tokens per session scan A c461b2fac511

Subscribe to this mod's changes

opengrep-rule-creator is a skill published in the GitHub repository Lu1sDV/skillsmd (2 stars, last pushed 4d ago), with no licence file. It adds 70 tokens to every session and 12,034 once invoked, about $0.0003 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-10-04.

Related

Other skills, from other repositories

inversion

"Invert, always invert." Apply Carl Jacobi's mathematical principle and Charlie Munger's investing wisdom to solve problems by thinking backward from failure. Use when: Goal setting - Define what would guarantee failure, then avoid it; Risk analysis - Identify what could destroy your project before starting; Decision…

guia-matthieu/clawfu-skills · 96 tokens

deliverability-checker

Check email deliverability and DNS configuration. Use when: diagnosing email delivery issues; setting up new email domains; auditing email authentication; checking SPF/DKIM/DMARC; troubleshooting spam folder issues.

guia-matthieu/clawfu-skills · 44 tokens

rlm

Process large codebases (>100 files) using the Recursive Language Model pattern. Orchestrates parallel sub-agents to map-reduce across files without context rot. Use when: analyzing large repositories; auditing security or auth across many files; finding patterns across 50+ files; processing large log files or data…

guia-matthieu/clawfu-skills · 65 tokens

link-checker

Find broken links on websites. Use when: auditing website for broken links; checking internal link structure; finding 404 errors; validating external links; pre-launch QA.

guia-matthieu/clawfu-skills · 36 tokens

agent-debugging

Debug and troubleshoot ElevenLabs conversational AI agents and Twilio calls. Use when diagnosing agent issues, analyzing failed calls, troubleshooting audio problems, investigating conversation breakdowns, reviewing error logs, or optimizing underperforming agents. Includes transcript analysis, error diagnosis, and…

majiayu000/claude-skill-registry · 58 tokens

agent-error-coordinator

Expert error coordinator specializing in distributed error handling, failure recovery, and system resilience. Masters error correlation, cascade prevention, and automated recovery strategies across multi-agent systems with focus on minimizing impact and learning from failures.

majiayu000/claude-skill-registry · 46 tokens