Skip to content
Back to skills

Audit

ASecurity

Audit the whole repository in the same four-bullet shape — what it does, the load it expects, and the findings that matter at scale.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 14, 2026
ai-agentsdatabasesecurity

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add adeotek/moca --skill audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adeotek-audit/badge)](https://www.skillsdirectory.com/skills/adeotek-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit
description: Audit the whole repository in the same four-bullet shape — what it does, the load it expects, and the findings that matter at scale.
argument-hint: "[path|package|focus]"
---
<!-- built into moca: this copy follows the binary and an edit here does not survive an update. `moca skills fork audit` copies it into your own skills dir, where the copy shadows it. -->

Audit the repository; change no code. Map before you judge: the README, the build and deploy config, the dependencies, the entry points, the test layout. State the load the project actually expects (one user on a laptop, or many processes against one database) — the README is the evidence, not your guess.

Then trace the main flows end to end, and read **in full** the paths that carry user input, money, authentication, data writes, background jobs and shared state. Those are where an audit finds something a diff review cannot.

Look in this order:
1. Bugs: a flow that cannot complete as the README describes, a caller that passes what the callee cannot accept, a fix present in one path and missing in its sibling.
2. Risk: security holes, data loss, an authorization check that a new route skipped.
3. Scale: check-then-write races, work every process repeats, memory or disk that only grows, a query per item, O(n²) on the input the README implies.
4. Risky logic with no test — a branch, a loop, a parser, money or security with nothing covering it.
5. Lean: dead code, a helper the repo already has, stdlib or a platform feature instead of a dependency, an abstraction with one implementation, near-copies to merge. Never split by line count, never judge by file size.

Before calling anything unused, search the whole tree — tests, fixtures, config, string references, templates — and say what you searched. A false "this is dead" finding costs the reader more than it gives them. A `shortcut:` comment that names its limit is a decision, not a finding.

Every finding needs a concrete case: the input, the caller, or the customer flow that breaks. Re-read the code before writing the finding. Cap at 20 findings, most important first — a list longer than that is a rewrite, not an audit. Propose the smallest fix, prefer deleting code, never add a layer.

Reply shape: start with `What this repo does:` in two or three sentences, then the load you assumed and the flows you traced. Then numbered findings, grouped `Must fix` / `Should fix` / `Nice to have`. Each finding: a bold title with `file:lines`, then exactly four bullets — `What this is` / `Problem` / `Fix` / `If we skip it`. End with `Verdict:`, then `Not checked:` naming anything that mattered and you could not check. Nothing found: `Looks solid. Ship.`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.