How They Use AI  |  Newest

<< Home  |  Work

Reduced token consumption by shifting from loops to planning

AreaWork
AI usedClaude, Codex
Sourcer/Anthropic
Posted2026-07-21

The move

Use a high-level model to create a detailed implementation plan across multiple files before assigning coding tasks to specialized agents.

Steps

  1. Define the project requirements and scope in detail.
  2. Ask a capable model to create a comprehensive implementation plan across multiple files.
  3. Review the plan to ensure technical accuracy and logic.
  4. Assign specific coding tasks from the plan to a secondary agent.
  5. Review the agent's output against the original plan before implementation.

Prompt for your AI

Act as a software architect. Create a detailed implementation plan for [Project Name/Feature]. Break the requirements down into specific tasks and explain how they should be implemented across the following files: [List files]. Ensure the plan is modular and addresses potential edge cases.

What happened

The user previously wasted 1.6 billion tokens monthly by repeatedly prompting agents to fix errors without human oversight. By switching to an 'architect' workflow, they now use Claude to generate detailed project plans first. This structured approach reduces misunderstandings and token waste, resulting in higher-quality code that requires fewer revisions.

Watch out

Over-planning can lead to analysis paralysis. Relying solely on an architect model without verifying the generated code can lead to subtle bugs.

Give it to your agent

Read https://howtheyuse.ai/p/reduced-token-consumption-by-shifting-from-loops-to-planning.md and help me do this.

Sources



Last updated November 26, 2026.