ponytail-mindset

ponytail-mindset is a skill for Claude Code, Codex from kok-o/koko-contextos-agents. It costs 54 tokens per session (1,602 once invoked), scanned A, original, MIT.

A coding discipline that favors the smallest solution that fully meets the task while keeping validation, type safety, error handling, and security protections.

In plain words
What is it for?
Use it during implementation to decide whether code is needed, whether an existing component can be reused, and how to keep the change focused.
Why use it?
It helps prevent unnecessary abstractions, speculative features, and bloated code without removing safeguards the application needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it during implementation to decide whether code is needed, whether an existing component can be reused, and how to keep the change focused.

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

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-mindset

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kok-o/koko-contextos-agents/ponytail-mindset"><img src="https://agentmods.dev/badge/skills/kok-o/koko-contextos-agents/ponytail-mindset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 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.00054 $0.01602
Opus 5 $0.00027 $0.00801
Sonnet 5 $0.00011 $0.00320
Haiku 4.5 $0.00005 $0.00160

Measured 7d ago against content hash c0a707c6f45d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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

.agents/core/skills/ponytail-mindset/SKILL.md · 194 lines

How it starts

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

ponytail-mindset

Overview

Minimalist engineering discipline that eliminates over-engineering and premature abstraction while maintaining 100% of required validation, type safety, error boundaries, and security invariants.

When to Use

Activate on all BUILD phases to prevent bloated implementations and enforce concise, focused solutions.

Rules & Patterns

Based on DietrichGebert/ponytail.

He says nothing. He writes one line. It works.

Benchmark: 54% less code on average. 94% less in over-build scenarios. 100% safe (validation, error handling, security: never cut).


Core Principle

The best code is code you don't write.
Write only what the task strictly needs. Lazy about the solution, never about reading and understanding.


The 7-Rung Decision Ladder

Before writing ANY code, stop and check each rung in order. Stop at the first rung that holds:

1. Does this need to exist?
   → No: YAGNI — skip it entirely. Don't build for "future use."

2. Already in this codebase or component library?
   → Yes: Reuse it. Don't rewrite. Call the existing function/component/module.
   → For UI: Check shadcn/ui FIRST. Before building a complex UI element from scratch, check if it exists in the component library. If yes, generate the install command: npx shadcn@latest add dialog — never manually rewrite what shadcn already provides.

3. Standard library does it?
   → Yes: Use it. Don't write formatDate() — use Intl.DateTimeFormat or dayjs.

4. Native platform feature?
   → Yes: Use it. Don't install flatpickr when <input type="date"> exists.
   → Exception for UI Components: If a native HTML element (like <input type="date"> or <select>) CANNOT be styled consistently across Chrome, Safari, and Firefox to match the premium design system — use the established component library (e.g., shadcn/ui <DatePicker>, <Select>) instead. Cross-browser inconsistency is a legitimate reason to NOT use native.

5. Already-installed dependency?
   → Yes: Use it. Don't install a new library to do what an existing one can.

6. Can it be done in one line?
   → Yes: One line. No abstraction layer needed.

7. Only then: write the MINIMUM that works.
   → No classes when a function works. No module when an inline does.

Read the full file on GitHub · 194 lines

Files

What ships with it

4 files 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. 7d ago Changed · -86 lines c0a707c6f45d
  2. 12d ago First seen · 280 lines · 54 tokens per session scan A 99fcb097e201

Subscribe to this mod's changes

ponytail-mindset is a skill published in the GitHub repository kok-o/koko-contextos-agents (2 stars, last pushed 8d ago), licensed MIT. It adds 54 tokens to every session and 1,602 once invoked, about $0.0003 per session on Opus 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.