pew: Skill for Claude Code

.agents/skills/ponytail-audit/SKILL.md

ponytail-audit is a skill for Claude Code, Codex from nocoo/pew. It costs 20 tokens per session (655 once invoked), scanned A, original, MIT.

A read-only audit for a specific Pew project that checks accounting, complexity, privacy, and compatibility from source parsers through the user interface. It also runs synthetic database checks in memory.

In plain words
What is it for?
Use it to audit the project's parsing, usage accounting, database behavior, and related source-to-interface stages without running tests, uploads, migrations, or cleanup commands.
Why use it?
It provides a repeatable inspection without opening production data, credentials, private logs, or remote services. A successful script run still requires human review of the contract and code.

Skill for Claude CodeCodex

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

This is nocoo/pew's own configuration. It tells Claude Code and Codex how to work on pew itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pew configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nocoo/pew. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nocoo/pew/main/.agents/skills/ponytail-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nocoo/pew

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nocoo/pew/ponytail-audit"><img src="https://agentmods.dev/badge/skills/nocoo/pew/ponytail-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 655 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.00020 $0.00655
Opus 5.5 $0.00008 $0.00262
Sonnet 5.5 $0.00004 $0.00131
Haiku 4.5 $0.00002 $0.00065

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

Security

Grade A, and why

ponytail-audit 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 2d 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/skills/ponytail-audit/SKILL.md · 27 lines

What it actually says

Pew project override

In this repository, extend the global ponytail audit beyond complexity to accounting correctness, privacy and compatibility. Do not simplify away a correctness guard to reduce line count. This override changes only Pew's audit; it does not edit global skills.

Run sh scripts/ponytail-audit.sh from the repository root. The wrapper disables dotenv loading and Bun's transpiler disk cache. It prints one deterministic JSON object to stdout. Do not redirect it to a report file. The audit reads repository source files and runs synthetic SQL against an in-memory database; it never opens a source database, Pew state/queue, private log, credential file or remote endpoint. It does not run tests, sync, reset, upload, login, migration tools or cleanup commands. Do not follow symlinks or scan dependency, build, coverage or cache trees.

Read the accounting contract and inspect every stage below, including callers and consumers. A green mechanical audit is not a completed human review.

Stage Review obligations
Parser Pi compaction vs assistant usage; Hermes main vs background/aux/ACP ledger; failed, cancelled and incomplete calls; source/provider model labels; only whitelist metadata leaves a source
Cursor Partial lines, rollover, fork copies, reset and source loss; evidence committed before cursor; replay cannot change previously allocated times
Spool Stable device/event/group identities; absolute replacement; source revision ordering; atomic outbox intent; retained evidence across reset; generic errors
Upload Separate evidence endpoint; no SUM of snapshots; retry and offline convergence; old server rejection retains pending evidence; auth errors never expose payloads
Worker/schema Additive migration before code activation; unchanged legacy UPSERT; immutable event ownership/time/provenance; device/user isolation; old snapshots cannot overwrite; account deletion
API/UI Every usage read includes the combined view; original bucket dimensions and UTC storage; local display; no zero-checkpoint activity; approximate timing is visible
Test evidence Inspect synthetic regression assertions for each layer; check current full-suite and G1 results separately. Suite presence and cached passes do not establish a fresh full run

The JSON includes an input content digest, stage checks, regression-suite digests, findings and thresholds. Exit 0 means zero mechanical errors, 1 means at least one failed rule, 2 means the audit could not complete. Do not force findings to zero or lower a threshold. Full tests and independent reviews remain separate completion requirements.

For manual findings, use the same fields: id, severity, stage, path, message. Keep messages to the concrete defect, impact and smallest viable fix. Add complexity tags (delete, stdlib, native, yagni, shrink) only when supported by a real simplification. Use repository paths, safe counts and hashes; never quote source payloads, secrets, prompts, responses or personal messages. Reply in the pane only. Audit and review apply no fixes.

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. 2d ago First seen · 27 lines · 20 tokens per session scan A d34506cd355e

Subscribe to this mod's changes

ponytail-audit is a skill published in the GitHub repository nocoo/pew (14 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 655 once invoked, about $0.0001 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-11-04.

Related

ponytail-audit compared with skills from other repositories

ponytail-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ponytail-auditnocoo/pewSkill143d agoMITA20Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code