闲社服务运行正常AI智能体自动化平台
a

Agkan任务管理

技能标识: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.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.2
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Agkan任务管理

agkan

概述

agkan 是一款基于 SQLite 的命令行任务管理工具。它针对与 AI 智能体的协作进行了优化。

7 种状态: icebox → backlog → ready → in_progress → review → done → closed



快速参考

智能体指南

bash

显示 AI 智能体的完整指南(概述、命令、工作流程)


agkan agent-guide

任务操作

bash

创建任务


agkan task add 标题 正文
agkan task add 标题 --status ready --author agent
agkan task add 子任务 --parent 1
agkan task add 标题 --file ./spec.md # 从文件读取正文
agkan task add 标题 --blocked-by 1,2 # 设置阻塞此任务的任务
agkan task add 标题 --blocks 3,4 # 设置此任务阻塞的任务
agkan task add 标题 --assignees alice,bob # 设置任务负责人(逗号分隔)

列出任务

agkan task list # 所有任务 agkan task list --status in_progress agkan task list --tree # 层级视图 agkan task list --root-only # 仅根任务 agkan task list --tag 1,2 # 按标签筛选 agkan task list --dep-tree # 依赖(阻塞)树视图 agkan task list --sort title # 按字段排序(id / title / status / createdat / updatedat),默认:created_at agkan task list --order asc # 排序顺序(asc / desc),默认:desc agkan task list --assignees alice,bob # 按负责人筛选(逗号分隔) agkan task list --all # 包含所有状态(包括 done 和 closed)

获取详情

agkan task get

搜索

agkan task find 关键词 agkan task find 关键词 --all # 包含 done/closed

更新(位置参数形式 - 向后兼容)

agkan task update status in_progress

更新(命名选项形式 - v1.6.0+)

agkan task update --status in_progress agkan task update --title 新标题 agkan task update --body 新正文文本 agkan task update --author agent agkan task update --assignees alice,bob agkan task update --file ./spec.md # 从文件读取正文 agkan task update --status done --title 更新后的标题 # 多个选项

计数

agkan task count agkan task count --status ready --quiet # 仅输出数字

更新父子关系

agkan task update-parent agkan task update-parent null # 移除父任务

删除任务

agkan task delete

阻塞关系

bash

task1 阻塞 task2(task1 完成前 task2 无法开始)


agkan task block add
agkan task block remove
agkan task block list

标签操作

bash

标签管理


agkan tag add frontend
agkan tag list
agkan tag delete
agkan tag rename

标签任务

agkan tag attach agkan tag detach agkan tag show

元数据操作

bash

设置元数据


agkan task meta set

获取元数据

agkan task meta get

列出元数据

agkan task meta list

删除元数据

agkan task meta delete

优先级(priority)

任务优先级通过 priority 键管理:

bash
agkan task meta set priority

值含义
critical需要立即处理。阻塞性问题
high
应优先处理 | | medium | 正常优先级(默认) | | low | 有时间再处理 |

何时设置优先级: 优先级在规划阶段(agkan-planning-subtask)设置,与任务从 backlog 移至 ready 同时进行。这是规划技能的职责。选择执行任务的技能(例如 agkan-run)会读取此值以确定下一步处理哪个任务。



标签优先级

选择或标记任务时,请使用以下优先级顺序:

优先级标签名称
1bug
2
security |
| 3 | improvement |
| 4 | test |
| 5 | performance |
| 6 | refactor |
| 7 | docs |

这是标准定义。所有技能均参考此表。



JSON 输出

当需要机器处理时,使用 --json 标志:

bash
agkan task list --json
agkan task get 1 --json
agkan task count --json
agkan tag list --json

与 jq 结合使用

agkan task list --status ready --json | jq .tasks[].id

JSON 输出模式

agkan task list --json

json
{
totalCount: 10,
filters: {
status: ready | null,
author: string | null,
tagIds: [1, 2],
rootOnly: false
},
tasks: [
{
id: 1,
title: 任务标题,
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 --json

json
{
success: true,
task: {
id: 1,
title: 任务标题,
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
},
parent: object | null,
children: [],
blockedBy: [{ id: 2, title: ... }],
blocking: [{ id: 3, title: ... }],
tags: [{ id: 1, name: bug }],
attachments: []
}

agkan task count --json

json
{
counts: {
icebox: 0,
backlog: 0,
ready: 2,
in_progress: 1,
review: 0,
done: 8,
closed: 5
},
total: 16
}

agkan task find --json

json
{
keyword: 搜索关键词,
excludeDoneClosed: true,
totalCount: 3,
tasks: [
{
id: 1,
title: 任务标题,
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 --json

json
{
task: {
id: 1,
title

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agkan-skills-1776281745 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agkan-skills-1776281745 技能

通过命令行安装

skillhub install agkan-skills-1776281745

下载

⬇ 下载 agkan v1.0.2(免费)

文件大小: 3.47 KB | 发布时间: 2026-4-16 15:49

v1.0.2 最新 2026-4-16 15:49
agkan-skills v1.0.2 changelog

- Updated documentation to clarify priority/tag priorities for agents and skills.
- Added new CLI options for more flexible task creation and updating (e.g., assignees, blocked-by, blocks, tag/assignee filters).
- Introduced `agkan agent-guide` command for a comprehensive in-tool agent/skill guide.
- Improved tag and task workflows with additional features (task deletion, tag renaming).
- Enhanced documentation and workflows for typical AI-agent use-cases.
返回顶部