
Some of the things you start in a session keep going by themselves: a task you told Claude to repeat with /loop, or a finish line you set with /goal. Before version 2.1.329, the way to stop a task set to repeat on a fixed interval was to ask Claude.
Now there's one list. Type /tasks and press Enter. You see what is running in this session, with how often each repeating task runs. Use the arrow keys to pick a line and press x to stop it. Claude Code asks first, with "No, keep running" already selected, so a slip of the finger stops nothing. Press Esc to close the list.
We tried it with a task set to repeat every two minutes. It showed in the list as "Every 2 minutes". We pressed x and answered no, and it kept running: twice in the next few minutes. We pressed x and answered yes: the session said "Stopped scheduled task", the list said "No tasks currently running", and nothing ran in the next three minutes. A goal showed in the same list, and x cleared it.
/tasksWhy it works
Every time a repeating task runs, it uses some of your plan, and a goal keeps Claude working until its finish line is reached. Look at the list before you walk away, so the only things still running are the ones you want.
Watch out
The list covers this session only. We didn't test scheduled tasks that run in the cloud; the docs say you manage those at claude.ai/code/routines. And a repeating task only runs while the session is open. Don't type /tasks while Claude is waiting for a yes or no from you. In our test the keys landed on that question and answered yes. Answer the question first, or press Esc. The release notes say the list also shows copies you've made of the conversation. We tested a task repeating on a fixed interval and a goal, in the terminal.
Needs Claude Code 2.1.329 or later