Skip to main content

Synopsis

profclaw task <subcommand> [flags]

Description

task manages the agentic work queue. Tasks are units of work assigned to agents - they can originate from GitHub issues, Jira tickets, Linear cards, Slack messages, cron schedules, or the CLI. Each task progresses through a lifecycle: pending -> queued -> in_progress -> completed (or failed / cancelled).

Subcommands

SubcommandAliasDescription
listlsList all tasks with filtering
show <id>getShow detailed information for a task
create <title>-Create a new task
cancel <id>-Cancel a running or pending task
retry <id>-Requeue a failed task
status [id]-Quick status check or summary counts

task list

-s, --status
string
Filter by task status: pending, queued, in_progress, completed, failed, cancelled.
-l, --limit
string
default:"20"
Maximum number of tasks to return.
--json
boolean
Output as JSON array.

task create <title>

title
string
required
Task title. The title is also used as the initial prompt if no description is provided.
-d, --description
string
Task description / detailed prompt for the agent.
-p, --priority
string
default:"3"
Priority level from 1 (critical) to 5 (low). Affects queue ordering.
-a, --agent
string
Agent name to assign the task to. Defaults to the system’s configured default agent.
--json
boolean
Output created task as JSON.

task show <id>

id
string
required
Task ID or ID prefix (first 8 characters are sufficient).
--json
boolean
Output as JSON.

task status [id]

Without an ID, prints a summary count by status. With an ID, prints just the status string for that task - useful in scripts.

Examples

profclaw task list

Task Status Values

StatusDescription
pendingWaiting to be picked up by the queue
queuedIn the queue, waiting for an available agent
in_progressCurrently being executed by an agent
completedFinished successfully
failedExecution ended with an error
cancelledManually cancelled before completion