# Claude Code Session Tools

> The Claude Code tools that steer the session. They ask you a question, go in and out of plan mode, move to a worktree, run skills and track tasks.

**Course:** [Claude Code Basics](https://learn.benibix.com/learn/ai-claude-code)  
**Time:** 9 min

**After this lesson you can:**

- Say what the plan mode tools do
- Explain when Claude asks a question with choices
- Know which task tools a model gets

## Which tools steer the session itself

Some tools do not touch your files at all. They steer the session. AskUserQuestion shows you a question with a few choices when Claude needs a decision. EnterPlanMode moves into plan mode without asking. ExitPlanMode shows you the finished plan and needs your yes before any work starts. If you say no, Claude stays and changes the plan.

A question from AskUserQuestion stays open until you answer it. You pick a choice, or type your own answer. It is how Claude asks which of two designs you want, instead of guessing and building the wrong one. In a script with nobody watching, it can be removed so the run never waits.

A git worktree is a second copy of your project on its own branch. One tool makes a worktree and moves the session into it, or moves into one that is already there. A move to a folder outside the usual worktree folder asks you first. A second tool goes back to the folder the session started in.

The Skill tool runs a skill inside the main chat. A skill is a saved set of steps. Claude calls the tool when a task fits a skill, or when you type a slash and the skill's name. Most skills run without asking, but a skill that grants itself extra tools may ask first.

The task tools keep a to-do list for the work. One adds a task, one reads it, one lists them all and one changes it. A task can wait on another. They come by default only on some older models. On newer models, you switch them on with a setting before you start.

TodoWrite is the older single checklist that the task tools replaced. It is off by default, and one setting brings it back in their place. A last tool ends a session. Claude uses it only after you ask it to end and confirm, or after a long run of abuse.

## Session tools and whether they ask

| Tool | What it does | Asks first |
| --- | --- | --- |
| AskUserQuestion | Asks you a question with choices | No |
| EnterPlanMode | Moves into plan mode | No |
| ExitPlanMode | Shows the plan and waits for your yes | Yes |
| EnterWorktree | Makes a worktree and moves into it | Yes, outside .claude/worktrees |
| Skill | Runs a skill in the main chat | Some skills |
| TaskCreate and the rest | Keep a list of tasks | No |
| EndConversation | Ends the session | No |

![One session with five tools around it: AskUserQuestion asks you, plan mode plans and then asks, worktree makes a second copy, Skill loads steps, and the task tools keep a task list. None of them edit your files.](https://learn.benibix.com/diagrams/ct-session-tools.svg)

### Example: Emma picks the design up front

Emma asks for a settings page. Claude finds 2 ways to store the settings, and asks with AskUserQuestion: in the database, or in a file.

She picks the database. Claude writes the plan, she approves it at ExitPlanMode, and no time goes into the version she did not want.

**Words in this lesson:** [AskUserQuestion Tool](https://learn.benibix.com/term/ai/ask-user-question-tool), [Plan Mode Tools](https://learn.benibix.com/term/ai/plan-mode-tools), [Worktree Tools](https://learn.benibix.com/term/ai/worktree-tools), [Skill Tool](https://learn.benibix.com/term/ai/skill-tool), [Task Tools](https://learn.benibix.com/term/ai/task-tools), [TodoWrite Tool](https://learn.benibix.com/term/ai/todo-write-tool), [EndConversation Tool](https://learn.benibix.com/term/ai/end-conversation-tool)

**Question:** Which plan mode tool needs your yes?

**Answer:** ExitPlanMode, because it starts the real work. Going into plan mode is safe, so it runs without asking. Leaving it starts the edits, so ExitPlanMode shows you the plan and waits for your yes.

---

Source: https://learn.benibix.com/learn/ai-claude-code/claude-code-session-tools
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-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
