cloudflare-security-audit-skill — Claude Code skill: security audit
cloudflare-security-audit-skill runs a six-stage security audit over a repo with parallel agents, then hands back a report and schema-checked findings.json.
no license 216 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a claude-codeWhat cloudflare-security-audit-skill does
The skill works through six stages: mapping the codebase, hunting, adversarial review, a written report, machine-readable output, and a final independent check. Hunting fans out to seven agents at once, each with its own angle: injection, access control, business logic, crypto, feature abuse, chained attacks and an open-ended pass. The mapping stage writes architecture.md with the entry points and data flows it found.
Every finding goes back to an agent that did not produce it, and that reviewer argues against it. Anything without a reproducible path gets dropped before reporting. A finished run leaves REPORT.md, FINDINGS-DETAIL.md for MEDIUM and above, findings.json matched against report-schema.json, and the review transcripts under validation-logs/.
Expect a short list rather than a long one. Only issues with a payload and a visible effect are accepted; a missing second layer of defence behind one that holds is filed as hardening, not as a vulnerability. Repeat passes over the same repo build on each other, because each new run reads earlier findings.json files and heads for untouched areas. Results land in ~/security-audit-skill/<repo-name>/run-<N> unless you name a directory.
What it helps with
- Run a pre-release security pass and get confirmed findings
- Drop false positives before they reach the report
- Produce
findings.jsonfor automated triage - Audit just the auth or payment module instead of the whole codebase
- Split coverage across several passes over one repo
Example prompts for the agent
- Audit this codebase for security issues and save the results to
~/audits/myapp - Find vulnerabilities in
./src/authand give me both the report andfindings.json - Run a second audit pass on this repo and skip what the earlier runs already found
How to install cloudflare-security-audit-skill
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a claude-code2Manually: put the files in place
~/.claude/skills/cloudflare-security-audit-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cloudflare-security-audit-skill/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a codex2Manually: put the files in place
.agents/skills/cloudflare-security-audit-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a cursor2Manually: put the files in place
.cursor/skills/cloudflare-security-audit-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/cloudflare-security-audit-skill2Manually: put the files in place
.github/skills/cloudflare-security-audit-skill/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/cloudflare-security-audit-skillManually: put the files in place
.devin/skills/cloudflare-security-audit-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cloudflare-security-audit-skill
How do I install cloudflare-security-audit-skill in Claude Code?
Run npx skills add reason-machines/security-skills --skill cloudflare-security-audit-skill -a claude-code. The skill file ends up at ~/.claude/skills/cloudflare-security-audit-skill/SKILL.md.
What does cloudflare-security-audit-skill do?
It runs a security audit in six stages: mapping, a parallel hunt by seven agents, adversarial review of each finding, reporting, findings.json output and an independent check against the source.
What happens if I run it twice on the same repo?
The passes add up. A new run reads the findings.json from earlier ones and moves into code that has not been covered yet; the run number shows up in the run-<N> directory and in the output metadata.