ponytail cuts up to 94% of the code in Claude Code sessions

The ponytail skill pushes an AI agent to write as little code as possible. Before it implements anything, the agent climbs a ladder of checks (is this even needed, does it already exist in the codebase, does a standard library or a native platform function already solve it) and stops at the first step that fits.
The benchmark ran on real work: a headless Claude Code session editing the full-stack-fastapi-template repo, 12 tasks, the same agent with and without ponytail, n=4, on Haiku 4.5. Against the baseline, ponytail produced 54% less code on average, 22% fewer tokens, 20% cheaper, and 27% faster.
The 94% peak shows up on rebuild tasks: a date picker shrank from 404 to 23 lines, a color picker from 287 to 23. You install it in Claude Code with marketplace add DietrichGebert/ponytail, MIT license.
Related stories
- Context compression cut 39% of tokens and saved almost nothing
- ponytail's token savings: 10.3% off the bill, not the promised 20%
- Claude Code shipped its own TypeScript in npm source maps
- Show HN: Generate a Claude Code or Codex agent fleet from one HTML file
- pairmark races Claude Code against Codex in your repo
- Oh My Subagents keeps Claude Code teams running
Comments
No comments yet. Be the first.
Join the conversation
Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.
