Persistent task management for agentic loops. Create, track, and complete multi-step tasks across AI agent sessions. Tasks survive context window resets, enabling long-running workflows that span multiple interactions.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
| --session | — | Scope task storage to the current session only | No |
# Create a task and receive its ID scorpiox-tasks create --query "Deploy v2.1 release" Task created: id=1 name="Deploy v2.1 release"
# Add sequential steps to task 1 scorpiox-tasks add --task-id 1 --text "Run test suite" scorpiox-tasks add --task-id 1 --text "Build release binaries" scorpiox-tasks add --task-id 1 --text "Push to production" Step 1 added to task 1 Step 2 added to task 1 Step 3 added to task 1
# Mark first step as done scorpiox-tasks complete --task-id 1 --step-id 1 # View all pending work scorpiox-tasks pending Task 1: "Deploy v2.1 release" (1/3 complete) [ ] Step 2: Build release binaries [ ] Step 3: Push to production
# Full overview of all tasks and steps scorpiox-tasks list Task 1: "Deploy v2.1 release" (1/3 complete) [✓] Step 1: Run test suite [ ] Step 2: Build release binaries [ ] Step 3: Push to production Task 2: "Refactor auth module" (0/2 complete) [ ] Step 1: Extract OAuth logic [ ] Step 2: Write unit tests
# Switch agent focus to a specific task # Clears context window, reloads task state scorpiox-tasks switch --task-id 2 Switched to task 2: "Refactor auth module" Context cleared. 2 pending steps loaded.
# Create a task that only lives in the current session scorpiox-tasks --session create --query "Quick debug investigation" # Tasks created with --session are automatically cleaned # up when the session ends