ponytail-audit

ponytail-audit is a skill for Claude Code, Codex from dmae97/omk. It costs 105 tokens per session (977 once invoked), scanned A, original, MIT.

A whole-codebase audit guide that searches for unnecessary complexity and ranks what to delete, simplify, or replace with built-in functionality.

In plain words
What is it for?
Use it to audit an entire codebase for duplicate library code, unnecessary dependencies, dead flexibility, and abstractions that can be removed.
Why use it?
It helps find over-engineering across the repository, rather than only in one code change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Good fit Use it to audit an entire codebase for duplicate library code, unnecessary dependencies, dead flexibility, and abstractions that can be removed.

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

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/dmae97/omk/ponytail-audit/github.svg)](https://agentmods.dev/skills/dmae97/omk/ponytail-audit)
Your own site
<a href="https://agentmods.dev/skills/dmae97/omk/ponytail-audit"><img src="https://agentmods.dev/badge/skills/dmae97/omk/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/dmae97/omk/ponytail-audit"><img src="https://agentmods.dev/badge/skills/dmae97/omk/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 977 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.00977
Opus 5.5 $0.00042 $0.00391
Sonnet 5.5 $0.00021 $0.00195
Haiku 4.5 $0.00011 $0.00098

Measured 1mo ago against content hash 1c336e3f5e38, 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.

.omk/skills/ponytail-audit/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.


OMK Vendoring Notice

This skill is vendored from the upstream Ponytail project (npm: @dietrichgebert/ponytail) as a pure markdown OMK skill, copied unmodified in substance from skills/ponytail-audit/SKILL.md at pinned commit 40e50d9 (full SHA 40e50d9e03242aa5dd53ac771950f9127362b25f).

  • License: MIT. Copyright (c) 2026 DietrichGebert. Full text: ../ponytail/LICENSE (this repo's vendored copy, kept alongside the primary ponytail skill) and the upstream LICENSE file at the pinned commit.
  • Scope: only the six skills/*/SKILL.md files were vendored. Upstream's Node/Python extension code (pi-extension/, hooks/*.js, ponytail-mcp/), the Hermes Agent plugin (__init__.py, plugin.yaml), command/hook manifests, and marketplace/CI tooling are not included in OMK. Nothing in this skill executes code; it is inert markdown loaded into the system prompt.
  • Invocation in OMK: use /skill:ponytail-audit or !skill:ponytail-audit (shorthand !ponytail-audit also works when unambiguous), per packages/coding-agent/docs/skills.md. The bare /ponytail-audit slash form referenced above describes the upstream multi-host package's own command surface (Claude Code, Codex, OpenCode, etc.) and is not an OMK command.
  • Updates: this is a static vendored copy, not a live package install. To pick up upstream changes, re-vendor against a newer pinned commit; there is no auto-update mechanism here.

Read the full file on GitHub · 74 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 First seen · 74 lines · 105 tokens per session scan A 1c336e3f5e38

Subscribe to this mod's changes

ponytail-audit is a skill published in the GitHub repository dmae97/omk (148 stars, last pushed yesterday), licensed MIT. It adds 105 tokens to every session and 977 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-08-30.