Cmd. /tasks
Manage current-session background work (/bashes).
Written and reviewed by Eric Han · Co-founder & CTO, reopt
Key takeaways
- Manage current-session background work (
/bashes). - Check the input surface and availability before using the examples below.
Purpose
Manage current-session background work (/bashes).
/tasksAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | /bashes |
| Documented minimum | Not specified |
| Reviewed against | 2026-10-23 · Claude Code 2.1.308 |
The installed command menu and account or organization settings determine availability.
Examples
/tasksEffects and persistence
Inspects and manages background work and completed subagents in this session.
Cautions
Task status and session status have different scopes; inspect the specific background task before stopping work. From v2.1.285, background work Claude Code runs for itself is folded under one "System tasks" row; press Enter on it to expand. The time limit on background Bash and PowerShell commands (their timeout with run_in_background, default 30 minutes, maximum 2 hours) was added in v2.1.285 and applies only in unattended sessions such as -p, the Agent SDK, CI, and cloud from v2.1.288.