ak-task

GitHub

通过Realmroot Toolbox管理Agent看板任务,涵盖创建、分配、监控及评审流程。用于处理用户显式请求的AK任务委派与执行。

skills/ak-task/SKILL.md saltbo/agent-kanban

触发场景

用户明确要求创建或分配Agent Kanban任务 需要通过AK看板进行任务委派或执行

安装

npx skills add saltbo/agent-kanban --skill ak-task -g -y
更多选项

不安装直接使用

npx skills use saltbo/agent-kanban@ak-task

指定 Agent (Claude Code)

npx skills add saltbo/agent-kanban --skill ak-task -a claude-code -g -y

安装 repo 全部 skill

npx skills add saltbo/agent-kanban --all -g -y

预览 repo 内 skill

npx skills add saltbo/agent-kanban --list

SKILL.md

Frontmatter
{
    "name": "ak-task",
    "description": "Create, assign, monitor, and review one Agent Kanban Task through Realmroot Toolbox. Use only when the user explicitly asks for an AK Task, Agent Kanban task delegation, or execution through an AK board."
}

AK Task

Before creation

Use generic Toolbox reads to resolve the Board, Repository, and existing Tasks:

realmroot toolbox get agent-kanban/boards --json
realmroot toolbox get agent-kanban/repositories --json
realmroot toolbox get 'agent-kanban/tasks?boardId=<board-id>' --json

Find available Agents:

realmroot toolbox get 'agent-kanban/agents?schedulable=true' --json

Use the selected Agent's subject as assignedTo. If no suitable Agent exists and provisioning is authorized, create one through agent-kanban/agents.

Resolve material ambiguity and show the user the exact Task preview before creating it. The preview must include title, Board, Repository, assignee, description, dependencies, and acceptance checks.

Create and assign

Create an unassigned Task, then patch its assignedTo field.

realmroot toolbox post agent-kanban/tasks \
  --content-type application/json \
  @task.json --json

realmroot toolbox patch agent-kanban/tasks/<task-id> \
  --content-type application/merge-patch+json \
  '{"assignedTo":"<realmroot-agent-actor-id>"}' --json

Realmroot Toolbox generates the required idempotency key and reuses it across transient retries of this invocation. Supply an explicit Idempotency-Key only when recovering with the known key from an earlier invocation whose outcome remained unknown.

The Task body uses lowerCamelCase resource fields such as boardId, title, description, repositoryId, labels, dependsOn, createdFrom, and scheduledAt. Omit scheduledAt when creating Tasks; delayed scheduling is not supported. After an unknown PATCH outcome, reread the Task before deciding whether another write is necessary; do not create another Task.

Monitor

Use bounded task wait calls and carry the returned cursor into the next call. Do not build an unbounded polling loop.

realmroot toolbox agent-kanban task wait <task-id> in-review --wait-seconds 25 --json

Inspect the Task and Notes after each meaningful state change with generic GET operations. A cancelled Task is terminal.

Review

When the Task reaches in-review, verify the submitted work, then reread the Task before making the review decision:

realmroot toolbox get agent-kanban/tasks/<task-id> --include --json

realmroot toolbox patch agent-kanban/tasks/<task-id> \
  --content-type application/merge-patch+json \
  '{"status":"in-progress","statusReason":"Describe the required correction"}' --json

realmroot toolbox patch agent-kanban/tasks/<task-id> \
  --content-type application/merge-patch+json \
  '{"status":"done"}' --json

Reject when acceptance evidence or implementation is insufficient, then wait for a new in-review Task state. Complete only after the requested outcome is proven. If the verified reviewer actor equals the Task's assignedTo, do not attempt either decision; another authorized principal must review.

Cancel a non-terminal Task through the same Task patch:

realmroot toolbox patch agent-kanban/tasks/<task-id> \
  --content-type application/merge-patch+json \
  '{"status":"cancelled"}' --json

版本历史

  • 7fea6dc 当前 2026-09-22 10:24
  • 448506c 2026-09-09 04:43

    修复通过 Enbor 会话分发指派并处理取消后的会话结算;对齐技能文档以适配直接会话分发。

  • 8944f97 2026-09-03 06:06

    重构为 Realmroot Toolbox v2 架构,移除 v1 CLI 及运行时实体,引入资源服务器模式、AMA 投影及幂等性合同修复。

  • a26bef6 2026-08-19 21:23

    新增功能:支持将评审工作委派给活跃的项目维护者

  • 1d2146d 2026-07-24 20:44

同 Skill 集合

skills/agent-kanban/SKILL.md
skills/ak-maintainer/SKILL.md
skills/ak-plan/SKILL.md
skills/ak-worker/SKILL.md

元信息

文件数
0
版本
7fea6dc
Hash
4dc586d5
收录时间
2026-07-24 20:44

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-16 00:06
浙ICP备14020137号-1