What Is Ponytail? The Plugin That Stops Coding Agents From Writing Unneeded Code: Install, Commands and the Maker's Benchmark
You install Ponytail into a coding agent such as Claude Code or Codex; the agent then works under the rule "write the smallest change that fully solves the task": before writing code it checks what already exists in the project, the standard library and installed dependencies, adds no unrequested features or abstractions, but does not cut validation, error handling, security or accessibility. It also has a change review command (/ponytail-review) and a repository audit command (/ponytail-audit). According to the maker's measurement in Claude Code, code went down 53% and cost 26%. Free and open source (MIT); no Turkish interface, and its behavior with Turkish replies is not stated in the official documentation.
- What it does
- Makes a coding agent write the smallest change that solves the task
- Type
- Plugin (6 skills + hooks)
- Where
- Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI and others
- Maker's benchmark
- -53% code, -26% cost (Claude Code, 39 tasks)
- Turkish
- Not stated in the official documentation
- Latest version
- 5.3.2 (16.10.2026)
- Price
- Free, MIT; agent costs are separate
What does Ponytail do?
When you give a coding agent (Claude Code, Codex, Cursor) a small job, you often get a bigger change than you expected: a new library, settings you never asked for, classes written "in case they're needed later." Reading, testing and then maintaining them falls to you, and every extra line spends the agent's tokens, that is, your money. Ponytail tackles this by loading a single rule set into the agent: solve the job fully, but with the least new code.
Who it helps: developers, agencies and teams who write code with agents; especially those tired of reviewing bloated agent changes and those who want to lower agent costs. What it doesn't do: it doesn't write code itself and isn't an agent; it's an instruction pack that changes how the agent you use writes. In the README's words, Ponytail is "a single prompt" (skills/ponytail/SKILL.md); everything else in the repository loads that prompt into different agents.
Source: Ponytail README and skills/ponytail/SKILL.md (5.3.2), October 29, 2026.
What's in the Ponytail package?
| Part | Type | What it does |
|---|---|---|
| ponytail | Skill (main rule) | The smallest complete change rule; /ponytail switches the level |
| ponytail-review | Skill / command | Change review: bugs, security, load, missing tests, speed, unneeded code |
| ponytail-audit | Skill / command | The same check for the whole repository, by severity; doesn't change code |
| ponytail-debt | Skill / command | Collects shortcut: comments into a debt ledger; doesn't change code |
| ponytail-gain | Skill / command | Shows the maker's benchmark table |
| ponytail-help | Skill / command | Quick reference for levels and commands |
| Lifecycle hooks | Hook (Node.js) | Loads the rule at session start, catches level commands in the prompt, adds the rule to subagents |
| Band and board | Claude Code UI module | Cost, tokens, time, reuse and test status above the prompt; a local dashboard |
| AGENTS.md and rule files | Instruction file | An always-on rule for agents without plugin support |
Since version 5.3, a strip appears above the prompt box in Claude Code: the task's cost, tokens, agent time, how often existing code was reused and whether tests passed after the last change. The board is a local page showing the tasks across all your projects. /ponytail band hides or restores the strip; /ponytail band import adds past Claude Code sessions to the board.
Requires Claude Code 2.1.290 or newer; it shows in the terminal and the desktop app, but not in the VS Code chat panel, cloud sessions or with claude -p.
!Don't install Ponytail into the same agent two ways (e.g. the Claude Code plugin and the Skills CLI); the same skill then comes from two sources and it gets hard to track which one is in effect.
Does Ponytail really cut code and cost? The maker's benchmark
The figures below are the maker's own measurement (report dated October 7, 2026). The same agent, with and without Ponytail, ran 39 tasks in headless (no-screen) Claude Code sessions, each task 5 times (585 sessions). 12 of the tasks were feature requests in a real FastAPI + React repository, 18 were bug-fix and security tasks with hidden checks, and 9 were small app and sample requests.
| Metric (vs. the agent without Ponytail) | Ponytail 5 |
|---|---|
| Lines of code | -%53 |
| Cost | -26% (cheaper in 30 of 38 tasks) |
| Time | -%41 |
| Output tokens | -%45 |
| Average cost per session (list price) | $0.142 instead of $0.200 |
| Passing hidden checks (18 tasks × 5) | 87/90; without Ponytail 86/90 |
| Leaving a test where logic needs one | 98%; without Ponytail 68% |
!The maker ran the benchmark, and it covers only Claude Code, a single Claude model and a setup with shell commands turned off. The report doesn't say it will give the same result in Codex, Cursor or another model. To see the difference in your own project, run the same job with Ponytail on and off (/ponytail off) and compare the size of the change and the bill.
The report says shorter code didn't lower correctness either: in the six tasks of the earlier security tier (safe-path, sql-user, auth-token, rate-limit, csv-sum, cache) all three arms passed 30 out of 30 runs. The report also says "less code didn't raise correctness either; the three arms are equal."
Source: benchmarks/results/2026-10-07-agentic.md (Ponytail repository). The method and per-task tables are in the report; the experiment can be rerun.
How do you install Ponytail?
No account or API key is needed; the coding agent that will run Ponytail is enough. Because the Claude Code and Codex plugin runs small Node.js scripts (hooks) every session, Node.js must be installed on your computer and on the PATH. The commands are taken verbatim from the official README and INSTALL.md.
› /plugin marketplace add DietrichGebert/ponytail› /plugin install ponytail@ponytail- INSTALL.md says the two commands must be sent as two separate prompts; if you send them in one message, the install doesn't happen.
- In the Code tab of the Claude Code desktop app you type the same two commands, or use + › Plugins › Add plugin.
- After installing, Ponytail turns on by itself every session at the default "full" level.
› /plugin marketplace add DietrichGebert/ponytail#v5.3.2The untagged command pulls the repository's main branch; the main branch keeps being updated after the latest release (5.3.2). According to the Claude Code docs, auto-update is off by default for third-party marketplaces.
› codex plugin marketplace add DietrichGebert/ponytail
codex plugin add ponytail@ponytail- Run codex, open the /hooks screen, review Ponytail's two hooks and trust them.
- Start a new thread. In the Codex desktop app, restarting the app is enough.
› copilot plugin marketplace add DietrichGebert/ponytail
copilot plugin install ponytail@ponytail› gemini extensions install https://github.com/DietrichGebert/ponytailIn Copilot CLI, commands start with the plugin name: /ponytail:ponytail ultra, /ponytail:ponytail-review.
› git clone https://github.com/DietrichGebert/ponytail
node ponytail/scripts/cursor-hooks.js installSimpler route: copy the repository's .cursor/rules/ponytail.mdc rule file into your project. Don't use both together: while the rule file is in the workspace, the hooks are disabled. In Cursor, subagents and cloud agents don't get the rule.
In tools that read rule files, such as Windsurf, Cline, Copilot Chat in VS Code, Aider, Kiro and Zed, you copy the repository's AGENTS.md or the tool-specific rule file into your project. This route has no commands or levels, only the always-on rule.
› npx skills add DietrichGebert/ponytailINSTALL.md also gives separate commands for OpenCode, Pi, Kimi Code, Devin CLI, Antigravity CLI, Hermes Agent, Qoder, Grok Build, Goose and OpenClaw. Compatibility with these agents is stated only in the Ponytail documentation.
!Install only from the DietrichGebert/ponytail repository on GitHub or the @dietrichgebert/ponytail package on npm; the README says the project never distributes .exe or .dll files.
How do you use Ponytail? Examples and levels
After installing, you don't need to type anything extra: you give the agent its job as usual, and the Ponytail rule applies in the background. The outputs of the examples below are described as far as the Ponytail documentation explains them.
| Level | What it does |
|---|---|
| lite | Does what's asked; mentions the smaller option in one line, you choose |
| full (default) | All the rules: the smallest complete change |
| ultra | Also questions the request itself and objects to unneeded parts |
| off | Ponytail off |
To change the default level for every session, use the PONYTAIL_DEFAULT_MODE environment variable or the defaultMode field in ~/.config/ponytail/config.json (on Windows %APPDATA%\ponytail\config.json).
Ponytail marks the shortcuts it deliberately leaves in code with a shortcut: <limit>, <when to upgrade> comment; /ponytail-debt gathers them into a single list. In Codex, commands are called with the plugin name: $ponytail:ponytail-review.
Which agents does Ponytail work in? Codex, Cursor, Copilot
| Claude CodeYes | Plugin: rule, 6 commands, levels, injection into subagents and the band. The benchmark was run in this environment. |
|---|---|
| Codex (CLI, IDE extension, desktop)Yes | Plugin: rule, commands (in the $ponytail:ponytail-review form), levels. No band. |
| GitHub Copilot CLI, Gemini CLI, OpenCode, PiYes | Rule and commands as a plugin or extension; Gemini CLI doesn't use the level hooks. |
| CursorPartly | Rule and /ponytail level switching via the hook install; no other commands. Subagents and cloud agents don't get the rule. |
| Windsurf, Cline, VS Code Copilot Chat, Aider, Kiro, ZedPartly | Rule file only: always-on rule, no commands or levels. |
Source: README "Commands" and INSTALL.md (October 29, 2026). Compatibility is stated in the Ponytail documentation; the agents' own docs don't mention it separately.
What does Ponytail write to my files, and does it send data online?
- Project code the agent already reads
- Session info and the status line setting in ~/.claude/settings.json
- Only if you run /ponytail band import: cost, time and tokens from past Claude Code session logs
- A level flag and a copy of the status line script under ~/.claude
- ~/.config/ponytail/config.json if you set a default level
- In Claude Code, ~/.config/ponytail/band/<project>.csv after every turn (can be turned off in the plugin settings)
- The agent writes project files at your request; Ponytail grants no extra write permission
In Claude Code and Codex, small Node.js scripts (hooks) run at session start, on every prompt and at every subagent start. In the first session it tells the agent to offer to add the status line to settings.json; if you decline, that setting isn't written.
Not by default: band data stays on your computer. If you enter a webhook address in the plugin settings, after every turn the task row (cost, tokens, time) and, by default, the task name go to that https address (turn off task names with the "Send task names" setting); the token is kept in the system keychain.
!This information is compiled from files in the official repository and is not a security audit. The repository has no security reporting page (SECURITY.md), and no security advisory has been published on GitHub.
Is Ponytail free?
Yes. Ponytail is free and open source (MIT license); there's no account, credits or subscription. The cost is whatever the agent you run Ponytail in charges: a Claude plan or API account for Claude Code, an OpenAI plan for Codex. The project site has no paid product or pricing page.
- Using, copying, modifying and distributing it in commercial projects (MIT)
- Removing the copyright and license notice from copies
- The software is provided "as is"; the developer gives no warranty
Source: LICENSE (MIT, 2026). This is not legal advice.
Does Ponytail work in Turkish?
| Use with Turkish requestsUnclear | Not stated in the official documentation. The rule is written in English and says nothing about reply language; when you write to the agent in Turkish, the agent you use decides the reply language. |
|---|---|
| Turkish documentationNo | The README is translated into Spanish, Korean, Chinese and Japanese; there's no Turkish translation. |
| InterfaceNo | It has no interface of its own; you use the agent's interface. |
Common problems and fixes
| What happens | What to do |
|---|---|
| The install didn't happen in Claude Code | Send the two /plugin commands separately, as two prompts. |
| "node: command not found" error on every hook call | Install Node.js or add it to the non-interactive shell's PATH (common with nvm and Nix users). The skills still work despite the error. |
| The rule doesn't load in Codex | Trust the two hooks on the /hooks screen and open a new thread; restart the desktop app. |
| The band strip doesn't show | Requires Claude Code 2.1.290 or newer; it isn't shown in the VS Code chat panel, cloud sessions or claude -p. It may have been hidden with /ponytail band. |
| In Cursor, the /ponytail command gives a "notice" reply | While the .cursor/rules/ponytail.mdc rule file is in the workspace, hooks are disabled; if you want to manage it with hooks, delete the rule file. |
| After uninstalling, the status line still shows the old level | node scripts/uninstall.js should have been run before uninstalling; clean up by running that script from a separate copy. |
How do you uninstall Ponytail?
- First, the cleanup script.
node scripts/uninstall.jsin the plugin folder deletes the level flag, the settings file, the status line script copy and (if it points to its own script) the statusLine entry in settings.json. INSTALL.md tells you to run it BEFORE the uninstall command; because the script lives inside the plugin, uninstalling the plugin first deletes the script too. The band dashboard data (~/.config/ponytail/band/) stays in place after the script; if you don't want it, delete the folder yourself. - Then uninstall the plugin. The commands below are from INSTALL.md.
| Where | Command |
|---|---|
| Claude Code | /plugin remove ponytail |
| Codex | codex plugin remove ponytail |
| Skills CLI | npx skills remove ponytail ponytail-audit ponytail-debt ponytail-gain ponytail-help ponytail-review |
| Cursor hooks | node scripts/cursor-hooks.js uninstall |
| Rule file route | Delete the rule file you copied |
Frequently asked questions
What is Ponytail and what is it for?
A free, open-source rule pack that makes a coding agent write the smallest change that fully solves the task. The agent first uses what the project already has and the standard library, adds no unrequested features, and doesn't cut validation, security or error handling.
Is Ponytail a skill or a plugin?
Both. Its core is a single skill file, but it installs into Claude Code and Codex as a plugin carrying 6 skills, lifecycle hooks and a cost strip in Claude Code. In agents without plugin support, only the rule file is used.
How do you install Ponytail in Claude Code?
First type /plugin marketplace add DietrichGebert/ponytail, then in a separate prompt /plugin install ponytail@ponytail. Node.js must be installed for the hooks. After installing, it turns on by itself every session.
Does Ponytail work in Codex?
Yes. It installs with codex plugin marketplace add DietrichGebert/ponytail and codex plugin add ponytail@ponytail; you trust the two hooks on the /hooks screen and open a new thread. Commands are called in the $ponytail:ponytail-review form.
Does Ponytail really cut code and cost?
According to the maker's measurement dated October 7, 2026, across 39 tasks in Claude Code, code went down 53 percent, cost 26 percent and time 41 percent, and the hidden-check pass rate didn't drop. The benchmark covers only Claude Code; compare by trying it on and off in your own project.
What does /ponytail-review do?
It reviews the latest change for bugs, security, behavior under load, missing tests, speed and unneeded code. It reads not just the diff but also the code the change touches; for each finding it writes the problem, the fix and what happens if it isn't fixed.
Is Ponytail free?
Yes, MIT-licensed and free. The cost depends on your coding agent's plan or API usage.
Which is Ponytail's official repository?
The DietrichGebert/ponytail repository on GitHub and the @dietrichgebert/ponytail package on npm. The README says not to install from any other source and that the project never distributes exe or dll files.
Related guides
Sources
- Ponytail README
- INSTALL.md (install and uninstall per agent)
- Main rule: skills/ponytail/SKILL.md
- ponytail-review SKILL.md
- ponytail-audit SKILL.md
- Plugin definition (.claude-plugin/plugin.json)
- Hook definition (hooks/claude-codex-hooks.json)
- The maker's benchmark report (October 7, 2026)
- Release 5.3.2
- License (MIT)
- Project site
- Claude Code: plugin discovery, pinning and auto-update
Not clear in the official sources: Ponytail's behavior with Turkish requests · whether the benchmark holds in Codex, Cursor and other models (the report covers only Claude Code) · compatibility for agents on the rule-file route (Copilot Chat, Windsurf, Cline…) being stated in those agents' own docs. Each is covered in the relevant section along with what you can do.





