ponytail-audit

ponytail-audit is a skill for Claude Code from DietrichGebert/ponytail. It costs 34 tokens per session (342 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 · 132,657 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 342 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 19 Jun 2026
  • Snyk pass 19 Jun 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.00342
Opus 5 $0.00017 $0.00171
Sonnet 5 $0.00007 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 10d ago against content hash baba579ec326, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 38 lines

What it actually says

ponytail-review, repo-wide. Scan the whole tree instead of a diff. Rank findings biggest cut first.

Tags

Same as ponytail-review:

  • delete: dead code, unused flexibility, speculative feature. Replacement: nothing.
  • stdlib: hand-rolled thing the standard library ships. Name the function.
  • native: dependency or code doing what the platform already does. Name the feature.
  • yagni: abstraction with one implementation, config nobody sets, layer with one caller.
  • shrink: same logic, fewer lines. Show the shorter form.

Hunt

Deps the stdlib or platform already ships, single-implementation interfaces, factories with one product, wrappers that only delegate, files exporting one thing, dead flags and config, hand-rolled stdlib.

Output

One line per finding, ranked: <tag> <what to cut>. <replacement>. [path]. End with net: -<N> lines, -<M> deps possible. Nothing to cut: Lean already. Ship.

Boundaries

Scope: over-engineering and complexity only. Correctness bugs, security holes, and performance are explicitly out of scope. Route them to a normal review pass. Lists findings, applies nothing. One-shot. "stop ponytail-audit" or "normal mode" to revert.

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. 10d 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 (132,657 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 342 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

release-it

Build production-ready systems with stability patterns: circuit breakers, bulkheads, timeouts, and retry logic. Use when the user mentions "production outage", "circuit breaker", "deployment pipeline", "chaos engineering", "retry storm", "health checks", "my service keeps crashing", "prevent cascading failures", or…

wondelai/skills · 131 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

debug

Interactive debugging workflow with hypothesis-driven probe loop. Use when: unknown bugs, script errors, silent failures, troubleshooting. Not for: known bugs (use bug-fix), GitHub issue analysis (use issue-analyze), code understanding (use code-explore). Output: debug report with probe journal + root cause + fix.

sd0xdev/sd0x-harness · 67 tokens

wire-observability

Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.

danielvm-git/bigpowers · 53 tokens

git-investigate

Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.

sd0xdev/sd0x-harness · 53 tokens

analyze

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase…

rsmdt/the-startup · 118 tokens