6 tips to slash token costs in Claude Code workflows (ultracode)
majidmanzarpour · x · 2026-10-01
Engineer majidmanzarpour shares 6 practical tips for keeping token costs down when using workflows (ultracode) in Claude Code:
- Set effort first: /effort high (or medium) for routine work; request xhigh/max only for named hard parts.
- Describe the workflow in plain words with limits: e.g. "at most 6 agents, effort high, one fix round plus one review, no multi-vote verification."
- Set a token budget: a directive like "+2M tokens" becomes a hard ceiling the workflow sizes itself to.
- Cap the loops: "max 2 rounds" or "stop after first approval"; open-ended loops like "until no new bugs" are the biggest multipliers.
- Name what can be cheaper: mechanical steps (metrics, renders, docs) at low/medium; judgment steps (reviews, hard debugging) at high/xhigh.
- Ask for a checkpoint: "pause after phase 1" stops the fan-out before you've reviewed.
Bottom line: reserve the ultracode keyword for tasks where exhaustiveness is worth it; a plain "use a workflow" with explicit limits gets most of the benefit at a fraction of the cost.
Related event: Six Tips to Cut Token Costs in Claude Code Workflows(2 posts)→
More from coding & agent
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- 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