Cloudflare has open-sourced its skill that turns Claude Code (or any other agent with subagents) into a security auditor. They use it themselves inside the company to find holes in their own code.
I went to see what's inside. It's not a program but a set of instructions for an agent - a regular skill, like the ones I write for myself. You drop it into your skills folder and then just say in the console "do a security audit of this project".
How it works: first the agent studies the project architecture, then parallel subagents hunt for vulnerabilities in their own areas (authorization, data handling, payments, dependencies, even a separate section on AI and prompt injections), then each finding is re-checked by a separate fresh agent that wasn't the one looking for it. At the end there's a report: what's confirmed, with the lines of code, what's rejected, what needs a manual check.
There's a quick mode for a fast run and a full one with six phases. The full one will be heavy on tokens - there are 180 kilobytes of instructions and a bunch of parallel agents, so on a subscription it's a noticeable chunk of your weekly limit.
What's important to understand: the skill only works with source code that sits locally on your machine. It doesn't check a live site by URL, that's explicitly forbidden inside. So it's a tool for your own projects - bots with credentials, stores with payments, services you hacked together with AI that some outsider will later poke around in.
For me this is exactly what I've been thinking about for a long time: AI-generated code works, but who checked it for holes? Now there's something to do it with. I'll be running it on my services.
Install with one command:
npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit






