# TodoWrite Tool

> The old checklist tool. The Task tools took its place.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** TodoWrite, CLAUDE_CODE_ENABLE_TASKS

## Think of it like

It is like a short list on a sticky note.

## Definition

The TodoWrite tool keeps one simple checklist for the session. It is the older way Claude tracked its steps, and the Task tools have replaced it. It is off by default. In a session that has the Task tools, setting CLAUDE_CODE_ENABLE_TASKS=0 brings TodoWrite back in their place. It never asks for permission.

## Example

Jack's script was written for the old checklist. He sets the variable to zero, and Claude uses TodoWrite again.

## Example code

```bash
CLAUDE_CODE_ENABLE_TASKS=0 claude
```

Use the old checklist in place of the task tools.

## Why it matters

Old scripts and habits built on it still work, if you ask for it.

## Common mistake

Turning it on and the Task tools at the same time. You get one or the other, never both.

## Three principles

- **One checklist.** For the session.
- **The old way.** Task tools replaced it.
- **One or the other.** Never both.

## Related terms

- [Task Tools](https://learn.benibix.com/term/ai/task-tools)
- [Agent Planning](https://learn.benibix.com/term/ai/agent-planning)

## Taught in

- [Claude Code Session Tools](https://learn.benibix.com/learn/ai-claude-code/claude-code-session-tools): Claude Code, 11/16

![Tools that steer the session: ask a question, switch to plan mode, enter a worktree, run a skill, keep a task list.](https://learn.benibix.com/diagrams/ct-session-tools.svg)

---

Source: https://learn.benibix.com/term/ai/todo-write-tool
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
