Skip to content
cccskills
Official · ClaudeFreePublished on GitHubEnglish overview

patch

Turn security findings into candidate code fixes with review results and summaries. Depending on the input, use independent source review or a pipeline with execution checks, then provide diffs for a person to review and apply.

OriginalShow the original description

Generate candidate fixes for verified security findings. Consumes TRIAGE.json (preferred), VULN-FINDINGS.json, INCIDENTS.json, or a vuln-pipeline results directory. Pipeline input is delegated to the execution-verified `vuln-pipeline patch` ladder; static-analysis input gets a per-finding patch subagent + independent reviewer and is written as inert diffs for human review. Writes PATCHES/bug_NN/{patch.diff,patch_result.json}, PATCHES.md, and PATCHES.json. Use when asked to "fix the findings", "patch these vulns", "generate fixes", or "close the loop on triage".

anthropics/defending-code-reference-harness7,789 stars(GitHub 7,789 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Generating candidate fixes from triaged findings
  • Preparing diffs for the highest-priority vulnerabilities
  • Independently reviewing proposed security fixes
  • Checking fixes through the execution verification pipeline

Overview

What it does

This skill reads vulnerability findings and creates candidate fixes as diffs for a person to review. With the recommended TRIAGE.json input, it works on items confirmed as issues. For static-analysis findings, a separate agent reviews the source and diff. For vuln-pipeline results, the pipeline handles build, reproduction, regression checks, and re-attack verification. It organizes diffs and review or verification results in PATCHES/, PATCHES.md, and PATCHES.json.

When it helps

Use it to turn diagnostic results into proposed fixes or to start with the highest-priority issues. It can focus on selected findings and include the reasons for each fix and checks for similar issues in the review materials.

Example requests

  • “Create candidate fixes for the top three items in TRIAGE.json.”
  • “For this finding only, summarize the diff and independent review results.”

Notes

This skill does not apply diffs to the target code. Static-analysis candidates have not been compiled or run and need human review. Findings without a known source location are skipped. Execution-verified mode requires vuln-pipeline patch and its corresponding configuration; passing verification does not guarantee that no further issues exist.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
AGoodDiffs are never applied, and writes are limited to `PATCHES/` and `.patch-state/`.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingExecution mode requires `vuln-pipeline patch` and configuration, but setup steps are not given.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 31, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (2)

  • SKILL.md25.0 KB
  • README.md4.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

customize

Official · ClaudeFreeSummary

Adapt a C/C++ vulnerability pipeline to another language, target, or detection method. The workflow gathers requirements, proposes file changes for approval, updates the implementation, and validates it against a test target containing known bugs.

  • Adapt the pipeline for web application vulnerabilities
  • Plan a port for smart contract auditing
  • Change detection signals and report criteria
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

dnr-hunt

Official · ClaudeFreeSummary

Hunt for signs of compromise in web and application logs without an initial alert. Establish normal activity, record investigative hypotheses, check source code, and reproduce issues locally before producing incident records and a report.

  • Hunting for compromise without an initial alert
  • Tracing related activity across application logs
  • Distinguishing attack attempts from successful exploitation
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

dnr-respond

Official · ClaudeFreeSummary

Investigate an alert or suspicious identifier using logs and source code. Assess attack success, measure affected data and users, test the suspected flaw locally, and produce a response plan for human review and execution.

  • Investigating a security alert
  • Measuring affected records and customers
  • Checking a suspected flaw with a local proof of concept
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

quickstart

Official · ClaudeFreeSummary

Get started with vulnerability review through a guided practice target, from threat modeling to scanning and triage. Ask questions about the pipeline and receive answers grounded in its documentation and source, with references and a next command.

  • Learn the vulnerability review workflow
  • Try a first scan on the bundled practice target
  • Find commands with supporting documentation
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

threat-model

Official · ClaudeFreeSummary

Build a threat model that identifies valuable assets, attack entry points, potential threats, and mitigation priorities. Use source code and past vulnerabilities, an interview with the application owner, or a combination of both.

  • Reviewing security risks during system design
  • Assessing an inherited codebase without its owner
  • Refining a code-based draft with the application owner
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

triage

Official · ClaudeFreeSummary

Turn raw security findings into a ranked list for engineering review. Check claims against source code, merge duplicates, assess how feasible exploitation is, and assign component owners, with results in JSON and Markdown.

  • Validating security scanner findings
  • Merging duplicate findings across scans
  • Prioritizing a vulnerability backlog
anthropics/defending-code-reference-harness7.8KUpdated Aug 7, 2026

See all skills by anthropics

Report a problem with this skill