Ponytail is a prompt skill that steers AI coding agents toward minimal, necessary code. It adds review and audit commands and optional usage metrics in supported hosts.
Overview
Ponytail loads into skill-capable coding agents such as Claude Code, Codex, Copilot CLI, Gemini, Cursor, and OpenCode. It shapes replies so the agent reuses what already exists in the codebase, prefers platform and standard-library features, and writes only what the task needs while keeping validation, error handling, security, and accessibility in place.
A decision ladder runs after the agent reads affected code and traces real flow. Logic involving branches, loops, parsers, money, or security is expected to leave a small test behind. Replies can end by stating what was skipped or not checked and any risk worth knowing.
Slash commands extend the always-on ruleset. Review inspects a change like someone accountable for outages: bugs, security, load, missing tests, slow paths, and cuts, with plain-language fix guidance. Audit applies similar checks across an entire repository and ranks findings. Debt collects deferred shortcut comments into a ledger; gain shows benchmark impact metrics.
In Claude Code 2.1.290 or later, an optional band above the prompt shows task cost, tokens, agent time, reuse of existing code, and post-change test status, with controls to run review or audit, copy the task as Markdown, or hide the band. Board is a local page aggregating tasks, costs, and sessions; by default data stays on the machine under the user config directory.
Install paths differ by host: marketplace or plugin install for Claude Code and Codex, copying AGENTS.md or installing the skill file for other agents. Intensity levels lite, full, ultra, or off adjust how aggressively the agent simplifies solutions.
Key features
- Minimal-code decision ladder for agents
- Diff review with security and load checks
- Whole-repository audit with ranked findings
- Tests encouraged for risky logic paths
- Optional Claude Code usage band
- Local board for cross-project task metrics
- Shortcut debt ledger via comments
- Multiple host install adapters
Use cases
- Shrinking agent-generated feature code
- Reviewing changes before merge
- Prioritizing fixes from a repo-wide audit
- Tracking agent time and token spend locally