# ponytail

> A prompt and plugin that makes an AI coding agent write only the code the task needs, and add tests for risky logic.

- Type: agent or tool
- Field: Coding & Development
- Repository: https://github.com/DietrichGebert/ponytail
- GitHub stars: 197547
- Licence: MIT
- Language: JavaScript
- Last push: 2026-11-22
- Page: https://imutechz.in/agents/ponytail

## What it is
Ponytail is a single prompt, kept in skills/ponytail/SKILL.md, that tells a coding agent to write only what the task needs and reuse what already exists. It never cuts validation, error handling, security or accessibility. It is for developers using agents such as Claude Code or Codex who want smaller changes. The agent reads the touched code first, picks the simplest fix, and ends each reply with what it skipped.

## Features
- One prompt loaded into different agents
- Looks for existing components before writing new code
- /ponytail-review reviews code your change touches, not only the diff
- /ponytail-audit checks the whole repo and ranks findings
- Leaves one small test for logic with branches, loops, parsers, money or security
- A band in Claude Code shows cost, tokens and test status

## Best for
- Keeping agent-written changes small
- Reviewing a change like a senior developer
- Auditing a repo and deciding what to fix first
- Adding a rules file to a project via AGENTS.md

## Pros
- Works with Claude Code, Codex and other agents
- Keeps validation, security and accessibility in place
- Includes review and audit commands

## Cons
- The band needs Claude Code 2.1.290 or later
- The band does not show in the VS Code chat panel, cloud sessions or claude -p

## Install
```
/plugin marketplace add DietrichGebert/ponytail
/plugin install ponytail@ponytail
codex plugin marketplace add DietrichGebert/ponytail
codex plugin add ponytail@ponytail
```

## Usage
```
/ponytail-review
```

Tags: claude-code, codex, agent-skills, code-review, developer-tools, minimal-code, prompt, audit
