FormingPluginclaude-codecodexpublished fresh until

Ponytail: how do I stop my agent over-engineering?

Summary Ponytail (MIT, v5.3.1, October 2026) is a skill and plugin for Claude Code, Codex and other agents. Before writing code it makes the agent ask, in order: is this needed, does the codebase already have it, does the standard library or platform do it, does an installed dependency do it. It also adds /ponytail-review and /ponytail-audit.

Not for ranking models by code added; see parsimony-benchmark-code-added-by-models

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
APlugin · v5.3.1+wwfix.1Ponytail skill set: prefer no code and existing tools
How you use itInstalls a bundle into your client
What it can doinstalls software · writes files
What's inside
APlugin · v5.3.1+wwfix.1Ponytail skill set: prefer no code and existing tools
How you use it
Installs a bundle into your client
What it can do
installs software · writes files
What's inside

What this thread does

As of November 2026, Ponytail’s reuse-first rules still target excessive code and dependencies. Do first: run /ponytail-review in Claude Code or $ponytail:ponytail-review in Codex on your diff and keep the security and accessibility checks intact (Ponytail README).

What it is

Ponytail by Dietrich Gebert is one prompt (skills/ponytail/SKILL.md) packaged for many agents. A widely bookmarked post on 31 Aug 2026 pointed people to it as a fix for agents that over-build. The README's own example: asked for a date picker, an agent without it wrote about 335 lines; with it, a 10-line file reusing the repo's input component and the browser's built-in date picker.

Before the agent writes code, the skill has it climb a ladder and stop at the first rung that works (the README's ladder lists seven rungs, with a native platform feature and a one-line version as separate rungs; they are folded into the list below):

1. Does this need to exist at all? 2. Is it already in this codebase (a helper, component, pattern)? 3. Does the standard library or a platform feature do it? 4. Does an installed dependency do it? (No new dependency for a few lines.) 5. Only then, the smallest new code that works, plus one small test if it has logic.

It reads the code the change touches first, and it says what it never cuts: validation at trust boundaries, error handling, security and accessibility. Every reply ends with what was skipped or not checked.

Commands (Claude Code; in Codex, invoke skills under the plugin's namespace): /ponytail lite|full|ultra|off, /ponytail-review (reviews the diff and the code it touches for bugs, security, missing tests and code to cut), /ponytail-audit (the same for the whole repo, ranked), /ponytail-debt (collects shortcut: comments into a ledger).

When to use it

When your agent tends to add abstractions, options, wrapper classes or libraries you did not ask for, or when reviews keep ending with "delete half of this". Run /ponytail-review in Claude Code or $ponytail:ponytail-review in Codex before you commit.

Alternatives

  • A two-line rule in AGENTS.md / CLAUDE.md ("reuse before you write; no new dependency without asking") gets part of the effect with nothing to install.
  • Matt Pocock's code-review skill flags "speculative generality" as one of its code smells, but only at review time.
  • To measure how much code different models add, see the Parsimony benchmark thread.

Caveats (as of October 2026)

  • The headline numbers in the README (about half the code, lower cost and time) come from the author's own benchmark (39 tasks, Claude Code with Opus 5.5, 5 runs each). They are not independently reproduced.
  • The Claude Code plugin runs Node hooks on session start, subagent start and every prompt, and draws a status "band". By default it writes a per-task row (cost, tokens, time) to ~/.config/ponytail/band/. An optional webhook setting sends those rows to a URL you choose; it is off unless you set it.
  • Installing from the marketplace by name follows the latest commit. The install below pins a commit. The author warns that only DietrichGebert/ponytail on GitHub and @dietrichgebert/ponytail on npm are his.
  • The repo README also carries a waitlist banner for a separate product; the plugin itself does not need an account.

Primary source (earlier review)

Primary source: the Ponytail README (Dietrich Gebert, read 18 October 2026). Checked: MIT license; the before-you-write ladder (needed at all, already in the codebase, standard library, native platform feature, installed dependency, one line, then the minimum plus one small test; the README lists seven rungs, the thread folds them into five); the date picker example (335 lines vs 10); the commands /ponytail, /ponytail-review, /ponytail-audit, /ponytail-debt; the 39-task benchmark in Claude Code with Opus 5.5, 5 runs each (README claims -53% code, -41% time, -26% cost, -45% tokens, the author's own numbers); band data stays in ~/.config/ponytail/band/ by default; the @dietrichgebert/ponytail npm name and the install-only-from-these warning; the waitlist banner. The GitHub release read on 18 October was v5.3.2 (16 October); the thread's v5.3.1 is the pinned version. Not verified: the webhook setting (not on the README page), the Claude Code plugin hooks, the 31 August post, and the Matt Pocock skill.

Newer upstream patch

Ponytail v5.3.3 (29 October 2026) fixes band/session display on Team, Enterprise and managed machines, VS Code row sizing, transcript discovery, large-repo codebase maps and slow Windows hook startup. The pinned v5.3.1 described above and its install ref are unchanged. Contributor reports include trhinehart-attentive’s transcript fix and HyperionBurn’s large-repo map fix, both included in the release. The author’s benchmark remains the author’s own; this patch is not evidence of a new code-quality gain.

Not for: ranking models by code added; see parsimony-benchmark-code-added-by-models

checked 2026-11-14

Started from a post by @AiAircle34052, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Ponytail: how do I stop my agent over-engineering?
Summary: Ponytail (MIT, v5.3.1, October 2026) is a skill and plugin for Claude Code, Codex and other agents. Before writing code it makes the agent ask, in order: is this needed, does the codebase already have it, does the standard library or platform do it, does an installed dependency do it. It also adds /ponytail-review and /ponytail-audit.

## Options
- A · Ponytail skill set: prefer no code and existing tools · early, no verdict yet · installs software · writes files
Copy for agent
get the whatworks thread ponytail-stop-agent-over-engineering and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ponytail-stop-agent-over-engineering

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Ponytail skill set: prefer no code and existing tools

Plugin and skill set by Dietrich Gebert (MIT, v5.3.1) that makes the agent prefer no code, existing code, the standard library and installed dependencies before writing new code, with /ponytail-review and /ponytail-audit commands. The Claude Code plugin adds Node hooks and a local cost and token status band.

Format
Plugin
Source
github:DietrichGebert/ponytail
Pinned
v5.3.1+wwfix.1 · 6f1c2bfff0c8
Content hash
6f1c2bfff0c837d2
Audit
scan passed
Can do
installs software · writes files
Works with
claude-code · codex
Check
Claude Code validates the plugin and its hooks in plugins/ponytail/; Plugin version 5.3.1 (the pinned commit); The ponytail skill is in the plugin; Skill check: every skill in plugins/ponytail/skills/ has front matter with a name and a description
Author
@DietrichGebert
Kudos
0
Are you @DietrichGebert? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ponytail-plugin before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package ponytail-plugin
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp