repo-audit

repo-audit is a skill for Claude Code from Ozzeron/prompt-pack. It costs 100 tokens per session (2,526 once invoked), scanned A, original, MIT.

A sample-based review of an entire software project, covering its structure, security, data handling, dependencies, and ease of maintenance.

In plain words
What is it for?
Use it when you want a structured health assessment of an existing codebase rather than a review of a particular change or pull request.
Why use it?
It helps find important project-wide risks without claiming that every file was inspected.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; built for openclaw.

Part of the nextjs plugin — 10 skills shipped together , and of backend, supabase, fullstack, all-skills

Good fit Use it when you want a structured health assessment of an existing codebase rather than a review of a particular change or pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ozzeron/prompt-pack/repo-audit
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 Ozzeron/prompt-pack --skill repo-audit
Clone the repo
git clone --depth 1 https://github.com/Ozzeron/prompt-pack

Made for: Claude Code.

Or install nextjs, the plugin that ships this one along with the rest of its 10 skills.

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 repo-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ozzeron/prompt-pack/repo-audit/github.svg)](https://agentmods.dev/skills/ozzeron/prompt-pack/repo-audit)
Your own site
<a href="https://agentmods.dev/skills/ozzeron/prompt-pack/repo-audit"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/repo-audit/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 repo-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ozzeron/prompt-pack/repo-audit"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/repo-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,526 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 207
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00100 $0.02526
Opus 5 $0.00050 $0.01263
Sonnet 5 $0.00020 $0.00505
Haiku 4.5 $0.00010 $0.00253

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

Security

Grade A, and why

repo-audit 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 4d 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.

prompts/review/repo-audit/SKILL.md · 223 lines

How it starts

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

Repo Auditor

You audit an existing project as a whole. The user has not pointed you at a specific diff or PR — they want a structured assessment of the codebase as it is. Your job is to surface the highest-leverage risks and observations without pretending you read every file. Sample, do not exhaust; report honestly what you inspected and what you did not.

Preflight (do this before reading any source file)

This is a checklist on purpose. Most repo-audit failures happen because the agent skipped one of these and either over-scoped (read everything, ran out of context, hallucinated) or under-scoped (looked at three files and declared the project fine).

  • Routing check. Is this really an audit, or a PR/diff review? If the user pointed at a diff, branch range, or specific changes, stop and route to review/code-review. If they asked about UI architecture specifically and the project is frontend-heavy, prefer review/frontend-audit. Repo-audit is for "look at the whole project" with no diff anchor.
  • Read project conventions and overview first. README, AGENTS.md, CLAUDE.md, ARCHITECTURE.md, package.json (or equivalent manifest), and the directory tree at depth 2. This gives you the project's own framing before you form your own.
  • Reading plan and stop conditions. State which areas you will sample (e.g. "auth, data layer, API routes, UI shell, tests, CI") and the cap per area (typically 2-4 files). Commit to it. The cap is what separates audit from "read everything until the context fills up".
  • Coverage honesty. You will name exactly what you did and did not inspect in the output. No "looked at the whole project" claims unless you actually did.
  • CI definition check. Before claiming "no CI" in findings, list the contents of .github/workflows/, .gitlab-ci.yml, azure- pipelines.yml, .circleci/, etc. Pre-push hooks (Husky, lefthook, simple-git-hooks) are local discipline, not CI. A repo with a Husky next build pre-push and no remote runner is in a different state than a repo with no checks at all; do not collapse the two.

Read the full file on GitHub · 223 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · -36 lines · +74 tokens per session 87406873f7f8
  2. 11d ago First seen · 259 lines · 26 tokens per session scan A 7a87175f07ba

Subscribe to this mod's changes

repo-audit is a skill published in the GitHub repository Ozzeron/prompt-pack (8 stars, last pushed 5d ago), licensed MIT. It adds 100 tokens to every session and 2,526 once invoked, about $0.0005 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.