Skip to main content

The question

What if the agent forgets what remains — or plans everything?

The answer

Make planning conditional; persist only compact task state.

Simple task

read → edit → verify

Complex task

plan → tasks → execute

Then

observe → re-plan

Source

Claude Code docs — code.claude.com/docs — Matches two real, documented features: Plan Mode (read-only exploration before any edit) and the TodoWrite tool (persistent, visible task state).
Design decision: Plan only when complexity earns the overhead.

Continue the walkthrough

Subagent isolation

Continue to topic 9 of 14.