ponytail-audit

ponytail-audit is a skill for Claude Code, Codex from coco-research/coco. It costs 105 tokens per session (460 once invoked), scanned A, original, Apache-2.0.

A whole-codebase review for unnecessary complexity and over-engineering. It scans the repository and ranks code, dependencies, and abstractions that could be deleted, simplified, or replaced.

In plain words
What is it for?
Use it to find dead code, unused configuration, one-use abstractions, duplicate utilities, and hand-built versions of standard features across the repository.
Why use it?
Large codebases often contain unused options, duplicate helpers, or code that repeats features already provided by the language or platform. This audit turns those possible reductions into a ranked list.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find dead code, unused configuration, one-use abstractions, duplicate utilities, and hand-built versions of standard features across the repository.

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

Made for: Claude Code, Codex.

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/coco-research/coco/ponytail-audit/github.svg)](https://agentmods.dev/skills/coco-research/coco/ponytail-audit)
Your own site
<a href="https://agentmods.dev/skills/coco-research/coco/ponytail-audit"><img src="https://agentmods.dev/badge/skills/coco-research/coco/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/coco-research/coco/ponytail-audit"><img src="https://agentmods.dev/badge/skills/coco-research/coco/ponytail-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 460 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.
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.00105 $0.00460
Opus 5.5 $0.00042 $0.00184
Sonnet 5.5 $0.00021 $0.00092
Haiku 4.5 $0.00011 $0.00046

Measured yesterday against content hash 554b7ac9c78a, 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 yesterday.

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

1 near-identical copy found in the catalogue:

skills/ponytail-audit/SKILL.md · 46 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.
  • reuse: equivalent helper, util, or pattern already in this repo. Name the path.
  • 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, helpers duplicating an equivalent that already lives in this repo. Before emitting delete:, grep the whole tree for the symbol, including tests, fixtures and string or dynamic references.

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.

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. yesterday First seen · 46 lines · 105 tokens per session scan A 554b7ac9c78a

Subscribe to this mod's changes

ponytail-audit is a skill published in the GitHub repository coco-research/coco (324 stars, last pushed today), licensed Apache-2.0. It adds 105 tokens to every session and 460 once invoked, about $0.0004 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-12-03.

Related

ponytail-audit compared with skills from other repositories

ponytail-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ponytail-auditcoco-research/cocoSkill324todayApache-2.0A105Claude Code, Codex
template-comprehensive-assessmentdocxology/templateSkill25todayApache-2.0A77Claude Code, Codex
code-reviewfastagent-sh/fastagentSkill68todayMITA22Claude Code, Codex
readinessjrenaldi79/harness-engineeringSkill12723d agoMITB62Claude Code
pr-sweepChemaclass/agnostic-aiSkill32todayMITA18Claude Code
hk-code-quality-auditdeepklarity/harness-kitSkill10823d agoMITA102Claude Code
hk-pr-reviewdeepklarity/harness-kitSkill10823d agoMITA94Claude Code