cd /news/ai-tools/claude-code-team-should-try-macro-so… · home topics ai-tools article
[ARTICLE · art-64565] src=news.ycombinator.com ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Claude Code team should try macro so users can complete 3x as many tasks

A developer proposes that Anthropic's Claude Code team implement a macro command to batch multi-step coding tasks (e.g., patching, building, testing) into a single turn, claiming it can reduce LLM turns by 40-80% and save a similar amount of tokens. The developer tested the approach on another unnamed coding agent and provider, and published implementation and benchmarks on GitHub under Tura-AI/tura.

read1 min views52 publishedJul 18, 2026

So the idea is really simple. If CC need to change a file and run some test, CC needs to: # Turn 1 — apply patch (change package file) # Turn 2 — apply patch (fix the bug) # Turn 3 — apply patch (edit the testing script) # Turn 4 — build # Turn 5 — run tests and lint # Turn 6 — *and if is playwright CC needs another round to read media

The concept is that we can use macro command to put the entire process into a RAG in one single turn. For example like this:

step1: inspect env step2: apply patch (change package file) step2: apply patch (fix the bug) step2: apply patch (edit the testing script) step3: build step4: run tests and lint step5: read medias I could not test this implementation due to Antropic terms of use. But I tested on other coding agent and providers this can reduce llm turns around by 40% - 80%, and saving nearly same amount of tokens. (I need to use ** to hide the provider's name in order to avoid the post being deleated by the bot).

If you think this approch could help and my testing method is reasonable, you can give me an upvote! Thx Here is the implementation and testing benchmark can be found in the md. I tested with DeepSWE and entire repo rewrite cases:

https://github.com/Tura-AI/tura

Comments URL: [https://news.ycombinator.com/item?id=48957109](https://news.ycombinator.com/item?id=48957109)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-code-team-sho…] indexed:0 read:1min 2026-07-18 ·