promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/tasks

Shows background work of the current session, not separately attached sessions.

/tasks opens the view of background work in the running session: active and already completed subagents as well as running background shell commands. Completed subagents stay marked and viewable until the session cleans up its task list. Like /status and /usage, the command runs immediately and doesn't interrupt a response in progress. Alias is /bashes. This is different from Claude's to-do checklist (Ctrl+T), which shows planned steps of a task rather than technical background processes. If a separate cloud or background session was additionally started from the current session, for example via claude --cloud, it also appears as a row in /tasks; pressing t lets you jump directly into it via teleport from there. A complete overview of all your own background sessions across projects, on the other hand, is provided by claude agents (Agent View).

โœ… WHEN TO USE IT?

Checking the current session's running background subagents

After starting several subagents with /batch, call /tasks to see what's still running and what's already done.

Checking for open background work before ending the session

Before /exit, call /tasks briefly to see whether any subagents or shell commands are still running that you don't want to lose.

โ›” WHEN NOT TO?

Wanting to see scheduled cron/loop schedules or Claude's to-do checklist

/tasks shows running shells and subagents, not the to-do checklist (Ctrl+T) and not schedules planned via /loop or /schedule

Better: Ctrl+T for the to-do checklist, /schedule for cloud routines, or ask Claude directly about scheduled runs

Keeping track of all your own background sessions across all projects

/tasks is tied to the current session and mainly shows its subagents/shells, not by default every background session from other directories

Better: open claude agents (Agent View) for the cross-project overview of all background sessions

SOURCES

MORE COMMANDS ยท Claude Code

/teleport/upgrade/usage/verify/vim/bug/stop/team-onboarding/terminal-setup/theme/tui/ultrareview

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ