ponytail-audit

ponytail-audit is a skill for Claude Code from DietrichGebert/ponytail. It costs 34 tokens per session (1,273 once invoked), scanned A, original, MIT.

A whole-repository review that finds unnecessary complexity and ranks what could be deleted, simplified, or replaced with built-in features.

In plain words
What is it for?
Use it to find dead code, unused flexibility, unnecessary dependencies, one-use abstractions, and hand-built versions of standard-library or platform features.
Why use it?
It helps locate over-engineering across the full codebase instead of only in recent changes. It reports findings without changing files and does not check bugs, security, or performance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ponytail plugin — 7 skills, 6 commands shipped together

Good fit Use it to find dead code, unused flexibility, unnecessary dependencies, one-use abstractions, and hand-built versions of standard-library or platform features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dietrichgebert/ponytail/ponytail-audit
About the project

Ponytail is a set of instructions and extensions that guides AI coding agents toward smaller, simpler code changes while retaining safety checks. It is intended for developers using agents such as Claude Code, and the catalogue entries are its skills, instructions, plugin, and rule.

DietrichGebert/ponytail · 201,476 stars · on GitHub · ponytail.dev

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 DietrichGebert/ponytail --skill ponytail-audit
Clone the repo
git clone --depth 1 https://github.com/DietrichGebert/ponytail

Made for: Claude Code.

Or install ponytail, the plugin that ships this one along with the rest of its 7 skills, 6 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dietrichgebert/ponytail/ponytail-audit"><img src="https://agentmods.dev/badge/skills/dietrichgebert/ponytail/ponytail-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,273 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
  • Socket pass 9 Oct 2026
  • Snyk pass 9 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00034 $0.01273
Opus 5.5 $0.00014 $0.00509
Sonnet 5.5 $0.00007 $0.00255
Haiku 4.5 $0.00003 $0.00127

Measured 1mo ago against content hash 3dc1c18ec325, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ponytail-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 1mo 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.openclaw/skills/ponytail-audit/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section 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.

1. Map first

  • Audit what the user names: a folder, a package, or the whole repo. Nothing named: the whole repo.
  • Read the README, the deploy and build config, the dependency list, the entry points (main, routes, handlers, jobs, CLI commands) and the tests.
  • Find the expected load: one person running a script, or many users and processes at once. Judge scale against that, and say which load you assumed.
  • Trace the main flows end to end: where data comes in, what is stored, what goes out. Read those paths fully: input from users, money, auth, data writes, background jobs, anything shared between processes.
  • Big repo: go deep where a mistake costs the most, not file by file. Say which parts you did not read.

2. Look for

  1. Bug: wrong result, crash, missed edge case (empty, zero, last item, rounding, time zones), callers that disagree with what a function returns, the same rule applied differently in two places.
  2. Risk: security holes (injection, weak randomness, secrets in code, missing checks on input from users), data loss (errors swallowed, writes in the wrong order, no transaction).
  3. Scale: fine for one user, wrong for many: check-then-write races, the same work done by every process, memory or lists that only grow, a query per item, O(n^2) on big input, per-process state that must be shared.
  4. Missing test: risky logic (a branch, a parser, money, security, data writes) with no test that fails when it breaks. One good test, not coverage.
  5. Speed: big slowdowns are problems. Small wins (work repeated in a hot loop) are suggestions; some software counts every millisecond.
  6. Lean: code that should not exist or should be smaller.
    • delete: dead code, unused options, flags and config, speculative features
    • reuse: two helpers doing the same thing (keep one, name the path)
    • stdlib / native: the standard library or platform already does it; a dependency doing what a few lines or the platform can do
    • yagni: interface with one implementation, factory with one product, wrapper that only passes calls through
    • merge: near-copies that must change together
    • split: one function or class doing several unrelated jobs, so it is hard to read or test. Split by job, never by line count, and never into helpers that exist only to make a function shorter.

Read the full file on GitHub · 101 lines

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. 1mo ago Changed · +58 lines 3dc1c18ec325
  2. 1mo ago Changed · +1 lines d766d3694787
  3. 1mo ago Changed · +4 lines e4cdead76dd3
  4. 3mo ago First seen · 38 lines · 34 tokens per session scan A baba579ec326

Subscribe to this mod's changes

ponytail-audit is a skill published in the GitHub repository DietrichGebert/ponytail (201,476 stars, last pushed 8d ago), licensed MIT. It adds 34 tokens to every session and 1,273 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

ponytail-audit compared with skills from other repositories

ponytail-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ponytail-auditDietrichGebert/ponytailSkill201k8d agoMITA34Claude Code
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code
compare-site-configurationsmicrosoft/power-platform-skillsSkill1.2ktodayMITA98Claude Code
tidewave-integrationoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA38Claude Code
wire-observabilitydanielvm-git/bigpowersSkill2974d agoMITA53Claude Code, Codex
debugsd0xdev/sd0x-harnessSkill1965d agoMITA67Claude Code
git-investigatesd0xdev/sd0x-harnessSkill1965d agoMITA53Claude Code