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.
Up next
Perplexity Computer adds Fast mode for Claude Opus 4.8
Perplexity Computer now has Fast mode for Claude Opus 4.8, with the Opus 4.8 support backed by headsupai.io and gadgetbond.com. It also reportedly added Seedream 5 for image generation, so far confirmed only by the original social post.
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%
- A Claude Code mod that reverts its own failed ideas
- 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
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

