con un clic
agkan
Use when managing tasks with the agkan CLI tool - creating, listing, updating tasks, managing tags, blocking relationships, or tracking project progress with the kanban board.
Menú
Use when managing tasks with the agkan CLI tool - creating, listing, updating tasks, managing tags, blocking relationships, or tracking project progress with the kanban board.
Use when reviewing backlog tasks to assess decomposition, implementation readiness, and priority ordering before development begins.
Use when starting a development session to pick the highest priority Todo task from agkan, implement it directly without PR/branch, and mark it done.
Use when starting a development session to pick the highest priority Todo task from agkan, implement it, create a pull request, and mark it done.
Use when a task has been selected and you need to implement it directly without PR/branch creation - handles in_progress update, implementation, and marking done.
Use when a task has been selected and you need to implement it in an isolated (forked) context - handles in_progress update, branch creation, implementation, PR creation, and marking review.
Use when checking review tasks against GitHub PR status to automatically move them to done or closed.
| name | agkan |
| description | Use when managing tasks with the agkan CLI tool - creating, listing, updating tasks, managing tags, blocking relationships, or tracking project progress with the kanban board. |
agkan is an SQLite-based CLI task management tool. It is optimized for collaboration with AI agents.
7 Statuses: icebox → backlog → ready → in_progress → review → done → closed
# Display a comprehensive guide for AI agents (overview, commands, workflows)
agkan agent-guide
# Create task
agkan task add "Title" "Body"
agkan task add "Title" --status ready --author "agent"
agkan task add "Subtask" --parent 1
agkan task add "Title" --file ./spec.md # Read body from file
agkan task add "Title" --blocked-by 1,2 # Set tasks that block this task
agkan task add "Title" --blocks 3,4 # Set tasks that this task blocks
agkan task add "Title" --assignees "alice,bob" # Set task assignees (comma-separated)
agkan task add "Title" --branch feature/my-branch # Assign a branch to this task
agkan task add "Title" --priority high # Set task priority (critical/high/medium/low)
# List tasks
agkan task list # All tasks
agkan task list --status in_progress
agkan task list --tree # Hierarchical view
agkan task list --root-only # Root tasks only
agkan task list --tag 1,2 # Filter by tags
agkan task list --dep-tree # Dependency (blocking) tree view
agkan task list --sort title # Sort by field (id / title / status / created_at / updated_at), default: created_at
agkan task list --order asc # Sort order (asc / desc), default: desc
agkan task list --assignees "alice,bob" # Filter by assignees (comma-separated)
agkan task list --all # Include all statuses (including done and closed)
agkan task list --priority high,critical # Filter by priority
agkan task list --sort priority # Sort by priority
# Get details
agkan task get <id>
# Search
agkan task find "keyword"
agkan task find "keyword" --all # Include done/closed
agkan task find "keyword" --status todo,in_progress # Filter by status
# Update (positional argument form - backward compatible)
agkan task update <id> status in_progress
# Update (named option form - v1.6.0+)
agkan task update <id> --status in_progress
agkan task update <id> --title "New Title"
agkan task update <id> --body "New body text"
agkan task update <id> --author "agent"
agkan task update <id> --assignees "alice,bob"
agkan task update <id> --file ./spec.md # Read body from file
agkan task update <id> --status done --title "Updated Title" # Multiple options
agkan task update <id> --branch feature/my-branch # Set the branch column
agkan task update <id> --priority high # Update task priority
agkan task update <id> --priority "" # Clear task priority
# Count
agkan task count
agkan task count --status ready --quiet # Output numbers only
# Update parent-child relationship
agkan task update-parent <id> <parent_id>
agkan task update-parent <id> null # Remove parent
# Copy task
agkan task copy <id>
agkan task copy <id> --status ready # Specify destination status (default: backlog)
agkan task copy <id> --no-tags # Do not copy tags
agkan task copy <id> --json # Output in JSON format
# Delete task
agkan task delete <id>
# Purge old done/closed tasks
agkan task purge # Delete done/closed tasks older than 3 days ago (default)
agkan task purge --before 2026-01-01 # Purge tasks last updated before the given date (ISO 8601)
agkan task purge --status done # Target specific statuses (default: done,closed)
agkan task purge --dry-run # Preview tasks that would be purged without deleting
agkan task purge --json # Output in JSON format
# task1 blocks task2 (task2 cannot be started until task1 is complete)
agkan task block add <blocker-id> <blocked-id>
agkan task block remove <blocker-id> <blocked-id>
agkan task block list <id>
# Add a comment to a task
agkan task comment add <task-id> <content>
agkan task comment add <task-id> <content> --author "agent"
# List all comments for a task
agkan task comment list <task-id>
# Delete a comment by ID
agkan task comment delete <comment-id>
# Tag management
agkan tag add "frontend"
agkan tag list
agkan tag delete <tag-id-or-name>
agkan tag rename <id-or-name> <new-name>
# Tag tasks
agkan tag attach <task-id> <tag-id-or-name>
agkan tag detach <task-id> <tag-id-or-name>
agkan tag show <task-id>
# Export all tasks to JSON (output to stdout)
agkan export
# Export to file
agkan export > backup.json
# Import tasks from a JSON export file
agkan import <file>
agkan import backup.json
Export behavior:
Import behavior:
agkan exportUse cases:
agkan ps # Show list of running Claude processes
agkan ps --port <number> # Specify port
agkan ps --json # Output in JSON format
agkan board start [--port <number>] [--title <title>] # Start the board
agkan board stop # Stop the board
agkan board restart [--port <number>] # Restart the board
agkan board status [--port <number>] # Check board status
# Set metadata
agkan task meta set <task-id> <key> <value>
# Get metadata
agkan task meta get <task-id> <key>
# List metadata
agkan task meta list <task-id>
# Delete metadata
agkan task meta delete <task-id> <key>
Task priority is managed with the native --priority flag:
# Set priority when creating a task
agkan task add "Title" --priority high
# Update priority on an existing task
agkan task update <id> --priority high
agkan task update <id> --priority "" # Clear priority
| Value | Meaning |
|---|---|
critical | Requires immediate attention. Blocking issue |
high | Should be prioritized |
medium | Normal priority (default) |
low | Work on if there is time |
When to set priority: Priority is set during the planning phase (agkan-planning-subtask), at the same time the task is moved from backlog to ready. This is the responsibility of the planning skill. Skills that select tasks for execution (e.g., agkan-run) read this value to determine which task to work on next.
When selecting or tagging tasks, use the following priority order:
| Priority | Tag Name |
|---|---|
| 1 | bug |
| 2 | security |
| 3 | improvement |
| 4 | test |
| 5 | performance |
| 6 | refactor |
| 7 | docs |
This is the canonical definition. All skills refer to this table.
Use the --json flag when machine processing is needed:
agkan task list --json
agkan task get 1 --json
agkan task count --json
agkan tag list --json
# Combine with jq
agkan task list --status ready --json | jq '.tasks[].id'
agkan task list --json{
"totalCount": 10,
"filters": {
"status": "ready | null",
"author": "string | null",
"tagIds": [1, 2],
"rootOnly": false
},
"tasks": [
{
"id": 1,
"title": "Task Title",
"body": "Body | null",
"author": "string | null",
"status": "icebox | backlog | ready | in_progress | review | done | closed",
"parent_id": "number | null",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"parent": "object | null",
"tags": [{ "id": 1, "name": "bug" }],
"metadata": [{ "key": "priority", "value": "high" }]
}
]
}
agkan task get <id> --json{
"success": true,
"task": {
"id": 1,
"title": "Task Title",
"body": "Body | null",
"author": "string | null",
"status": "backlog | ready | in_progress | review | done | closed",
"parent_id": "number | null",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"branch": "string | null"
},
"parent": "object | null",
"children": [],
"blockedBy": [{ "id": 2, "title": "..." }],
"blocking": [{ "id": 3, "title": "..." }],
"tags": [{ "id": 1, "name": "bug" }],
"attachments": []
}
agkan task count --json{
"counts": {
"icebox": 0,
"backlog": 0,
"ready": 2,
"in_progress": 1,
"review": 0,
"done": 8,
"closed": 5
},
"total": 16
}
agkan task find <keyword> --json{
"keyword": "Search keyword",
"excludeDoneClosed": true,
"totalCount": 3,
"tasks": [
{
"id": 1,
"title": "Task Title",
"body": "Body | null",
"author": "string | null",
"status": "ready",
"parent_id": "number | null",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"parent": "object | null",
"tags": [],
"metadata": []
}
]
}
agkan task block list <id> --json{
"task": {
"id": 1,
"title": "Task Title",
"status": "ready"
},
"blockedBy": [{ "id": 2, "title": "...", "status": "in_progress" }],
"blocking": [{ "id": 3, "title": "...", "status": "ready" }]
}
agkan task meta list <id> --json{
"success": true,
"data": [
{ "key": "priority", "value": "high" }
]
}
agkan tag list --json{
"totalCount": 3,
"tags": [
{
"id": 1,
"name": "bug",
"created_at": "2026-01-01T00:00:00.000Z",
"taskCount": 2
}
]
}
Icebox holds ideas and candidates that are not yet ready for planning. Review them periodically to decide whether to promote or close each one.
# Review icebox tasks
agkan task list --status icebox
# Promote to backlog when requirements become clear
agkan task update <id> status backlog
# Close if no longer needed
agkan task update <id> status closed
Icebox → Backlog conditions:
Icebox → Closed conditions:
# Check assigned tasks
agkan task list --status ready
agkan task get <id>
# Start work
agkan task update <id> status in_progress
# Complete
agkan task update <id> status done
# Create parent task
agkan task add "Feature Implementation" --status ready
# Add subtasks
agkan task add "Design" --parent 1 --status ready
agkan task add "Implementation" --parent 1 --status backlog
agkan task add "Testing" --parent 1 --status backlog
# Set dependencies (Design → Implementation → Testing)
agkan task block add 2 3
agkan task block add 3 4
# View overall structure
agkan task list --tree
Skills that create PRs write a structured label into the task body. This label is used by subsequent skill executions to resume work on the existing PR instead of opening a new one.
PR: <URL>
agkan-subtask after the PR is opened (Step 7).PR: label is present → push to the branch to update the existing PR instead of opening a new one.PR: label is present → open a new PR.The branch column is a first-class field on the task record — it is not stored in the task body.
agkan task add --branch <name> or agkan task update <id> --branch <name>agkan task get <id> --json → .task.branchagkan task list --json does not include the branch field. Use agkan task get <id> --json when branch information is needed.branch is null, subtask skills (agkan-subtask, agkan-subtask-direct) auto-generate a branch name from the task ID and title, create the branch, and persist the name back via agkan task update <id> --branch <name>.Place .agkan.yml in the project root to customize the DB path:
path: ./.agkan/data.db
Or use environment variable: AGENT_KANBAN_DB_PATH=/custom/path/data.db