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:
- inventories every claim across your agent instructions
- moves mechanically enforceable rules into lints, type checks, and tests
- deletes prose that merely restates the codebase
- runs a 3×3 blinded ablation eval to prune whatever doesn't earn its context window
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)→
More from coding & agent
- NeurIPS 2026 preview: alphaXiv Top 100 papers and Latent Space pod's picks of the year — a1zhang · 2026-12-07
- Do LLM agents grasp data movement costs? Devs debate cross-session memory for DB migrations — sh_reya · 2026-12-07
- AGENTS.md cut from 49.7KB to 295 bytes with /earn-your-tokens skill — daniel_mac8 · 2026-12-07
- SlackBench: 140-task agent benchmark over real Slack, GitHub and Docs, at NeurIPS — AlexGDimakis · 2026-12-07
- How Stripe, Fullscript and Shopify build their own coding agents — JnBrymn · 2026-12-07
- 3,351 agent runs across 10 models, zero unsafe effects: safety beats accuracy — dosco · 2026-12-07