---
id: gh-ponytail-gain
name: "ponytail-gain"
url: https://skills.yangsir.net/skill/gh-ponytail-gain
author: dietrichgebert
domain: ai-code-generation-quality
tags: ["metrics", "performance", "efficiency", "scoreboard", "impact-analysis"]
install_count: 38600
rating: 4.60 (120 reviews)
github: https://github.com/dietrichgebert/ponytail/tree/main/.openclaw/skills/ponytail-gain
---

# ponytail-gain

> 此技能提供一个简洁的记分板，展示代码行数、成本和执行速度等关键指标的基准中位数，直观呈现代码优化带来的显著影响。用户能快速了解效率提升，辅助决策。

**Stats**: 38,600 installs · 4.6/5 (120 reviews)

## Before / After 对比

### 代码效率与成本优化

**Before**:

用户在没有此技能的辅助下，需要手动评估代码效率、成本和执行速度，耗时且难以获得统一的基准数据，导致优化效果难以量化和追踪。

**After**:

此技能提供一目了然的基准数据看板，用户能快速了解代码在行数、成本和速度上的优化效果，从而更高效地评估和决策，推动项目进展。

| Metric | Before | After | Change |
|---|---|---|---|
| 代码行数 | 100% | 15% | -85% |
| 开发成本 | 100% | 35% | -65% |
| 执行速度 | 60秒 | 15秒 | -75% |

## Readme

# Ponytail Gain

Display this scoreboard when invoked. One-shot: do NOT change mode, write flag
files, or persist anything.

The figures are the published benchmark medians (5 everyday tasks: email
validator, debounce, CSV sum, countdown timer, rate limiter; three models:
Haiku, Sonnet, Opus). They are measured, not computed from the current repo.
Source: `benchmarks/` and the README.

## Scoreboard

Render plain ASCII bars. The bar length shows the measured range; the label
carries the exact figure:

```
  ponytail gain                     benchmark median · 5 tasks · 3 models

  Lines of code   no-skill  ████████████████████  100%
                  ponytail  ██▌·················    6–20%   ▼ 80–94%
  Cost            no-skill  ████████████████████  100%
                  ponytail  █████▌··············   23–53%  ▼ 47–77%
  Speed           ponytail  ▸ 3–6× faster

  This repo:  /ponytail-debt  (shortcuts you deferred)
              /ponytail-audit (what's still cuttable)
```

## Honesty boundary

These are benchmark medians, not this repo. NEVER print a per-repo savings
number ("you saved X lines/tokens here"): the unbuilt version was never
written, so there is no real baseline to subtract from in a live repo. The
only real per-repo figures come from `/ponytail-debt` (a counted ledger), and
this card points there instead of inventing one.

## Boundaries

One-shot display. Edits nothing, changes no mode.
"stop ponytail" or "normal mode": revert.


---
*Source: https://skills.yangsir.net/skill/gh-ponytail-gain*
*Markdown mirror: https://skills.yangsir.net/api/skill/gh-ponytail-gain/markdown*