Claude Code’s tasks are Claude’s own checklist for the work in front of it. The TaskCreate, TaskUpdate, TaskList and TaskGet tools write items to ~/.claude/tasks/, and Ctrl+T shows them. It is not your to-do list: on models newer than Opus 4.7, Sonnet 4.6 and Haiku 4.5 it is off unless you set CLAUDE_CODE_ENABLE_TODO_TOOLS=1, and Claude Code deletes old lists after 30 days by default. For a list of your own work that agents can read and update, use a file in the repo, your issue tracker’s MCP server, or a personal task list over MCP.
The Claude Code facts here come from its docs as they read on 16 November 2026.
Four things Claude Code calls tasks
| Name | What it is | How you see it | Where it lives |
|---|---|---|---|
| Task list | Claude’s checklist for multi-step work | Ctrl+T | ~/.claude/tasks/ |
| Background tasks | Shell commands and subagents that run while you keep typing | /tasks | The session; they stop when Claude Code exits |
| Scheduled tasks | Prompts on a timer: /loop and cron inside a session, /schedule in the cloud | Ask Claude, or /schedule | The session, or claude.ai for cloud ones |
| Agent team task list | A shared list teammates claim work from | Ctrl+T in the agent panel | ~/.claude/tasks/{team-name}/ |
What is the Claude Code task list?
When Claude plans multi-step work, it writes each step as a task. A task is pending when created, in_progress when Claude starts it and completed when done, and Claude deletes one that no longer applies. Tasks can depend on other tasks, and a blocked one waits until the ones before it finish.
Ctrl+Ttoggles the view, which shows up to five tasks at a time.- To see all of them or clear them, ask in plain words: “show me all tasks”, “clear all tasks”.
- The list survives context compaction, so Claude keeps its plan when a long conversation gets summarized.
TodoWrite is the older tool for the same checklist. It is off by default now; CLAUDE_CODE_ENABLE_TASKS=0 brings it back in place of the four Task tools.
Why is my Claude Code task list empty?
Most likely it’s the model. Per the tools reference, Claude Code provides the task tools by default only on Opus 4.7, Sonnet 4.6, Haiku 4.5 and earlier models. On newer models, and on any model ID it doesn’t recognize (a custom name behind an LLM gateway, say), it leaves them out. The docs give two reasons: newer models track multi-step work without a written checklist, and the tool definitions take up context. Ctrl+T then shows nothing, because there is nothing to show.
To get the list back for one session:
CLAUDE_CODE_ENABLE_TODO_TOOLS=1 claude
For every session, add it to ~/.claude/settings.json:
{
"env": {
"CLAUDE_CODE_ENABLE_TODO_TOOLS": "1"
}
}
The variable needs Claude Code v2.1.233 or later. claude --allowedTools TaskCreate also switches the tools on for one session. Subagents get the task tools only when your session has them.
Does the Claude Code task list persist between sessions?
Partly, and for a while.
- It’s on disk in
~/.claude/tasks/, one directory per list. claude --resumeorclaude --continuebrings a session back with its tasks.- To have several sessions work from one list, start each with the same ID:
CLAUDE_CODE_TASK_LIST_ID=billing-migration claude. In agent teams, claiming uses file locking, so two teammates can’t take the same task. - Claude Code’s background sweep deletes anything in
tasks/older thancleanupPeriodDays, which is 30 by default.claude purgedeletes a project’s per-session task lists along with its transcripts.
The bigger limit is scope. The list is Claude’s plan for the job at hand. It has no idea that a teammate asked for a review in Slack this morning, or that a Linear ticket moved to you overnight.
Background tasks are a different list
Claude can start a long command, such as a dev server or a watch build, as a background task, or you can press Ctrl+B to push a running one there. Output goes to a file Claude reads later. /tasks lists the session’s running shells and subagents, finished subagents included, and stops them. Background tasks end when Claude Code exits, unless you detach the whole session with /background.
Scheduled tasks are a third thing: /loop and the cron tools repeat a prompt inside a session, and /schedule creates cloud scheduled tasks (formerly routines) on claude.ai, which need a Pro, Max, Ultra, Team or Enterprise plan.
How to keep a durable task list Claude Code can read
A markdown file in the repo
Keep TODO.md at the root and import it from CLAUDE.md with a line that reads @TODO.md, so every session loads it. Claude edits it like any file, it’s versioned, and changes show up in review. It costs nothing and works with every agent.
The limits: it holds only what someone types into it. With parallel sessions in worktrees, each worktree has its own copy on its own branch, so three sessions produce three diverging lists until you merge. And the whole file loads into context every session; imports organize a file but don’t make it cheaper.
Your issue tracker’s MCP server
Linear and GitHub both run remote MCP servers. From Linear’s docs and Claude Code’s:
claude mcp add --transport http linear-server https://mcp.linear.app/mcp
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \
--header "Authorization: Bearer YOUR_GITHUB_PAT"
Run /mcp in a session to sign in to Linear. If you want Claude to read tickets but never change them, Linear offers https://mcp.linear.app/mcp/readonly. The team sees the same list, it outlives every session, and Claude can comment, move and close tickets.
The limits: it holds team tickets, not the ask in your DMs or the thing you promised on a call. Every write is real and visible to the team.
A personal task list over MCP
A to-do app with its own MCP server gives you one list across projects, including work that never becomes a ticket. Because MCP is not tied to one client, the same list can be open to Codex or the ChatGPT desktop app too; ChatGPT MCP covers which ChatGPT surfaces can run a local server. The limits: it’s another app to run, and its list is only as good as what it captures.
| Markdown in repo | Tracker MCP | Personal list over MCP | |
|---|---|---|---|
| Setup | None | claude mcp add, then OAuth or a token | Install the app |
| Holds | What you write | Team tickets | Your own work, wherever it came from |
| Parallel worktrees | One copy per branch | One source | One source |
| Who sees it | Anyone with the repo | The team | You |
Many people run two: the tracker for team work, a personal list for the rest.
Sharpy: your own list, readable by Claude Code
Sharpy is a free AI to-do list for Mac. It builds the list from Gmail, Slack, Google Calendar, GitHub and the text on your screen, and tasks assigned to you in Linear, Todoist, Jira and Asana join it. Sharpy sets itself up in Claude Code at first launch. The app has to be running; when it isn’t, the server offers only sharpy_status.
list_workreads the list.add_work_itemsuggests a task.update_work_itemrenames, moves or marks one done.wait_for_list_changewaits up to 50 seconds for the list to change.push_statusandend_sessionshow a running session on your list as a line you wait on, then end it.
Changing the list needs that client’s control right, on once you press Allow. Then “what’s next on my list?” starts a session and “done, mark it” ends one. A task tied to a pull request closes by itself when it merges.
Sharpy runs on macOS 14 or later, on Macs with Apple silicon. Your history is stored on your Mac; to find tasks, Sharpy sends the relevant text through its server to cloud AI models. Every tool is on the MCP page, the workflow on Sharpy for engineers.
Sharpy also reads what you typed to Claude Code in the last two weeks. When the same ask shows up on three different days, it offers an automation with a first look at the result, and runs nothing until you press Keep it. On a task, Let Sharpy do it hands the work to Claude Code or Codex in its own branch; the agent opens a pull request and never merges it.
Download Sharpy for Mac. Windows and Linux have a waitlist.
Sources, checked 16 November 2026: Claude Code tools reference, interactive mode: task list, environment variables, the .claude directory, agent teams, settings, memory and imports, MCP, Linear MCP server.






