REVIEWED & READY TO INSTALL
Ponytail
dietrichgebert/ponytail
A plugin for coding agents such as Claude Code and Codex that encourages reusing existing code, making focused edits, and verifying changes.
STEP BY STEP
How to install Ponytail
The step-by-step guide is right on this page, written for people who have never installed anything from GitHub.
Updated 12/1/2026FREE ACCOUNT
Stuck installing? AI helps, 10 times free
Every new GitHot account gets 5 xu: 10 times pasting an error for AI to show the fix. Plus “My repos” to reopen a repo on your computer, and an email when a repo you wait for gets a guide. Just Google or an email.
- GitHub stars
- 202,360
- Language
- JavaScript
- Trending rank
- #3
- Added
- 12/1/2026
How to install Ponytail, step by step
Work from top to bottom. Each grey box is one command: copy the whole line, paste it into the terminal window and press Enter.
Never used a terminal? Read this first (1 minute)
A terminal is a window where you type commands for your computer. You do not need to understand them, just copy and paste them exactly.
- Windows: press the Windows key, type "PowerShell", then press Enter.
- macOS: press Command + Space, type "Terminal", then press Enter.
- Linux: press Ctrl + Alt + T.
- Copy a command from the guide, right-click inside the window you just opened to paste it (macOS: Command + V), then press Enter.
- Wait for the command to finish (the cursor blinks again on a new line) before running the next one.
Lines starting with # are notes; you do not need to copy them. If red error text appears, check the common errors section at the end of the guide.
1. What is Ponytail?
Ponytail adds a set of coding instructions to a tool such as Claude Code or Codex. It asks the coding agent to read the affected part of a project, look for existing code it can reuse, and make the smallest change that completes the task. The project is open source under the MIT license.
A good fit if
- You already have a project and want your agent to check for existing helpers or components before adding more code.
- You want a review that follows the code you changed into the parts of the project that depend on it.
- You use Claude Code and want to see the tokens, agent time or estimated cost of a session.
If you mainly use a chatbot for questions or writing, your usual chat window is enough. The examples here assume you have a coding tool that can read a folder on your computer.
2. What you need
- A computer and a project you can experiment with. Pick a small project with a documented way to run its tests. A separate copy lets you inspect the changes and return to your starting point.
- Claude Code is Anthropic’s coding tool for working in a project folder. Follow the official setup and sign-in instructions. Ponytail’s statistics band needs Claude Code 2.1.290 or later in the terminal or the desktop app’s Code view.
- Codex is the alternative in this guide if you already do your coding work there. Its setup differs from Claude Code. The project’s installation page also lists the routes for other tools.
- An internet connection to fetch the plugin. Ponytail is free. The account, usage limits and model charges depend on the coding tool you use.
The latest release verified on 1 December 2026 was v5.3.3, released 29 October 2026. It changes how the band measures reuse and restores the model and session name in some managed environments. Release v5.3.3
3. Install Ponytail
Step 1. Open your test project in Claude Code
Start a Claude Code session in your test project folder, or select the folder in the desktop app’s Code view. Check the active folder before continuing. You should see a prompt where you can ask Claude to work on the project.
Step 2. Add the author’s plugin source
Enter the following line at the Claude Code prompt. It points to the author’s GitHub repository.
/plugin marketplace add DietrichGebert/ponytail
Open Marketplaces in the /plugin interface. You should see the Ponytail source once Claude Code finishes registering it. If a managed account blocks that source, ask the person who manages its policy.
Step 3. Install the plugin and confirm it is active
Enter the install command at the Claude Code prompt.
/plugin install ponytail@ponytail
Look for Ponytail on the Installed tab of /plugin. Follow Claude Code’s reload message if one appears, then start a new session in the same project. You can check the active level with the following command.
/ponytail
If Ponytail is already on, the command reports its level. If it is off, the same command turns it back on at its default level. The default is full.
Step 4. Install on Codex if that is your coding tool
Run these two commands in your computer’s terminal. Then open /hooks in Codex, inspect the two Ponytail hooks and trust them if you are comfortable with the source. A hook is a command that runs at a defined moment in a session. Start a new thread so the plugin can load its instructions.
codex plugin marketplace add DietrichGebert/ponytail
codex plugin add ponytail@ponytail
You should see Ponytail in your installed plugins. The stats band shown in the video belongs to Claude Code. Codex exposes Ponytail’s instructions and skills through its own interface.
4. Try it on a small change
Start with a task whose limits you can describe in one or two sentences. If the project has a search screen, ask the agent to locate the message shown when a search has no results. Ask whether different languages share that screen and which files would need to change. You can check that answer against the files before allowing any edit.
After you agree on the scope, pick an easy change to review, such as updating the empty-state text. Ask the agent to run the project’s relevant tests and report what it checked. Use your Git diff viewer to see exactly what changed. Open the affected screen in each supported language and check that the result matches the request.
In Claude Code, run the command below after there is a change to inspect. It looks at the change and the surrounding code it affects. For a review finding, look for a specific input or situation that you can test yourself.
/ponytail-review
To inspect earlier interactive Claude Code sessions, run the command below and open Board from the Ponytail band. Imported rows can show the model, tokens, time and cost. Their test column is blank. The cost may be an estimate based on token usage and the price list.
/ponytail band import
5. Troubleshooting
| What you see | What to check |
|---|---|
| Claude Code cannot find the plugin | Check Marketplaces for the author’s source. Add it first, then run the install command again. |
Your shell rejects a command that starts with /plugin | Enter that command at the Claude Code prompt. The shell commands in this guide are the ones shown for Codex. |
| Ponytail is installed but there is no stats band | Try Claude Code 2.1.290 or later in the terminal or desktop Code view. The project documents that the band is unavailable in cloud sessions, the VS Code chat panel and claude -p. |
| A fresh Codex thread does not pick up the rules | Open /hooks, check the two hooks and trust them if you are comfortable with the source. Start a fresh thread after that change. |
| Test status is empty for older sessions | Imported sessions leave that field blank. For a new change, run the project’s test command and read its result directly. |
6. Update, pause or uninstall
To pause Ponytail in an active Claude Code session, enter the following line. Enter /ponytail again to switch it back on.
/ponytail off
To update the plugin in Claude Code, open /plugin, select the Installed tab, choose Ponytail and select Update now when it is available. Reload the plugin as instructed, then check the version in the installed list.
To remove it from Claude Code, enter:
/plugin remove ponytail
To remove it from Codex, run the following in your terminal:
codex plugin remove ponytail
If a status badge still appears after removing the plugin, see the project’s uninstall notes. They list the state files each tool can leave and explain how to clean up Ponytail’s own settings.
7. Frequently asked questions
Do I need to paste the rules into every repository? The plugin paths above load the rules through the host tool. If your tool supports project instructions only, use the matching entry in Ponytail’s installation guide.
Where is my session history stored? The Ponytail Board stores its statistics locally by default. Your coding tool still processes requests using its own service. Check your workplace rules before opening private repositories in an AI session.
Does Ponytail always make a task cheaper? The author’s benchmark includes tasks that got cheaper and tasks that cost more. Model and session usage matter. For your own comparison, keep the model, starting code and request the same, then run the same checks on each result. Author’s benchmark
Which measurement should I check first? Check whether the result meets the requirement and passes the relevant tests. Then review the change and compare cost and time against another run on the same task.
Written by GitHot and checked against the project's official documentation. If a step is wrong or unclear, message GitHot through the channels at the bottom of the page.
STUCK INSTALLING?
Got an error installing Ponytail? Paste it and AI shows the fix
AI reads this guide and the repo README, explains what the error means and the exact commands to fix it.
New accounts get 5 xu: 10 free questions. After that 2 xu for 5.
SEE WHY IT'S HOT
Watch the original review
Go back to the video that brought you here.
Don't miss the next repo
Every new repo gets a video review, with its install guide right here.
HISTORY
Seen on GitHub Trending
- Oct 23#3174,066
- Oct 22#5172,254
- Oct 21#6171,026
- Oct 20#4169,091
- Oct 4#4154,435
- Oct 3#1152,806
- Oct 2#4151,335
- Oct 1#1150,049