Read-only analysis before coding. Uses fewer tokens. Prevents trial-and-error loops.
Front-load constraints and file paths. Vague prompts cause exploring — burning tokens to find what you already know.
Claude Code
"In src/auth.ts add JWT
using types/auth.d.ts"
Cursor
@src/auth.ts "Add JWT"
Codex
/mention files + prompt
Gemini
@file + specific prompt
Don't Paste Large Blobs
All
Pasting full docs, logs, images, or long stack traces floods your context and gets re-sent every turn. Instead: point to files by path, pipe logs through tail/head, paste only the relevant error, and use @file references for docs. Let the agent read what it needs.
Combine related changes in one prompt. Each turn re-sends full context — fewer turns = fewer re-reads.
Claude Code
"Add validation, handler,
and tests for /users"
Cursor
Same — batch prompts
Codex
Same — batch prompts
Gemini
Same — batch prompts
Watch, Don't Interrupt
All
Each interruption re-ingests context. Queue feedback, deliver in one shot. Corrected twice and still wrong? Rewrite instructions, start fresh.
Use Ask / Read-Only Mode
All
Explore code without changes — cheaper than full agent mode.
Use /btw for Side Questions
CC
Ask a quick question without adding to conversation history. Uses parent cache so minimal cost.
Claude Code
/btw
Doesn't add to history