ponytail-audit

ponytail-audit is a skill for Claude Code from SummerSec/SumSec-Skills. It costs 67 tokens per session (330 once invoked), scanned A, original, Apache-2.0.

A whole-repository review for over-engineering, meaning code and dependencies that add complexity without enough benefit.

In plain words
What is it for?
Finding code to delete, simplify, or replace across an entire codebase, then ranking the biggest possible reductions.
Why use it?
It helps identify unnecessary abstractions, duplicate functionality, dead code, and replacements already provided by the standard library or platform.

Skill for Claude Code

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

Part of the dev-tools plugin — 10 skills shipped together

Good fit Finding code to delete, simplify, or replace across an entire codebase, then ranking the biggest possible reductions.

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

Made for: Claude Code.

Or install dev-tools, the plugin that ships this one along with the rest of its 10 skills.

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/summersec/sumsec-skills/ponytail-audit/github.svg)](https://agentmods.dev/skills/summersec/sumsec-skills/ponytail-audit)
Your own site
<a href="https://agentmods.dev/skills/summersec/sumsec-skills/ponytail-audit"><img src="https://agentmods.dev/badge/skills/summersec/sumsec-skills/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/summersec/sumsec-skills/ponytail-audit"><img src="https://agentmods.dev/badge/skills/summersec/sumsec-skills/ponytail-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 330 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.00067 $0.00330
Opus 5 $0.00034 $0.00165
Sonnet 5 $0.00013 $0.00066
Haiku 4.5 $0.00007 $0.00033

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

dev-tools/skills/ponytail-audit/SKILL.md · 43 lines

What it actually says

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

Tags

  • delete: dead code, unused flexibility, speculative feature. Replacement: nothing.
  • stdlib: hand-rolled thing the standard library already 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

Look for:

  • dependencies the stdlib or platform already covers
  • single-implementation interfaces
  • factories with one product
  • wrappers that only delegate
  • 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.

If there is nothing to cut, say Lean already. Ship.

Scope: over-engineering only. Correctness, security, and performance are out of scope.

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 · 43 lines · 67 tokens per session scan A 57195ccf1f0c

Subscribe to this mod's changes

ponytail-audit is a skill published in the GitHub repository SummerSec/SumSec-Skills (8 stars, last pushed 25d ago), licensed Apache-2.0. It adds 67 tokens to every session and 330 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

audit-playbook

A code-security audit playbook covering source-code review, runtime checks, software dependencies, deployment settings, and AI-agent security risks.

SeaOf0/dsh-redteam-model · 155 tokens

ipollowork-maintainable-code

Mandatory iPolloWork code-change gate for modern, minimal, performant, reuse-first implementation and clean repository ownership. Use whenever AI creates, edits, deletes, or refactors application code, server code, packages, scripts, tests, dependencies, schemas, routes, UI, or generated-file workflows. Reuse existing…

Devin-AXIS/iPolloWork · 104 tokens

github-publish-changes

Publish intentional local changes by confirming scope, creating a branch when needed, staging selected files, committing, pushing, and creating a Draft Pull Request through the connected GitHub service.

Devin-AXIS/iPolloWork · 41 tokens

github

Use the connected iPolloWork GitHub service to inspect repositories, pull requests, issues, reviews, and Actions, then route focused work to the review, CI, or publish skill.

Devin-AXIS/iPolloWork · 40 tokens

github-review-follow-up

Inspect unresolved GitHub pull request review threads, group actionable feedback, implement selected fixes locally, and only reply or resolve threads after explicit user intent.

Devin-AXIS/iPolloWork · 34 tokens

linear-issue-delivery

Keep a Linear issue aligned with implementation evidence, acceptance criteria, code review, and deployment state while avoiding premature completion claims.

Devin-AXIS/iPolloWork · 30 tokens