Open-source skill /earn-your-tokens shrinks a 49.7KB AGENTS.md down to 295 bytes

daniel_mac8 · x · 2026-12-07

Developer Dan McAteer released /earn-your-tokens, an open-source agent skill for pruning bloated repo instructions (AGENTS.md files, cursor rules, skills, architecture specs).

It runs a four-step audit-and-ablation loop:

In the author's own repo, it reduced 49.7KB of AGENTS.md, a duplicated CLAUDE.md, and 5 SKILLS to just 295 bytes. Fittingly, the skill itself is strictly user-invoked (disable-model-invocation: true) and carries zero always-on context cost. It works with Claude Code, Codex, Antigravity, Cursor, and other skills-compatible agents; install via the GitHub skills repo.

Related event: Open-source skill shrinks AGENTS.md from 49.7KB to 295 bytes(3 posts)→

Original post →

More from coding & agent

coding & agent channel →