Command reference ยท Claude Code
/tasks
Lists background tasks of the current session and attached background sessions.
โ WHEN TO USE IT?
Check running background subagents
After starting several subagents with /batch, call /tasks to see what's still open across the current session and any attached background sessions.
Get an overview before ending the session
Before /exit, quickly check /tasks to see if any background tasks are still running that you don't want to lose.
โ WHEN NOT TO?
Viewing scheduled cron/loop schedules
Per the docs, /tasks lists the session's background tasks, not the schedules created via /loop or /schedule.
Better: Ask Claude directly ('what scheduled tasks do I have?') for /loop schedules, or use /schedule for cloud routines.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com