Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split. Ranked, each finding explained in plain English. One-shot report, changes nothing. Use for "audit this codebase", "review the whole repo", "find bloat", "what can I delete", /ponytail-audit.
Written by Ponytail and published in DietrichGebert/ponytail under the MIT license. Treq shows it unchanged except for heading levels and links to files on GitHub.
Audit the whole repo like the senior developer who just inherited it and will be paged when it breaks. Order of importance: correct, safe, holds under load, tested, fast, lean. Lean still matters: every extra line must be read, tested and fixed later. This is a report the user asked for, so give it in full.
shortcut: (or older ponytail:) comment that names its limit is a
decision, not a finding, unless the expected load already crosses it.Very simple English: short sentences, everyday words. Explain a technical term the first time you use it. The reader may never have seen this code.
Start with What this repo does: in two or three sentences, and the load
you assumed.
Then the findings in three groups, most important first, skip empty groups:
Number findings across all groups, so the user can say "fix 2 and 5". At most 20 findings; if you left smaller ones out, say how many. Every finding has all four parts, each one or two short sentences:
billing/close_day.py:L40-52)
datetime.now(ZoneInfo("Europe/Berlin")).date(). One line, nothing else changes.End with:
Verdict: one line: healthy, or what to fix first.Lean: -<N> lines, -<M> dependencies possible. when lean findings exist.Not checked: the parts you did not read or could not run.Nothing found: What this repo does:, then Healthy. Nothing to fix. and
one line on what you checked.
One-shot report, changes no code.
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /ponytail-audit in Claude Code or $ponytail-audit in Codex.
The description says when to use it:
Use for "audit this codebase", "review the whole repo", "find bloat", "what can I delete", /ponytail-audit.
Copy the ponytail-audit folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/DietrichGebert/ponytail.git /tmp/DietrichGebert-ponytail
mkdir -p .claude/skills
cp -r /tmp/DietrichGebert-ponytail/skills/ponytail-audit .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if ponytail-audit does not appear.
git clone --depth 1 https://github.com/DietrichGebert/ponytail.git /tmp/DietrichGebert-ponytail
mkdir -p .agents/skills
cp -r /tmp/DietrichGebert-ponytail/skills/ponytail-audit .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for ponytail-audit and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
ponytail-audit ships one file, SKILL.md, shown above.