AnyTask CLI - Command Reference
Complete command reference auto-generated from CLI introspection.Command Overview
| Command | Description |
|---|---|
anyt active | Show the currently active task |
anyt agent | Manage coding agent integrations |
anyt comment | Manage task comments |
anyt config | Manage CLI configuration |
anyt health | Check backend server health |
anyt init | Initialize AnyTask in current directory |
anyt login | Login to AnyTask using API key |
anyt pull | Pull tasks from server to local filesystem |
anyt push | Push local task changes to server |
anyt self | Manage the CLI installation |
anyt summary | Generate workspace summary |
anyt task | Manage tasks |
anyt worker | Automated task worker commands |
anyt
AnyTask - AI-native task management from the command line--version, -v- Show version and exit
anyt active
Show the currently active task.--json- Output in JSON format
anyt agent
Manage coding agent integrations (Claude Code, Cursor, Codex, Gemini, etc.)anyt agent install
Install slash commands for a coding agent.AGENT_TYPE- Agent type to install (e.g., ‘claude’). Interactive if omitted.
--force, -f- Override existing commands without prompting--json- Output in JSON format
anyt agent list
List available coding agents and their installation status.anyt agent uninstall
Uninstall slash commands for a coding agent.anyt comment
Manage task comments.anyt comment add
Add a comment to a task.anyt comment list
List all comments on a task.anyt config
Manage CLI configuration.anyt config status
Show current configuration status.anyt config set-api-key
Store API key in global config file (~/.anyt/auth.json).anyt config get-api-key
Show currently configured API key (masked).anyt config clear-api-key
Remove API key from global config file.anyt health
Check backend server health.anyt health check
Check if the AnyTask backend server is healthy.anyt init
Initialize AnyTask in the current directory.--workspace-id, -w- Workspace ID to link to--workspace-name, -n- Workspace name (optional)--identifier, -i- Workspace identifier (e.g., DEV, PROJ)--project-id, -p- Project ID to use--dir, -d- Directory to initialize (default: current)--agents- Comma-separated list of agents to install--dev- Use development API--non-interactive, -y- Non-interactive mode
anyt login
Login to AnyTask using API key.--force, -f- Overwrite existing global config with environment variable--json- Output as JSON
anyt pull
Pull tasks from server to local filesystem.--status- Filter by status (comma-separated)--pick- Set the pulled task as active--json- Output in JSON format
anyt push
Push local task changes to server.--status- Override local status--done- Push and mark task as done--dry-run- Show what would be pushed without pushing--json- Output in JSON format
anyt self
Manage the CLI installation.anyt self check
Check if a newer version is available.anyt self info
Show installation details.anyt self update
Update to the latest version.anyt summary
Generate workspace summary with done, active, blocked, and next priorities.--period- Summary period: today, weekly, monthly--phase- Filter by phase/milestone--project- Filter by project ID--all- Show tasks from all projects--format- Output format: text, markdown, json--json- Output in JSON format
anyt task
Manage tasks.anyt task add
Create a new task.-d, --description- Task description--phase- Phase/milestone identifier-p, --priority- Priority (-2 to 2, default: 0)--labels- Comma-separated labels--status- Task status (default: backlog)--owner- Assign to user or agent ID--estimate- Time estimate in hours--project- Project ID--plan- Implementation plan content--plan-file- Read plan from file--auto-approve-plan- Auto-approve the plan--json- Output in JSON format
anyt task list
List tasks with filtering.--status- Filter by status (comma-separated)--phase- Filter by phase/milestone--assignee, -a- Filter by assignee--labels- Filter by labels (comma-separated)--project- Filter by project ID--all- Show tasks from all projects--sort- Sort field--order- Sort order (asc/desc)--limit- Max number of tasks--json- Output in JSON format
anyt task show
Show detailed information about a task.--workspace, -w- Workspace identifier--show-metadata- Display workflow metadata--json- Output in JSON format
anyt task edit
Edit a task’s fields.--title- New title-d, --description- New description--status- New status-p, --priority- New priority (-2 to 2)--labels- Comma-separated labels--owner- New owner ID--estimate- New time estimate--dry-run- Preview changes--json- Output in JSON format
anyt task done
Mark one or more tasks as done.--note, -n- Add a completion note--json- Output in JSON format
anyt task pick
Pick a task to work on (sets as active task).--status- Filter by status (comma-separated)--project- Filter by project ID--no-pull- Skip pulling task locally--json- Output in JSON format
anyt task suggest
Suggest tasks to work on next based on priority and dependencies.--limit- Number of suggestions--status- Filter by status--include-assigned- Include assigned tasks--json- Output in JSON format
anyt task rm
Delete one or more tasks (soft delete).--force, -f- Skip confirmation--json- Output in JSON format
anyt task dep
Manage task dependencies.anyt task plan
Manage task implementation plans.anyt task pr
Manage task pull requests.anyt task open
Open a task folder in editor or file manager.--code- Open in VSCode--finder- Open in file manager--file, -f- Open specific file
anyt task artifact
Download workflow execution artifacts.anyt task attempt
View workflow execution attempts.anyt worker
Automated task worker commands.anyt worker start
Start the task worker.--workspace, -w- Workspace directory--workflow- Workflow to run (remote_dev, local_dev, dry_run)--workflows- Workflows directory--poll-interval, -i- Polling interval in seconds--max-backoff- Maximum backoff interval--project-id, -p- Project ID to scope tasks--skip-checks- Skip requirement validation--force-check- Force fresh requirement checks--clone-repos- Force clone project repos--no-cleanup- Keep task workspaces after execution--agents- Comma-separated list of agents--skip-detection- Skip interactive agent detection
anyt worker list-workflows
List available workflows.anyt worker check
Check workflow requirements.--workspace, -w- Workspace directory--workflows- Custom workflows directory--force, -f- Bypass cache--json- Output as JSON
anyt worker validate-workflow
Validate a workflow definition.anyt worker secret
Manage workflow secrets.JSON Output
Many commands support the--json flag for machine-readable output.
Success Response (Single Item):
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Invalid command or arguments |
| 3 | Authentication error |
| 4 | Not found (task, workspace, etc.) |
| 5 | Validation error |