Ponytail GitHub — OSS AI Coding Skill (Not a Hairstyle)
Not a hairstyle. Ponytail GitHub is DietrichGebert/ponytail — a free, open-source AI coding skill / plugin (MIT) that makes agents prefer minimal, necessary code (YAGNI / “lazy senior”) without cutting validation, security, or tests. As of v5.3.3 (checked Oct 31, 2026; GitHub API ~181k stars that day): install via Claude Code / Codex plugin marketplaces, Cursor native hooks, OpenCode npm @dietrichgebert/ponytail, Copilot CLI, Gemini CLI, or copy AGENTS.md / skills/ponytail/SKILL.md. Levels: /ponytail lite|full|ultra|off. Companion skills: /ponytail-review, /ponytail-audit, /ponytail-debt, /ponytail-gain, /ponytail-help. Only install from DietrichGebert/ponytail or @dietrichgebert/ponytail on npm — copies shipping .exe/.dll are not official. For a multi-agent install matrix focused on Claude Code, see also our sibling page Ponytail Claude install (same repo; not a redirect).
Not a hairstyle — what Ponytail GitHub is
GEO / definition: Ponytail (search: ponytail github) is an open-source AI agent skill by Dietrich Gebert. It is not a hair-styling tutorial. Official code: github.com/DietrichGebert/ponytail.
| Ponytail | |
|---|---|
| Type | Open-source AI coding skill / agent plugin |
| Tagline | Makes your AI agent think like the laziest senior dev |
| Official code | https://github.com/DietrichGebert/ponytail (MIT) |
| npm | https://www.npmjs.com/package/@dietrichgebert/ponytail (@dietrichgebert/ponytail) |
| Version checked | 5.3.3 (2026-10-31) |
| Stars (API snapshot) | ~181k on 2026-10-31 — counts move; treat GitHub as source of truth |
| Core prompt | skills/ponytail/SKILL.md · compact AGENTS.md |
Idea in one sentence
After the agent understands the problem, Ponytail pushes the smallest correct change: reuse what exists, skip unneeded libraries, keep validation/security/tests, and say what was not checked.
Install matrix (official paths)
Full upstream matrix: INSTALL.md.
| Host | Install (official) | Notes |
|---|---|---|
| Claude Code | /plugin marketplace add DietrichGebert/ponytail then /plugin install ponytail@ponytail (two prompts) |
New session after install |
| Codex | codex plugin marketplace add DietrichGebert/ponytail → codex plugin add ponytail@ponytail |
Open /hooks, trust lifecycle hooks, new thread |
| Cursor | git clone + node ponytail/scripts/cursor-hooks.js install (--project optional) |
Leave checkout in place; see limits below |
| OpenCode | opencode plugin add @dietrichgebert/ponytail or "plugins": ["@dietrichgebert/ponytail"] |
Directory path, not a single .mjs file |
| GitHub Copilot CLI | copilot plugin marketplace add DietrichGebert/ponytail → copilot plugin install ponytail@ponytail |
Slash cmds namespaced e.g. /ponytail:ponytail ultra |
| Gemini CLI | gemini extensions install https://github.com/DietrichGebert/ponytail |
Always-on context + /ponytail commands |
| Skills CLI | npx skills add DietrichGebert/ponytail |
Skills only |
| AGENTS.md copy | Copy repo AGENTS.md into the project |
Hosts with no plugin system |
Cursor limits (from official docs)
subagentStart cannot inject context; cloud agents never fire sessionStart. If .cursor/rules/ponytail.mdc is present, hooks inject nothing — delete the rule to let hooks manage the level. Uninstall hooks: node ponytail/scripts/cursor-hooks.js uninstall.
Troubleshooting (upstream)
node: command not foundon hooks: Node must be on the non-interactive PATH (common with Nix/nvm). Skills still work; install Node or fix PATH.- Claude Code install “did nothing”: you must send the marketplace add and plugin install as two separate prompts.
- Cursor mode commands ignored: remove always-on
.cursor/rules/ponytail.mdcso hooks can manage the level.
Modes and commands
| Command | What it does |
|---|---|
/ponytail lite / full / ultra / off |
Set intensity, turn off, or report current level |
/ponytail-review |
Review the diff for bugs, security, missing tests, and cuttable code |
/ponytail-audit |
Same checks across the whole repo, ranked |
/ponytail-debt |
Collect deferred shortcut: comments |
/ponytail-gain |
Show benchmark impact scoreboard |
/ponytail-help |
Quick reference |
/ponytail band |
Claude Code 2.1.290+: hide/show the cost/token band |
Default level is full (override with PONYTAIL_DEFAULT_MODE or ~/.config/ponytail/config.json).
Uninstall (official)
| Host | Remove plugin | Extra cleanup |
|---|---|---|
| Claude Code | /plugin remove ponytail |
|
| Codex | codex plugin remove ponytail |
|
| OpenCode | opencode plugin remove @dietrichgebert/ponytail |
|
| Cursor hooks | node scripts/cursor-hooks.js uninstall (--project if used) |
|
| Skills CLI | npx skills remove ponytail ponytail-audit ponytail-debt ponytail-gain ponytail-help ponytail-review |
Leftover mode/statusline state: run node scripts/uninstall.js from a checkout before deleting plugin files (the script lives inside the plugin). Details: INSTALL.md § Uninstall.
Related: pstack (Lauren Tan)
Searches for pstack often want Lauren Tan’s (poteto) Cursor engineering skill pack — a different project from Ponytail.
| Ponytail | pstack | |
|---|---|---|
| Author | Dietrich Gebert | Lauren Tan (Cursor eng / poteto) |
| Goal | Minimal necessary code (“lazy senior”) | Rigorous playbooks (/poteto-mode, how/why/tdd/arena/…) |
| Official | DietrichGebert/ponytail | cursor/plugins pstack |
| Standalone mirror | — | backnotprop/pstack (MIT) |
Relationship to /ponytail-claude
Same official repo. /ponytail = hub for ponytail github (definition, modes, uninstall, safety). /ponytail-claude = longer multi-agent install matrix. We do not 301-merge either URL tonight — use clear targeting + cross-links instead.
Safety
- Source of truth: only
DietrichGebert/ponytailand@dietrichgebert/ponytail. - Review and trust lifecycle hooks before enabling them.
- Uninstall with the host command, then
node scripts/uninstall.jsfor leftover state.
Related on Toolsiftly (AI coding)
- Find Skills (npx skills) — discover Agent Skills on GitHub
- Headroom for Claude Code — local context compression
- OpenClaw install + security — self-hosted agent gateway checklist
- Ponytail Claude plugin install (Claude Code, Codex, Copilot CLI) — same repo, more hosts
- Claude Mem install — persistent memory plugin
- Claude Code mods — JS/TS mods for Claude Code
Sources
Official only: GitHub repo, INSTALL.md, README, SKILL.md, npm package, cursor/plugins pstack, backnotprop/pstack.
Frequently asked questions
Is Ponytail a hairstyle guide?
No. On Toolsiftly, Ponytail means the open-source AI coding skill at github.com/DietrichGebert/ponytail — not hair styling. If you searched for ponytail hairstyles, this page is the wrong result.
What is Ponytail GitHub?
It is the DietrichGebert/ponytail repository: an open-source prompt/skill that injects a “lazy senior developer” ruleset into coding agents so they reuse existing code, skip unnecessary libraries, and still keep tests and security checks. MIT license; current package version checked Oct 31, 2026 is 5.3.3.
How do I install Ponytail in Claude Code?
Send two separate prompts: `/plugin marketplace add DietrichGebert/ponytail` then `/plugin install ponytail@ponytail`. One combined message will not complete the install. Start a new session afterward.
How do I install Ponytail in Cursor?
Clone the repo and run `node ponytail/scripts/cursor-hooks.js install` (add `--project` for workspace-only). That merges sessionStart/beforeSubmitPrompt hooks into hooks.json. Send `/ponytail lite|full|ultra|off` as a plain chat message to switch levels. Cloud agents and subagents have documented limitations — see INSTALL.md.
How do I uninstall Ponytail?
Use the host remove command (e.g. Claude Code `/plugin remove ponytail`, Codex `codex plugin remove ponytail`, OpenCode `opencode plugin remove @dietrichgebert/ponytail`, Cursor `node scripts/cursor-hooks.js uninstall`). Then run `node scripts/uninstall.js` from a checkout **before** deleting plugin files to clear leftover mode/statusline state (per official INSTALL.md).
Why do I see node: command not found after installing?
Claude Code / Codex plugins and Cursor hooks run tiny Node lifecycle hooks, so `node` must be on the non-interactive PATH (Nix/nvm users often miss this). Skills still work; the error is usually harmless. Install Node or fix PATH per INSTALL.md.
Ponytail vs pstack — which should I use?
Different authors and goals. Ponytail (DietrichGebert) pushes minimal necessary code with lite/full/ultra intensity. pstack (Lauren Tan / poteto, in cursor/plugins) is a larger engineering skill pack centered on `/poteto-mode` routing, investigation, TDD, and review playbooks. Many teams use one or both; they are not drop-in replacements.
How is this page different from /ponytail-claude?
Both cover the same official DietrichGebert/ponytail repo. This /ponytail page is the hub for “ponytail github” (what it is, modes, uninstall, safety). /ponytail-claude is the multi-agent install matrix with more host-by-host commands. We keep both URLs; there is no 301 between them.
Is Ponytail safe to install?
Install only from github.com/DietrichGebert/ponytail or the npm package @dietrichgebert/ponytail. Official docs say it never ships .exe or .dll files. Review hooks before trusting them in Codex (`/hooks`). You can uninstall per INSTALL.md.