{"slug": "how-to-install-ponytail-in-claude-code-codex-and-cursor", "title": "How to install Ponytail in Claude Code, Codex and Cursor", "summary": "A developer guide published 2026-11-28 details how to install Ponytail, a prompt skill that makes coding agents reuse existing code and prefer the standard library, into Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI. The author's benchmark in Claude Code on 39 tasks with five runs each found Ponytail 5 wrote 47% of the code, used 55% of the output tokens, cost 74% as much and took 59% of the time versus a no-skill baseline, while risky logic shipped with a test 98% of the time against 68% without it. Claude Code users run `/plugin marketplace add DietrichGebert/ponytail` then `/plugin install ponytail@ponytail`, Codex users run the equivalent `codex plugin` commands and trust two hooks under `/hooks`, and other agents take the repo's `AGENTS.md` or `skills/ponytail/SKILL.md`.", "body_md": "[Dev blog](https://calyban.com/blog) · [Guides](https://calyban.com/blog#guide) · 2026-11-28\n\n# How to install Ponytail in Claude Code, Codex and Cursor\n\n**Short answer:** in Claude Code, run `/plugin marketplace add DietrichGebert/ponytail`, then `/plugin install ponytail@ponytail`. In Codex, run `codex plugin marketplace add DietrichGebert/ponytail` and `codex plugin add ponytail@ponytail`, then trust its two hooks under `/hooks`. Other agents take the skill file or the `AGENTS.md` ruleset.\n\nOr do it in one click for every agent at once: [Calyban](https://calyban.com/) installs Ponytail into Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI from the real `DietrichGebert/ponytail` repo, safety-checked first. Free, no account.\n\nPonytail is one prompt that turns your agent into a lazy senior developer: reuse what’s already in the codebase, prefer the standard library, write one line instead of fifty, and never cut validation, error handling or security to get there. It’s one of the most-starred skill repos on GitHub (about 200,000 stars as we write this).\n\n## What does it change?\n\nThe author benchmarked it in Claude Code on 39 tasks, five runs each, with and without the skill. Against the no-skill baseline, Ponytail 5 wrote 47% of the code, used 55% of the output tokens, cost 74% as much and took 59% of the time. Risky logic shipped with a test 98% of the time, against 68% without it. The full method is in the repo’s [benchmark write-up](https://github.com/DietrichGebert/ponytail).\n\nIn practice: fewer new helper files, fewer abstractions nobody asked for, and replies short enough to read in one pass.\n\n## Claude Code\n\nTwo separate prompts inside a session:\n\n```\n/plugin marketplace add DietrichGebert/ponytail\n/plugin install ponytail@ponytail\n```\n\nIt’s on for every session after that. `/ponytail lite`, `/ponytail full` and `/ponytail ultra` change how hard it pushes, and `/ponytail off` turns it off. In Claude Code 2.1.290 and later it also shows a small band above the prompt with the task’s cost, tokens and test status; `/ponytail band` hides it.\n\n## Codex\n\n```\ncodex plugin marketplace add DietrichGebert/ponytail\ncodex plugin add ponytail@ponytail\n```\n\nOpen `/hooks` in Codex, trust the plugin’s two lifecycle hooks, and start a new thread. Commands are namespaced there, so the review is `$ponytail:ponytail-review`.\n\n## Cursor, Copilot, Gemini CLI and the rest\n\nCopy the repo’s `AGENTS.md` into your project, or install `skills/ponytail/SKILL.md` as a skill in the agent’s skills folder. Cursor and Copilot get the always-on rules without the slash commands.\n\n## The commands worth knowing\n\n- `/ponytail-review` reviews your current change like the person who gets paged when it breaks: bugs, security, load, untested risky code and what to cut.\n- `/ponytail-audit` does the same for the whole repo and ranks what to fix first.\n- `/ponytail-debt` collects the`shortcut:` comments you left so “later” doesn’t turn into “never”.\n\n## One safety note from the author\n\nOnly install Ponytail from `DietrichGebert/ponytail` on GitHub or `@dietrichgebert/ponytail` on npm. The README says it never ships `.exe` or `.dll` files, and a copy that does isn’t real. Popular repos attract lookalikes; this one is popular.\n\n## The Calyban way\n\nCalyban has Ponytail three ways. The [plugin](https://calyban.com/plugins/ponytail-ponytail) installs through Claude Code’s and Codex’s own plugin commands. The [skill](https://calyban.com/skills/dietrichgebert-ponytail) copies the prompt into any skill-capable agent’s folder. And the [full collection kit](https://calyban.com/kits/collection-dietrichgebert-ponytail) puts the skill and its companion skills (review, audit, debt, gain and help) into Claude Code, Codex, Cursor, Copilot and Gemini CLI in one go. Each one is downloaded from `DietrichGebert/ponytail` at a pinned commit and safety-checked first, which settles the lookalike question for you.\n\nCalyban is free for Windows and Linux at [/#download](https://calyban.com/#download). Show us your before and after diffs on [Discord](https://discord.gg/pHDNtgYvWn).", "url": "https://wpnews.pro/news/how-to-install-ponytail-in-claude-code-codex-and-cursor", "canonical_source": "https://calyban.com/blog/install-ponytail-skill", "published_at": "2026-11-28 00:00:00+00:00", "updated_at": "2026-11-29 06:14:48.840692+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Ponytail", "Claude Code", "Codex", "Cursor", "GitHub Copilot", "Gemini CLI", "DietrichGebert", "Calyban"], "also_reported_by": [], "takeaway": "In the author's Claude Code benchmark of 39 tasks run five times each, Ponytail 5 cut output tokens to 55% and cost to 74% of the no-skill baseline while raising test coverage of risky logic from 68% to 98%.", "recommendation": {"advice": "Install the Ponytail skill from DietrichGebert/ponytail to cut agent output tokens to 55% and cost to 74% of baseline, but keep validation, error handling and security intact.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/how-to-install-ponytail-in-claude-code-codex-and-cursor", "markdown": "https://wpnews.pro/news/how-to-install-ponytail-in-claude-code-codex-and-cursor.md", "text": "https://wpnews.pro/news/how-to-install-ponytail-in-claude-code-codex-and-cursor.txt", "jsonld": "https://wpnews.pro/news/how-to-install-ponytail-in-claude-code-codex-and-cursor.jsonld"}}