Claude Code Session Tools
Level 4 · The tools it uses
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 contentsLesson 11 of 16
Level 1 · Starting out
Level 2 · Asking before it acts
Level 3 · Telling it how you work
Level 4 · The tools it uses
Level 5 · Growing past one chat
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
9 mincovers 7 glossary entries
Worth reading first: Bash, WebFetch and WebSearch
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 |
Worked 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.
The words for this lesson7
Check yourself
Which plan mode tool needs your yes?
Finished this lesson?
Marking it complete also marks its 7 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.