A ruleset that makes your AI coding agent write the least code that works: 53% less code, 41% faster, 26% cheaper, and just as correct.
Opus 5.5 on 39 tasks, five runs each: feature tickets in a real repo, tasks with hidden checks, open "build me" requests. No skill = 100%.
Geometric mean of per-task medians. Hidden correctness and safety checks: 96% / 96% / 97% passed.
Validation, error handling, security and accessibility are never simplified away. Method and limits.
and yet
"Add a date picker to the frontend." Same agent, same repo, lines added, median of five runs.
Without Ponytail: a hand-built calendar and date picker, 335 lines. With Ponytail 5: one 10-line file, built on the browser's own <input type="date">.
The repo is React, so the answer stays React. The calendar comes from the browser.
It reads the code first and traces the real flow. Then it climbs. Pick a request:
The old review only looked for code to cut. The new /ponytail-review reads the code your change touches, not just the diff: bugs, security, real load, missing tests, speed, and what to cut. Each finding says what the code does, what goes wrong, how to fix it, and what happens if you don't. /ponytail-audit does the same for the whole repo.
rules = rules.filter(beats_baseline)Every line had to beat the version without it, one change at a time. What did not win, left.
assert parse_price("1,50") == 150A branch, a loop, a parser, money or security leaves one small test. Trivial stays trivial.
// skipped: retries, add when it flakesEvery reply ends with what was left out or not checked, and any risk.
claude · codex · copilot · gemini · piClaude Code, Codex, Copilot, Gemini, Cursor, OpenCode, pi and a dozen more.
/plugin marketplace add DietrichGebert/ponytail /plugin install ponytail@ponytail
$ codex plugin marketplace add DietrichGebert/ponytail $ codex plugin add ponytail@ponytail
$ copilot plugin install ponytail@ponytail$ gemini extensions install github.com/DietrichGebert/ponytail$ pi install git:github.com/DietrichGebert/ponytailCursor, Windsurf, Cline, Kiro, OpenCode, Zed and the rest: INSTALL.md.
Only install from DietrichGebert/ponytail or @dietrichgebert/ponytail on npm.