ponytail-review

ponytail-review is a skill for Claude Code, Codex from Wenaixi/dsh-ponytail. It costs 100 tokens per session (576 once invoked), scanned A, original, MIT.

A code-review method that looks only for unnecessary complexity and things that can be removed. It does not review correctness, security, or performance.

In plain words
What is it for?
Reviewing a code diff for deletions and simpler replacements, with each finding tied to a file location.
Why use it?
It helps keep changes small by finding duplicate standard-library code, unnecessary dependencies, speculative abstractions, and unused flexibility.

Skill for Claude CodeCodex

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

Good fit Reviewing a code diff for deletions and simpler replacements, with each finding tied to a file location.

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

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-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenaixi/dsh-ponytail/ponytail-review"><img src="https://agentmods.dev/badge/skills/wenaixi/dsh-ponytail/ponytail-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 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.00100 $0.00576
Opus 5.5 $0.00040 $0.00230
Sonnet 5.5 $0.00020 $0.00115
Haiku 4.5 $0.00010 $0.00058

Measured 21d ago against content hash 40df33b58fc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ponytail-review 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 21d 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.

skills/ponytail-review/SKILL.md · 58 lines

What it actually says

Review diffs for unnecessary complexity. One line per finding: location, what to cut, what replaces it. The diff's best outcome is getting shorter.

Format

L<line>: <tag> <what>. <replacement>., or <file>:L<line>: ... for multi-file diffs.

Tags:

  • 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.

Examples

❌ "This EmailValidator class might be more complex than necessary, have you considered whether all these validation rules are needed at this stage?"

✅ L12-38: stdlib: 27-line validator class. "@" in email, 1 line, real validation is the confirmation mail.

✅ L4: native: moment.js imported for one format call. Intl.DateTimeFormat, 0 deps.

✅ repo.py:L88: yagni: AbstractRepository with one implementation. Inline it until a second one exists.

✅ L52-71: delete: retry wrapper around an idempotent local call. Nothing replaces it.

✅ L30-44: shrink: manual loop builds dict. dict(zip(keys, values)), 1 line.

Scoring

End with the only metric that matters: net: -<N> lines possible.

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

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, not this one. A single smoke test or assert-based self-check is the ponytail minimum, not bloat, never flag it for deletion. Does not apply the fixes, only lists them. "stop ponytail-review" or "normal mode": revert to verbose review style.

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. 21d ago Changed · +12 lines · -16 tokens per session 40df33b58fc6
  2. 1mo ago First seen · 46 lines · 116 tokens per session scan A c3559c885a81

Subscribe to this mod's changes

ponytail-review is a skill published in the GitHub repository Wenaixi/dsh-ponytail (31 stars, last pushed 3d ago), licensed MIT. It adds 100 tokens to every session and 576 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-31.

Related

Other skills, from other repositories

delivery-review

Adversarial self-review before delivery. Use once the implementation reaches green and before you declare the work done — assume the delivery fails its own spec, hunt for the strongest supportable objections, answer them, and re-review after fixes.

PerryLink/dsh-doublecheck · 50 tokens

code2skill-review-source

A read-only review skill for checking whether a Code2Skill-generated result matches the source code it was authorized to use. It examines request handling, tool handoffs, transformations, authentication, and attachments.

leechen298/Code2Skill · 52 tokens

evo-memory-review

Review and curate an evo-subagent role's prefercmd.md and memory.md using evidence from actual runs. Use when evolution entries are stale, duplicated, contradictory, or too noisy.

ZekaiShi/evo-subagent · 41 tokens

code-review-zh

A Git-based code review workflow that compares changes from a chosen commit, branch, tag, or merge point. It checks both whether the code follows the repository's written standards and whether it implements the requested specification.

gongyijie85/mattpocock-skills-dsh-zh · 109 tokens

improve-codebase-architecture-zh

A codebase architecture review that scans for modules that hide useful complexity poorly, then produces a visual HTML report and discusses one selected finding in depth.

gongyijie85/mattpocock-skills-dsh-zh · 52 tokens

implement-zh

An implementation workflow for completing work described in a specification or tickets. It encourages test-first development where appropriate, runs checks during the work, and ends with review and a commit.

gongyijie85/mattpocock-skills-dsh-zh · 16 tokens