security-vibe-patch

security-vibe-patch is a skill for Claude Code from ch0ks/hackarandas-claude-toolbelt. It costs 146 tokens per session (7,801 once invoked), scanned A, original, MIT.

A security-fix skill that turns findings from a security-code-review report into small code patches. Semgrep rule IDs are identifiers for the security checks that reported some findings.

In plain words
What is it for?
Use it after a security-code-review to patch each finding, commit each fix with a conventional commit message, and write a formal security patch report.
Why use it?
It gives developers focused remediation changes tied to the reported vulnerabilities, without rewriting unrelated code. It also requires a security review report before it starts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it after a security-code-review to patch each finding, commit each fix with a conventional commit message, and write a formal security patch report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch
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 ch0ks/hackarandas-claude-toolbelt --skill security-vibe-patch
Clone the repo
git clone --depth 1 https://github.com/ch0ks/hackarandas-claude-toolbelt

Made for: Claude Code.

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 security-vibe-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch/github.svg)](https://agentmods.dev/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch)
Your own site
<a href="https://agentmods.dev/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch"><img src="https://agentmods.dev/badge/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch/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 security-vibe-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch"><img src="https://agentmods.dev/badge/skills/ch0ks/hackarandas-claude-toolbelt/security-vibe-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,801 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 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.00146 $0.07801
Opus 5 $0.00073 $0.03900
Sonnet 5 $0.00029 $0.01560
Haiku 4.5 $0.00015 $0.00780

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

Security

Grade A, and why

security-vibe-patch 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 9d 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.

skills/security-vibe-patch/SKILL.md · 885 lines

How it starts

The opening of the file, as written. The whole thing — 885 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Staff Security Engineer applying the Vibe Security Patching methodology. Your job is to translate findings from the security-code-review report into minimal, precise remediation patches that engineers can review and merge with confidence. You are not rewriting code — you are making the smallest possible change that fixes the vulnerability without breaking business logic.

Core principle from Vibe Security Patching: Security becomes an enabler, not a blocker. Every patch you produce must be something an engineer would be proud to merge — clean, minimal, well-explained, and correct.


Step 1 — Locate the Report and Validate Preconditions

1a. Find the security-code-review report

SECURITY_DIR=$(git rev-parse --show-toplevel)/security-review
ls -t "$SECURITY_DIR"/security-code-review-report-*.md 2>/dev/null

If no report found:

❌ No security-code-review report found in /security-review/.
Run /security-code-review first, then re-run /security-vibe-patch.

Stop immediately.

If multiple reports found: list them with ages and ask which to use, defaulting to the most recent. Same logic as /security-iac-triage.

Staleness check: Extract the date from the report filename (YYYYMMDD) and calculate age in days using a cross-platform approach:

REPORT_DATE=$(basename "$REPORT" | grep -oE '[0-9]{8}')
# macOS
AGE_DAYS=$(( ( $(date +%s) - $(date -j -f "%Y%m%d" "$REPORT_DATE" +%s 2>/dev/null || echo 0) ) / 86400 ))
# Linux fallback
[ "$AGE_DAYS" -eq 0 ] && AGE_DAYS=$(( ( $(date +%s) - $(date -d "$REPORT_DATE" +%s 2>/dev/null || echo 0) ) / 86400 ))

If age calculation fails entirely, treat as stale and warn. If the report is older than 7 days:

⚠️  Report is N days old — it may not reflect the current state of the code.
    Patches applied to stale findings risk modifying lines that have already changed.

    Options:
      1. Proceed anyway  — patches may fail or be incorrect
      2. Stop            — run /security-code-review first for a fresh report

    Type 1 or 2:

Stop if user chooses 2. If user chooses 1, stamp every commit message with ⚠️ Based on report aged N days.

Read the full file on GitHub · 885 lines

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. 9d ago First seen · 885 lines · 146 tokens per session scan A ba1c81a25a3c

Subscribe to this mod's changes

security-vibe-patch is a skill published in the GitHub repository ch0ks/hackarandas-claude-toolbelt (5 stars, last pushed 4mo ago), licensed MIT. It adds 146 tokens to every session and 7,801 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

prompt-master

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…

nidhinjs/prompt-master · 78 tokens

codeql-expert

Expert-level CodeQL for static analysis, vulnerability detection, and security code scanning. Use when the user mentions static analysis, SAST, vulnerability detection, or github security, or when the task involves writing CodeQL queries, building a CodeQL database, taint tracking, or scanning for injection and…

personamanagmentlayer/pcl · 68 tokens

skill-provenance

Version, validate, package, verify, recover, and hand off Agent Skill bundles across local folders, registries, platform uploads, and agent sessions. Use for MANIFEST.yaml, CHANGELOG.md, bundle hashes, stale evals, frontmatter portability, derived skill packages, or version identity that must survive filename changes…

snapsynapse/skill-provenance · 99 tokens

bootstrap

Add version tracking to an existing unversioned skill bundle. Use when you have a skill project with SKILL.md but no MANIFEST.yaml, no version headers, and no changelog. Creates the initial manifest, adds version metadata to files, and generates the first changelog entry. Triggers on: "bootstrap this skill", "add…

snapsynapse/skill-provenance · 91 tokens

close

Update version tracking when finishing work on a skill bundle. Use when you're done editing a skill project and need to bump version headers, recompute manifest hashes, update the changelog, flag stale files, or prepare a commit message. Triggers on: "close the session", "update versions", "save the bundle", "I'm done…

snapsynapse/skill-provenance · 83 tokens

validate

Run a focused validation check for a skill bundle. Use when the user asks to validate, verify hashes, check MANIFEST.yaml, confirm files are present, or distinguish a canonical bundle from a derived install or registry copy without opening or closing a full editing session.

snapsynapse/skill-provenance · 54 tokens