How dietrichgebert/ponytail works
Ponytail is an AI-agent coding skill and integration plugin: users activate a mode, receive repository-aware instructions, and use focused skills for implementation, review, audit, and related work. Its Claude Code band adds task metrics and a session ledger. The graph preserves the documented skill branches and the sampled activation, mode, map, and band components. Some integration and skill internals were not sampled, so only documented or index-supported relationships are connected.
Main entry points: ponytail-config.js Mode configuration · ponytail-activate.js Session activation · board.ts Task board · ponytail-instructions.js Instruction builder
Components 23
Agent guidance
- Core skill
skills/ponytail/SKILL.md - Code review
skills/ponytail-review/SKILL.md - Repository audit
skills/ponytail-audit/SKILL.md - Debt reduction
skills/ponytail-debt/SKILL.md - Code gain
skills/ponytail-gain/SKILL.md - Skill help
skills/ponytail-help/SKILL.md
Agent runtime
- Session activation
hooks/ponytail-activate.js - Instruction builder
hooks/ponytail-instructions.js - Codebase map
hooks/ponytail-map.js - Mode tracker
hooks/ponytail-mode-tracker.js - Mode state
hooks/ponytail-runtime.js - Mode configuration
hooks/ponytail-config.js - Subagent guidance
hooks/ponytail-subagent.js
Task band
- Session import
hooks/ponytail-band-import.js - Band registration
hooks/band/register.tsx - Band metrics
hooks/band/metrics.ts - Task board
hooks/band/board.ts - Band graphics
hooks/band/logo.ts - Band ledger
Host integrations
- Pi extension
pi-extension/index.js - Cursor hooks
scripts/cursor-hooks.js
Other components
- Developer
- AI coding agent
Connections 24
- Developer → AI coding agent: requests work
README.md - AI coding agent → Core skill: uses guidance
README.md - AI coding agent → Code review: requests review
README.md - AI coding agent → Repository audit: requests audit
README.md - AI coding agent → Debt reduction: requests debt
- AI coding agent → Code gain: requests gain
- AI coding agent → Skill help: requests help
- Session activation → Instruction builder: builds context
hooks/ponytail-activate.js - Session activation → Codebase map: runs map
hooks/ponytail-activate.js - Session activation → Mode configuration: reads defaults
hooks/ponytail-activate.js - Mode tracker → Mode configuration: reads config
hooks/ponytail-mode-tracker.js - Mode tracker → Mode state: writes mode
hooks/ponytail-mode-tracker.js - Session activation → Mode state: reads mode
hooks/ponytail-activate.js - Instruction builder → Mode configuration: normalizes mode
hooks/ponytail-instructions.js - Subagent guidance → Instruction builder: uses builder
hooks/ponytail-subagent.js - Pi extension → Mode configuration: reads settings
pi-extension/index.js - Pi extension → Instruction builder: loads guidance
pi-extension/index.js - Cursor hooks → Mode configuration: resolves config
scripts/cursor-hooks.js - Session import → Band ledger: writes sessions
hooks/ponytail-band-import.js - Band registration → Task board: uses board
hooks/band/register.tsx - Band registration → Band metrics: uses metrics
hooks/band/register.tsx - Band metrics → Task board: uses helpers
hooks/band/metrics.ts - Task board → Band graphics: renders logo
hooks/band/board.ts - Task board → Band ledger: reads sessions