Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
★ 188,018⑂ 10,434👁 438⑃ 889● 478▤ 30◈ 0
188,018
stars
+857+5,267
10,434
forks
438
watchers
889
prs
478
issues
30
releases
0
discussions
README
Ponytail
He says nothing. He writes one line. It works.
Ponytail 5: rebuilt from the ground up.
-53% code · -41% time · -26% cost · -45% tokens
And yet: 98% of risky logic ships with a test. Without Ponytail: 68%.
Benchmarked in Claude Code, the same agent with and without the skill: 39 tasks including a real FastAPI + React repo, Opus 5.5, 5 runs each. Details.
Español · 한국어 · 简体中文 · 日本語
---
Already built with Ponytail
---
You know him. Long ponytail. Oval glasses. Has been at the company longer than the version control. You show him fifty lines; he looks at them, says nothing, and replaces them with one.
Ponytail puts him inside your AI agent.
Numbers
Two things the chart does not show: in a blind comparison, Ponytail 5's replies beat the previous Ponytail's 110 to 67. And on the six security tasks (SQL injection, path traversal, forged tokens, rate limiting, malformed CSV rows, caching) it passed all 30 runs: less code, no less safe. Method, per-task tables and limits: benchmarks/results/2026-10-07-agentic.md.
The rule was never "fewest tokens." It is: write only what the task needs, and never cut validation, error handling, security, or accessibility. The code ends up small because it is necessary, not golfed. Lower cost and latency are a side effect.
Before / after
You ask for a date picker. Without Ponytail, the agent installs a date picker library or builds a whole calendar by hand: 335 lines. Ponytail 5 first looks at what is already there: the repo has an Input component, and every browser has a date picker. It puts the two together. 10 lines.
More survivors in examples/.
The review, rebuilt
/ponytail-review used to look only for code to cut. Now it reviews like the senior dev who gets paged when it breaks: it reads the code your change touches, not just the diff, and checks 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.
The audit, rebuilt
/ponytail-audit runs the same checks on the whole repo. It maps the code first: entry points, how data moves, what load the project expects. Then it ranks what it finds and tells you what to fix first. The old audit only listed what to delete.
New in 5.3: the band
In Claude Code, ponytail now shows a band above the prompt: what the current task costs, how many tokens and how much agent time it used, how often it reused existing code instead of writing new code, and whether the tests passed after the last change. Its buttons switch the level, run /ponytail-review or /ponytail-audit, copy the task as Markdown, and fold the band into one line. Don't want it? /ponytail band hides it, the same command brings it back. Needs Claude Code 2.1.290 or later, in the terminal or the desktTop issues
#1085Error installing in Hermes Agent5 comments · 2026-10-09#1183Band: compact mode spreads over several lines in the Claude Code desktop app3 comments · 2026-10-19#1310Hidden band still runs all its work: `git grep --untracked` blocks `/clear`, board rebuilt every turn2 comments · 2026-10-29#1191Band on Windows: project name keeps the full path, so each project gets two ledgers and shows twice on the board2 comments · 2026-10-20#1356Some feedback after using the plugin for a couple months1 comments · 2026-11-05#1318SessionStart on resume resets the level to the default and re-sends the ruleset (compact already keeps the level)1 comments · 2026-10-29#1225Observation: context retention degradation when Ponytail v5.3.2 is active (recovers immediately when disabled)1 comments · 2026-10-22#1216Codex on Windows: Ponytail SessionStart loses map on resume and sometimes delivers no context after #1165/#11661 comments · 2026-10-21
Latest release
v5.3.3 v5.3.3 2026-10-29This one cleans up the band. On Team, Enterprise and managed machines the warning on your first prompt is gone, and the band shows your model and session name again. In VS Code it stays on one line, other plugins' commands no longer print under ponytail's name, and the noisy "duplicate?" hint is gone. What's Changed fix(band): show the level again after /clear and /resume by @timofeevAV in https://github.com/DietrichGebert/ponytail/pull/1161 fix(map): raise the git ls-files buffer so large repos keep tracked files by @HyperionBurn in https://github.com/DietrichGebert/ponytail/pull/1156 c
相关报道 (8)
Techapple.comPonytail 讓 AI Agent 學會偷懶 一句代碼就收工2026-10-29INSIDE讓 AI 少寫點廢 code:Ponytail「馬尾哥」技能安裝教學與使用心得2026-06-23alphamatch.aiPonytail:透過少寫程式碼節省 AI Token 的神器2026-06-18InfoQ.cn代理技能 Ponytail 在贡献者提出质疑后修正了自身的基准测试结果2026-08-11Pasquale PillitteriCaveman、Ponytail、rtk、pxpipe 与 headroom:削减 Claude Code 令牌2026-07-11虎嗅Ponytail插件通过少写代码策略节省Token消耗,实测成本降低47-77%2026-06-28电子工程专辑EE Times China幽默,一个 GitHub 项目叫“马尾辫”,还能帮你省 token2026-06-22Pasquale PillitteriPonytail:让 AI 少写 54% 代码的技能2026-06-21
News & coverage (8)
Hacker NewsPonytail – make your AI agent think like the laziest senior dev in the room▲ 98 · 17 comments · 2026-06-14xponytail Ponytail is an AI agent skill that reduces code, cost, and time by prompting models to write minimal, well-tested solutions. JavaScript ⭐ 171459 ...2026-10-21InfoQPonytail Agent Skill Corrects its Own Benchmark after Contributor Challenge2026-08-05alphamatch.aiPonytail: The AI Coding Skill That Saves Tokens by Writing Less Code2026-06-18TechTargetWhat repos are trending on GitHub?2026-09-21Pasquale PillitteriCaveman vs Ponytail vs rtk vs pxpipe vs headroom: Cut Claude Code Tokens2026-07-11Pasquale PillitteriPonytail: the AI Skill That Cuts 54% of the Code2026-06-21YouTubeI Hosted My Own AI Model. Here's the Bill.2026-06-21