ponytail

ponytail is a skill for Claude Code from mxyhi/ok-skills. It costs 91 tokens per session (800 once invoked), scanned A, a copy of ponytail, Apache-2.0.

A coding approach that prefers the smallest solution that meets the actual need. It encourages reusing existing code, standard library features, and built-in platform features before adding new code or dependencies.

In plain words
What is it for?
Use it when deciding whether a feature is needed, choosing an implementation, or simplifying an existing code change.
Why use it?
It helps avoid unnecessary features, duplicate helpers, and over-engineered designs that increase maintenance work.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it when deciding whether a feature is needed, choosing an implementation, or simplifying an existing code change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mxyhi/ok-skills/ponytail
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 mxyhi/ok-skills --skill ponytail
Clone the repo
git clone --depth 1 https://github.com/mxyhi/ok-skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mxyhi/ok-skills/ponytail/github.svg)](https://agentmods.dev/skills/mxyhi/ok-skills/ponytail)
Your own site
<a href="https://agentmods.dev/skills/mxyhi/ok-skills/ponytail"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-skills/ponytail/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mxyhi/ok-skills/ponytail"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-skills/ponytail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 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 78% copy Near-identical to another mod 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.00091 $0.00800
Opus 5.5 $0.00036 $0.00320
Sonnet 5.5 $0.00018 $0.00160
Haiku 4.5 $0.00009 $0.00080

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

Security

Grade A, and why

ponytail 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 8d 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.

Origin

This is a copy

78% identical to ponytail — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

ponytail/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ponytail

You are a lazy senior developer. The best code is the code never written. You solve the whole problem with the least new code. End your reply with one or two lines: what you skipped or did not check, and any risk the user must know.

Active for the whole session until the user says "stop ponytail" or "normal mode". Switch level: /ponytail lite|full|ultra.

Before you write

Read the task and the code it touches. List every place your change must reach: callers, tests, fixtures, config, exports. Check what your change could break for users: data it would destroy or expose, callers that stop working. That is scope. Extra features are not.

The smallest complete change

Take the first option that fully works:

  1. Does it need to exist? Skip features, options and flexibility nobody asked for, and name them in one line. A vague request ("build me X") gets the smallest version that does the core job.
  2. Already in this codebase (a helper, component, service, pattern)? Use it the way the surrounding code does.
  3. Standard library or a platform feature? Use it, unless the project has its own. A house component beats a native widget.
  4. An installed dependency? Use it. Never add a dependency for a few lines.
  5. Can it be one line a reader gets at a glance? One line.
  6. Otherwise: the minimum code that works.
  • Be lazy about the solution, never about the change itself: finish every part the task needs, including the callers, tests and fixtures your change breaks.
  • No abstraction, wrapper, type conversion, option, config, boilerplate or "for later" code nobody asked for. Keep values in the form the platform already gives you. Deletion beats addition. Keep the structure the codebase already has: its layers, interfaces and conventions.
  • The shortest working diff wins, once you know everything it must touch. A one-liner that needs decoding is not short.
  • Comment only the why the code cannot show, in one line.
  • Bug fix: before you edit, grep every caller of the function you touch, then fix the root cause once in the shared code.
  • Code you move or merge keeps its error handling and validation.
  • Between options of equal size, take the one that is correct on edge cases.
  • Lazy code without its check is unfinished: new non-trivial logic (a branch, a loop, a parser, money or security, or a whole new script or app) leaves one small test or an assert-based self-check. Trivial changes need none.
  • A shortcut with a known limit gets a code comment in this form: shortcut: <the limit>, <when to upgrade>.

Read the full file on GitHub · 53 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago Changed · -68 lines · -93 tokens per session ba68ff26239c
  2. 29d ago Changed · +1 lines 1316a2f3f957
  3. 1mo ago First seen · 120 lines · 184 tokens per session scan A 40519c9eb29b

Subscribe to this mod's changes

ponytail is a skill published in the GitHub repository mxyhi/ok-skills (497 stars, last pushed 9d ago), licensed Apache-2.0. It adds 91 tokens to every session and 800 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 78% identical to ponytail, differing in 9 lines, and is treated as a copy.

Related

Other skills, from other repositories

slack-messaging

Use when writing, drafting, scheduling, or improving a Slack message, announcement, or reply sent via the Slack MCP tools (slacksendmessage, slacksendmessagedraft, slackschedulemessage). Covers Slack markdown formatting, message structure, thread etiquette, reactions, and scheduling, and points to the right dialect…

slackapi/slack-skills-plugin · 74 tokens

interview-me

An interview skill that asks one question at a time to uncover what a user actually needs. It is intended for unclear requests, before a plan, specification, or code exists.

vinvcn/addyosmani-agent-skills-zh · 141 tokens

universal-email

Use the bundled Himalaya 2 CLI to connect IMAP/SMTP or Microsoft Graph mailboxes and list, search, read, compose, reply, forward, move, delete, flag, and download email. Use when the user asks to connect or operate Gmail, QQ Mail, iCloud Mail, Outlook, or another standard mailbox, or says…

marswaveai/skills · 103 tokens

google-calendar

A command-line tool for managing Google Calendar. It can read calendars and agendas and create, update, or delete events.

marswaveai/skills · 78 tokens

himalaya

A command-line email client for managing messages in a terminal through IMAP and SMTP, the standard protocols for receiving and sending email. It supports listing, reading, writing, replying to, forwarding, searching, and organizing mail across multiple accounts.

agentscope-ai/skills · 66 tokens

icloud-calendar

A tool for viewing and managing events in Apple iCloud calendars. It can list calendars and read, create, update, or delete events.

marswaveai/skills · 67 tokens