BurnyCoder

Claude Code Cloud Audit Loop — Security skill for Claude Code

Security community

Spend a fixed dollar budget on independent fact-check audits of many GitHub repositories, from inside one Claude Code session: cloud (Claude Code on the web) or local.

How to install Claude Code Cloud Audit Loop

This entry records only its repository, not the path inside it, so there is no exact command to give. Open BurnyCoder/claude-code-cloud-audit-loop and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Cloud Audit Loop does

Spend a fixed dollar budget on independent fact-check audits of many GitHub repositories, from inside one Claude Code session: cloud (Claude Code on the web) or local. No API key and no SDK are needed. The session you are already in orchestrates; background subagents audit one repository each; a small CLI keeps state and measures spend.

Alternatives in Security

  • Beyondseo — Your AI SEO house 251 ★
  • Public Skills Builder — Generate Claude Code bug bounty skills from public HackerOne reports and GitHub writeups — 18 vuln classes, no 155 ★
  • Re Audit — Fix-review / re-audit 50 ★

README

claude-cloud-audit-loop

Spend a fixed dollar budget on **independent fact-check audits of many GitHub repositories, from inside one [Claude Code](https://code.claude.com/docs/en/overview) session**: cloud ([Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web)) or local. No API key and no SDK are needed. The session you are already in orchestrates; background [subagents](https://code.claude.com/docs/en/sub-agents) audit one repository each; a small CLI keeps state and measures spend.

**Why:** a block of credits, such as a free cloud allowance, can audit dozens of repositories without anyone running each audit by hand.

**How it works**

  • Audit. Every audit gets the same instruction: fact-check all claims in README, docs, AGENTS.md, results, code, experiment reports, paper, Hugging Face card and UI; fix them; add sources; don't train models. The audit prompt adds:
    • the order of evidence: result files and code, then primary sources fetched live, then "unverifiable"
    • a rule never to change data to match prose
    • compute limits and a per-audit soft budget
    • a structured report
  • Land. Fixes go to a branch per audit. The orchestrator checks the diff, opens a PR and merges it.
  • Spend. It is measured from the session's own transcripts at list prices, including subagents. The loop stops at budget − margin.
  • Rounds. Repositories are audited round-robin. When all have finished round 1, round 2 starts, independently of round 1.

For the same loop **outside a session**, with an API key and the Agent SDK, see [claude-agent-sdk-audit-loop](https://github.com/BurnyCoder/claude-agent-sdk-audit-loop).

Data flow

flowchart LR
    R[repos.txt] --> N["audit-loop next
(least-audited first)"] L[(reports/ledger.jsonl)] --> N S["audit-loop spend --check
(prices transcripts)"] -->|under stop line| N N --> C["audit-loop clone
shallow clone + branch"] C -->