AGENTS.md cut from 49.7KB to 295 bytes with /earn-your-tokens skill

daniel_mac8 · x · 2026-12-07

Daniel Mac shared a skill called /earn-your-tokens that dramatically slims down agent context files: 49.7KB of AGENTS.md, a duplicated CLAUDE.md, and 5 SKILLS were reduced to just 295 bytes.

The core idea is to ruthlessly delete every line of AGENTS.md that doesn't earn its keep. The skill wraps @poteto's prompt: enforceable rules become lints and tests, while dead prose gets deleted. His new AGENTS.md contains only a few hard rules, e.g. use --repo DannyMac180/ace-platform for gh commands, use the repo venv for Python tools, use bd (beads CLI) instead of GitHub Issues, and never commit directly to main.

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 →