ponytail-review

ponytail-review is a skill for Claude Code from DuanZGit/D-Hub. It costs 134 tokens per session (615 once invoked), scanned A, a copy of ponytail-review, MIT.

只盯过度设计的代码 review。找的是该删掉什么:重造一遍的标准库、用不上的依赖、 为将来准备的投机式抽象、已经死掉的灵活性。每条发现只写一行:位置、砍什么、用什么替代。 用户说 "review for over-engineering"、"what can we delete"、"is this over-engineered"、 "simplify review",或调用 /ponytail-review 时使用。它和盯正确性的常规 review 互补 —— 这个只管复杂度。.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Install with agentmods
npx agentmods add skills/duanzgit/d-hub/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 DuanZGit/D-Hub --skill ponytail-review
Clone the repo
git clone --depth 1 https://github.com/DuanZGit/D-Hub

Made for: Claude Code.

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/duanzgit/d-hub/ponytail-review/github.svg)](https://agentmods.dev/skills/duanzgit/d-hub/ponytail-review)
Your own site
<a href="https://agentmods.dev/skills/duanzgit/d-hub/ponytail-review"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/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/duanzgit/d-hub/ponytail-review"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/ponytail-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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 86% copy Near-identical to another mod 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.00134 $0.00615
Opus 5.5 $0.00054 $0.00246
Sonnet 5.5 $0.00027 $0.00123
Haiku 4.5 $0.00013 $0.00061

Measured today against content hash e3213e10d7ec, 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 today.

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

This is a copy

86% identical to ponytail-review — 117 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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. today First seen · 58 lines · 134 tokens per session scan A e3213e10d7ec

Subscribe to this mod's changes

ponytail-review is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 134 tokens to every session and 615 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to ponytail-review, differing in 117 lines, and is treated as a copy.

Related

ponytail-review compared with skills from other repositories

ponytail-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ponytail-reviewDuanZGit/D-HubSkill0yesterdayMITA134Claude Code
mindosGeminiLight/MindOSSkill70414d agoMITA136Claude Code
superlintmgechev/skillgradeSkill73526d agoMITA0Claude Code, Codex
piznlgis/opengis-skillsSkill7610d agoMITB103Claude Code, Codex
code-reviewrcarmo/piclaw-addonsSkill23yesterdayMITA18Claude Code, Codex
clean-coderenky1025/agent-skillsSkill1128d agoMITA274Claude Code, Codex
api-designthe-open-agent/oss-skillsSkill53mo agoApache-2.0A107Claude Code