ponytail-debt

ponytail-debt is a skill for Claude Code, Codex from Wenaixi/dsh-ponytail. It costs 99 tokens per session (440 once invoked), scanned A, original, MIT.

A debt register made from `ponytail:` comments in a codebase. These comments mark deliberate shortcuts, their limits, and—when documented—the conditions for revisiting them.

In plain words
What is it for?
Scanning source files for ponytail comments, recording each shortcut and upgrade trigger, and reporting comments that lack a trigger.
Why use it?
It makes postponed cleanup visible instead of allowing temporary compromises to become forgotten permanent problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Scanning source files for ponytail comments, recording each shortcut and upgrade trigger, and reporting comments that lack a trigger.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wenaixi/dsh-ponytail/ponytail-debt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Wenaixi/dsh-ponytail --skill ponytail-debt
Clone the repo
git clone --depth 1 https://github.com/Wenaixi/dsh-ponytail

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ponytail-debt

README.md
[![agentmods](https://agentmods.dev/badge/skills/wenaixi/dsh-ponytail/ponytail-debt/github.svg)](https://agentmods.dev/skills/wenaixi/dsh-ponytail/ponytail-debt)
Your own site
<a href="https://agentmods.dev/skills/wenaixi/dsh-ponytail/ponytail-debt"><img src="https://agentmods.dev/badge/skills/wenaixi/dsh-ponytail/ponytail-debt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ponytail-debt

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenaixi/dsh-ponytail/ponytail-debt"><img src="https://agentmods.dev/badge/skills/wenaixi/dsh-ponytail/ponytail-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.00440
Opus 5.5 $0.00040 $0.00176
Sonnet 5.5 $0.00020 $0.00088
Haiku 4.5 $0.00010 $0.00044

Measured 21d ago against content hash c84fba75f0ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ponytail-debt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ponytail-debt/SKILL.md · 45 lines

What it actually says

Every deliberate ponytail shortcut is marked with a ponytail: comment naming its ceiling and upgrade path. This collects them into one ledger so a deferral can't quietly become permanent.

Scan

Grep the repo for comment markers, skipping node_modules, .git, and build output:

grep -rnE '(#|//) ?ponytail:' . (add other comment prefixes if your stack uses them)

Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger.

Output

One row per marker, grouped by file:

<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.

The convention is ponytail: <ceiling>, <upgrade path>, so pull the ceiling and the trigger straight from the comment. Want an owner per row too? add git blame -L<line>,<line>.

Flag the rot risk: any ponytail: comment that names no upgrade path or trigger gets a no-trigger tag, those are the ones that silently rot.

End with <N> markers, <M> with no trigger. Nothing found: No ponytail: debt. Clean ledger.

Boundaries

Reads and reports only, changes nothing. To persist it, ask and it writes the ledger to a file (e.g. PONYTAIL-DEBT.md). One-shot. "stop ponytail-debt" or "normal mode" to revert.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +13 lines · -3 tokens per session c84fba75f0ca
  2. 1mo ago First seen · 32 lines · 102 tokens per session scan A 71741ab6afd9

Subscribe to this mod's changes

ponytail-debt is a skill published in the GitHub repository Wenaixi/dsh-ponytail (31 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 440 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

manage-taskboard

Manage work in the native DeepSeek Harness Taskboard with exact task ids and optimistic versions. Use when an Agent must inspect project work, claim an eligible todo, record progress or blockers, verify an implementation, submit it for human review, or release its own claim; also use when a human asks how to accept…

shengsheng90/DSH-taskboard · 88 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

promentor

A tool that turns a software project into a hands-on course in the style of an MIT course. It can produce lessons, code walkthroughs, practical labs, behavior tests, grading, explanations, and AI reviews.

Lyn-77/ProMentor · 85 tokens

hook-development

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "wire command hooks", "use ${PLUGINROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStart, SubagentStop…

Sivan757/dsh-agent-plugins-market · 113 tokens

init

Set up a minimal AGENTS.md (and optionally skills and hooks) for this repo. Use when the user asks to "initialize the project", "generate AGENTS.md", "set up project instructions", or runs /init.

Sivan757/dsh-agent-plugins-market · 48 tokens