Skip to main content
Claude Code includes a task system for managing longer-running work that may span multiple steps or need to run in the background.

Task tools

Creating tasks

Claude uses the task system automatically for long-running work. You can also ask explicitly:

Viewing tasks

The /tasks command opens the task management UI showing all active, pending, and completed tasks with their current status and output.

Scheduled tasks

The ScheduleCronTool (also shown as CronCreateTool in some contexts) lets Claude create scheduled triggers:
Scheduled tasks use cron-style scheduling and run via the background task runner.

Background task monitoring

Use /tasks to monitor task progress:
  • pending — Task is queued but not yet started
  • running — Task is actively executing
  • completed — Task finished successfully
  • failed — Task encountered an error
Tasks persist across REPL sessions. Use /resume to reconnect to a previous session and check on tasks that were running when you closed Claude Code.