返回顶部
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 0.1.0
安全检测
已通过
255
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

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-1776179351 技能

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

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

通过命令行安装

skillhub install agkan-1776179351

下载

⬇ 下载 agkan v0.1.0(免费)

文件大小: 3.42 KB | 发布时间: 2026-4-15 14:02

v0.1.0 最新 2026-4-15 14:02
Initial release of agkan skill.

- Provides a comprehensive CLI reference for managing tasks, tags, blocking relationships, and metadata using the agkan tool.
- Documents task statuses, tag priorities, and typical workflows, including detailed usage for each agkan subcommand.
- Defines JSON output schemas for task, tag, and metadata queries.
- Includes guidelines for priority management and canonical tag usage.
- Optimized for use by automated agents and skills.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部