Show HN: Open-Sourced Code Mode to Cut ~60% of My Rust Agent's Token Burn
4 comments
- Points2
- Comments4
4 comments
For those who are tracking, Anthropic released an announcement last week about their experimental code mode for Claude Code, claiming some bonkers token savings when it comes to tool calls (95% on some workloads(1)). I haven't benchmarked it myself, but independent studies come in somewhere closer to 60~70% savings (2), but I digress. TLDR; I built an open-source version for the community. Context: I'm writing an AI RPG engine called Spookery, and I immediately wanted to try this technique for…
Story details from Hacker News ↗ · linked article on github.com.
Show HN: Open-Sourced Code Mode to Cut ~60% of My Rust Agent's Token Burn was first seen on Hacker News · Show HN on Nov 27, 2026. Since then it has appeared in 2 checks on 1 different day. Its best position was #27 of 30, reached on Nov 27, 15:23 UTC. It is #27 right now.
Position on Hacker News · Show HN at every check (lower is better).
Best rank per day (UTC).
points as reported by Hacker News.
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
Hm, my claude code and codex always write scripts in python or js, depends on project, without any ghost modes...
> by having the agent write code against its tools instead of loading every tool definition up front what does "write code against its tools" mean in practice?
Archived daily, weekly and monthly lists that include this entry.
Yes. As of Nov 27, 15:23 UTC it is #27.
#27 on Hacker News · Show HN, on Nov 27, 15:23 UTC. Trendoday checks this list every 30 minutes.
It was first seen on Nov 27, 2026 and has been on the list on 1 day (2 checks) since.
2 points and 4 comments; submitted by legend-of-alan on Nov 27, 2026.