cvehound: Skill for Claude Code

.agents/skills/write-cve-rule/SKILL.md

write-cve-rule is a skill for Claude Code, Codex from evdenis/cvehound. It costs 78 tokens per session (2,626 once invoked), scanned A, original, GPL-3.0.

A specialised procedure for creating and checking CVEhound rules that detect Linux kernel security vulnerabilities.

In plain words
What is it for?
Writing, debugging, or validating `.cocci` and `.grep` rules under `cvehound/cve/`.
Why use it?
It helps diagnose why a rule does or does not match code and keeps rule testing focused on the intended CVE.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is evdenis/cvehound's own configuration. It tells Claude Code and Codex how to work on cvehound itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cvehound configures →

Reuse

Borrowing it

Nothing to install: this file belongs to evdenis/cvehound. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/evdenis/cvehound/main/.agents/skills/write-cve-rule/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/evdenis/cvehound

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 write-cve-rule

README.md
[![agentmods](https://agentmods.dev/badge/skills/evdenis/cvehound/write-cve-rule.svg)](https://agentmods.dev/skills/evdenis/cvehound/write-cve-rule)
Your own site
<a href="https://agentmods.dev/skills/evdenis/cvehound/write-cve-rule"><img src="https://agentmods.dev/badge/skills/evdenis/cvehound/write-cve-rule.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,626 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.00078 $0.02626
Opus 5 $0.00039 $0.01313
Sonnet 5 $0.00016 $0.00525
Haiku 4.5 $0.00008 $0.00263

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

Security

Grade A, and why

write-cve-rule 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 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/compare-rule.sh, scripts/validate-rule.sh), 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.

.agents/skills/write-cve-rule/SKILL.md · 197 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 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. 7d ago First seen · 197 lines · 78 tokens per session scan A a35f5fb4e662

Subscribe to this mod's changes

write-cve-rule is a skill published in the GitHub repository evdenis/cvehound (137 stars, last pushed 5d ago), licensed GPL-3.0. It adds 78 tokens to every session and 2,626 once invoked, about $0.0004 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

python-performance-optimization

Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.

zebbern/pocmap · 40 tokens

python-error-handling

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

zebbern/pocmap · 43 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

pinkpixel-dev/skills-collection-1 · 65 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

marysatasselshaped667/skills-collection-1 · 65 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

mukul975/Anthropic-Cybersecurity-Skills · 65 tokens

agentsight-bugfix

A five-stage workflow for fixing bugs in AgentSight: understand the report, reproduce the problem, find its cause, make a small code change, and verify the result. AgentSight is a system that observes and analyses agent activity.

alibaba/anolisa · 67 tokens