Skip to main content
Module 1: Core Agent 3 / 6
Beginner S03 Planning Task Tools Task Management

Planning with Task Tools

Use Plan mode and Claude Code's structured Task tools to explore, approve, execute, and verify complex work.

March 20, 2026 15 min read

What You’ll Learn

Complex work needs both an approved approach and a live execution checklist. They are related, but they are not the same mechanism:

  • Plan mode lets Claude explore without editing source files and present an approach for approval.
  • TaskCreate, TaskGet, TaskList, and TaskUpdate track the work after it has been broken down.

By the end, you will know how to use both without confusing planning permission with task status, and how to tell whether your session has the Task tools at all.

The Current Task System

In sessions that have task tracking, Claude Code provides four structured Task tools:

ToolPurpose
TaskCreateCreate one task and receive its ID
TaskUpdateChange status, details, owner, or dependencies
TaskGetRead the full record for one task
TaskListRead a snapshot of all current tasks

TodoWrite is the legacy single-checklist tool. Claude Code offers it in place of the Task tools only when you set CLAUDE_CODE_ENABLE_TASKS=0. New tutorials and integrations should use the Task tools.

A task normally moves through this lifecycle:

pending → in_progress → completed

If a task is no longer needed, TaskUpdate can set its status to deleted. Tasks persist across context compaction, and Ctrl+T toggles the task list view in the terminal.

Which Models Get the Task Tools

Since v2.1.268, Claude Code provides the task-tracking tools by default only on Opus 4.7, Sonnet 4.6, Haiku 4.5, and earlier models; from v2.1.233 they were already withheld from Opus 4.8, Sonnet 5, Fable 5, and newer models. On current models such as Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1, Claude keeps track of multi-step work without a written checklist, so the task list stays empty.

To get the tools on any model, opt in when you start the session:

CLAUDE_CODE_ENABLE_TODO_TOOLS=1 claude   # every model and provider (v2.1.233+)
claude --allowedTools TaskCreate         # naming a Task tool also opts in

Background and cloud sessions provide the tools on every model, and subagents get them only when your session has them. Don’t confuse this checklist with background work: /tasks and TaskStop manage running shells and subagents, and the old TaskOutput tool was removed in v2.1.277 (Claude now reads a background task’s output file with Read).

Plan, Execute, Verify

PLAN
  Explore the repository with read-only tools
  Identify scope, risks, and dependencies
  Present the plan for approval
       ↓ approved
EXECUTE
  Create tasks with TaskCreate
  Move one active task to in_progress
  Update the list as facts change
       ↓ implementation complete
VERIFY
  Run the relevant tests and checks
  Inspect the final diff
  Mark tasks completed only with evidence

The task list is not proof by itself. A task should become completed only after its acceptance condition has actually been checked.

Enter Plan Mode Correctly

Start in Plan mode from the CLI:

claude --permission-mode plan

During an interactive CLI session, press Shift+Tab to cycle to Plan mode, or prefix a single prompt with /plan.

In Plan mode Claude reads files and runs shell commands to explore the codebase, but it does not edit your source files until you approve a plan. When auto mode is available and useAutoModeDuringPlan is on (its default), the auto mode classifier reviews shell commands instead of prompting you; otherwise, commands outside the built-in read-only set still ask for approval. When Claude presents a plan, you can approve it (continuing in auto mode or approving each edit yourself), keep planning, or press Ctrl+G to edit the plan in your editor first.

Plan mode does not mean that every read requires approval. Use the documented --permission-mode plan startup form shown above.

A Planning-First Prompt

/plan Add a notification system to this application.

Before proposing the implementation:
1. Inspect the existing architecture and tests.
2. Identify database, API, UI, migration, and rollout work.
3. Make dependencies and verification criteria explicit.
4. Do not change files until I approve the plan.

After approval, ask Claude to track execution:

Create a structured task list from the approved plan. Keep exactly one task
in progress unless independent work is deliberately parallelized. For every
task, include a concrete completion check and update the status as work proceeds.

On a current model, launch the session with CLAUDE_CODE_ENABLE_TODO_TOOLS=1 (as shown above) before you send this prompt. Without the Task tools, Claude still works through the plan, but nothing appears in the task list.

Claude may conceptually make calls like these:

{"tool": "TaskCreate", "subject": "Add notification schema", "description": "Add migration and verify rollback"}
{"tool": "TaskUpdate", "taskId": "1", "status": "in_progress"}
{"tool": "TaskUpdate", "taskId": "1", "status": "completed"}
{"tool": "TaskList"}

The actual task ID comes from the TaskCreate result; do not invent IDs in an SDK integration.

What Good Planning Changes

Without a planning checkpointWith Plan mode + Task tools
Editing begins before scope is understoodRead-only exploration comes first
Related changes are forgottenWork is decomposed with acceptance checks
Progress is described only in proseTask status remains visible
“Done” means Claude stopped editing“Done” means verification passed

Next Session

In Session 4, we’ll explore subagents and context isolation. Session 7 will extend this task list into a dependency graph.

Official sources

Last verified: 2026-10-21.