WeWorkBuddy

Cutting (Claude Code) token spend on dynamic workflows 80%

Discovered something very interesting by chance a few days ago, and thought it might be interesting for other people running dynamic workflows with claude code. The workflow scripts themselves are javascript. Claude code knows the format and it can make a tool that composes workflows instead of going through LLM each time. I got it to do that, and with a few more tweaks it got the token spend for workflow execution and monitoring down to about 20% of what it was before, significantly speeding it

Read original source
Source page screenshot: Cutting (Claude Code) token spend on dynamic workflows 80%
Source page screenshot · news.ycombinator.com

Source record

Recorded metrics

points · 3 votes
2026-11-27 22:31:02.521Z
cumulative since publication

Research analysis

Reported problem

Source account: Discovered something very interesting by chance a few days ago, and thought it might be interesting for other people running dynamic workflows with claude code. The workflow scripts themselves are javascript. Claude code knows the format and it can make a tool that composes workflows instead of going through LLM each time. I got it to do that, and with a few more tweaks it got the token spend for workflow execution and monitoring down to about 20% of what it was before, significantly speeding it

Frequency & alternatives

Recorded author: gojkoa. Source votes: 3 votes (Nov 27, 2026 UTC; cumulative since publication); previous same-scope observation: 3 (Nov 27, 2026 UTC). These observations do not establish demand growth. Recent records to compare: “[问与答] Astra 6.2 的指令遵循是不是有很大的问题?” (V2EX, Nov 27, 2026); “[分享发现] 有没有有 Google Play 开发者账号的老哥,能把 AnyAuto 发布到内测通道试试?” (V2EX, Nov 27, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.

Demand hypothesis

Treat the reported task or obstacle as an interview lead. A feature request, complaint or search for alternatives does not by itself identify a budget owner or willingness to pay.

Commercial evidence gaps

Missing evidence: distinct affected users, repeated occasions, current workaround, measured time or money cost, purchasing authority and a response to a concrete offer.

Validation decision

Group original reports by the same task and deduplicate authors and reposts. Ask how the task is handled today and what it costs; test a defined offer before claiming paid demand.