Caveman Renders AI Agent Skills as Images, Cutting Token Cost by 61%
bigaiguy · x · 2026-10-07
The open-source caveman tool (part of a 103k-star project) tackles a hidden token cost: every agent skill is prompt text reloaded on each call. caveman convert renders skill bodies into PNG pages that the model reads as images instead — the caveman skill itself dropped from 1,069 to 415 estimated tokens, a 61% cut.
Safety design:
- Only converts when image pages actually beat text
- Failed conversions leave files byte-identical and name the gate that rejected it
- --dry-run shows token math for every installed skill with no writes
- --revert restores the original byte for byte from SKILL.orig.md
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29