Command-line interface for OpenTask - Human-Agent Task Board
cd ~/code/opentask-cli
npm install
npm link # Makes `opentask` available globally# Login
opentask auth login
# Enter email and password when prompted
# Check status
opentask auth status
# Logout
opentask auth logout# All tasks
opentask list
# Filter by agent
opentask list --agent developer
# Filter by status
opentask list --status todo
# Filter by project
opentask list --project opentask
# Combine filters
opentask list --agent pm --status in_progress
# JSON output
opentask list --jsonopentask show <task-id>
# JSON output
opentask show <task-id> --json# Minimal
opentask create "Fix bug in auth"
# With options
opentask create "Implement feature X" \
--description "Add support for..." \
--assign developer \
--priority high \
--project 6rp1tj92kbtp980# Update status
opentask update <task-id> --status in_progress
# Reassign
opentask update <task-id> --assign reviewer
# Change priority
opentask update <task-id> --priority high
# Multiple updates
opentask update <task-id> --status blocked --priority high# Mark as complete
opentask complete <task-id>
# With comment (future)
opentask complete <task-id> --comment "Implemented and tested"# Override API URL
export OPENTASK_API_URL=https://opentask-production.up.railway.app
# Direct token (bypasses auth file)
export OPENTASK_TOKEN=your-token-hereAgent workflow:
# On session start
opentask list --agent developer --status todo
# Claim a task
opentask update abc123 --status in_progress
# Complete when done
opentask complete abc123PM workflow:
# Create task and assign
opentask create "Fix deployment bug" \
--assign developer \
--priority high \
--project opentask
# Check team progress
opentask list --status in_progressCredentials stored in: ~/.openclaw/.opentask-auth.json
Format:
{
"token": "...",
"user": {
"id": "...",
"email": "...",
"name": "..."
},
"timestamp": "2026-02-14T..."
}Base URL: https://opentask-production.up.railway.app
Uses PocketBase REST API.
MIT