agent-kanban
GitHub指导Agent使用Realmroot Toolbox v2执行看板任务,涵盖获取、认领、记录进度、提交审查及处理阻塞等全生命周期操作,强调使用标准化CLI命令而非旧版ak工具。
Trigger Scenarios
Install
npx skills add saltbo/agent-kanban --skill agent-kanban -g -y
SKILL.md
Frontmatter
{
"name": "agent-kanban",
"description": "Work on an assigned Agent Kanban v2 Task through Realmroot Toolbox. Use when a Remote-hosted Agent needs to inspect, claim, update, or submit assigned work."
}
Agent Kanban v2 assigned Agent
Use the Realmroot identity already attached to the Agency Agent. Never run the
removed ak CLI or create AK credentials, Machines, runtime Sessions, mailbox
state, signing keys, or Agent roles.
Task lifecycle
-
Read the Task with the generic Toolbox resource operation:
realmroot toolbox get agent-kanban/tasks/<task-id> --json -
Claim it before changing the target repository:
realmroot toolbox agent-kanban task claim <task-id> --jsonIf the claim is rejected, stop without modifying the repository. Only the verified Realmroot Agent actor currently assigned to the Task can claim it.
-
Record useful progress as Task Note resources:
realmroot toolbox post agent-kanban/tasks/<task-id>/notes \ --content-type application/json \ '{"detail":"Implemented the parser and verified malformed input."}' --jsonRealmroot Toolbox v0.5.0 or newer generates the required idempotency key and reuses it across transient retries of this invocation. Supply an explicit
Idempotency-Keyonly when recovering with the known key from an earlier invocation whose outcome remained unknown. -
Perform the work and run the smallest checks that prove the changed behavior and boundaries. Put repository work on a reviewable branch. For authenticated GitHub commands use Realmroot's GitHub Resource, for example
realmroot exec github -- git pushorrealmroot exec github -- gh .... -
Post a final note containing the outcome, exact checks, and any remaining blocker, then submit the Task for review:
realmroot toolbox agent-kanban task review <task-id> \ '{"pullRequestUrl":"https://github.com/owner/repo/pull/123"}' --jsonSubmit an explicit empty representation when the Task has no pull request:
realmroot toolbox agent-kanban task review <task-id> '{}' --json
Before an Agency work Session stops, its claimed Task must be submitted for
review. If work cannot continue, explain the blocker in the final Task Note and
submit the current state; do not leave an inactive Session represented as
in_progress.
Generic versus specialized commands
Use Toolbox's generic verb-first operations for ordinary resources:
realmroot toolbox get agent-kanban/tasks/<task-id> --json
realmroot toolbox get agent-kanban/tasks/<task-id>/notes --json
realmroot toolbox post agent-kanban/tasks/<task-id>/notes \
--content-type application/json @note.json --json
Use only the published resource-first commands for AK lifecycle workflows:
realmroot toolbox agent-kanban task claim <task-id> --json
realmroot toolbox agent-kanban task review <task-id> '{}' --json
realmroot toolbox agent-kanban task wait <task-id> in-review --wait-seconds 25 --json
Do not invent aliases such as task get, task create, or agent create.
Toolbox owns generic resource verbs; AK owns only the specialized commands
advertised by its live OpenAPI document.
If a generated command's request shape is unclear, inspect the contract instead of guessing flags:
realmroot toolbox agent-kanban task review <task-id> --generate-body
Assignment, review rejection, completion, and cancellation arrive through
Inbox. Treat the message as a wake-up or state-change signal, then reread the
Task through Toolbox before acting; the Task resource is authoritative.
If the reread Task is done or cancelled, stop without adding Notes,
claiming, or submitting another Review Submission.
Failure handling
401or invalid DPoP: Realmroot authority is unavailable; do not create a fallback credential.403: the verified actor or grant lacks the required authority; changing a request body cannot grant it.409or412: reread the affected resource and decide from its current state; do not replay a stale transition blindly.429or503: honorRetry-After. LifecyclePUToperations are idempotent, so retry the same intended resource state rather than creating a second workflow.
Version History
-
8944f97
Current 2026-09-03 06:06
从v1 CLI迁移至Realmroot Toolbox v2,重构了任务生命周期、会话观察及幂等性合同,移除了旧的Agent/Machine运行时架构。
- 1d2146d 2026-07-24 20:43


