/install kanbn-todo-api
Kan.bn TODO API
Use this skill to run Kan.bn personal task workflows via scripts/kanbn_todo.py.
Keep the interaction goal-oriented: figure out the user's intended task change, discover any missing IDs, execute the smallest correct API operation, then report the result clearly.
Configure authentication
Set auth before running commands:
KANBN_TOKENfor bearer auth, orKANBN_API_KEYfor API-key auth.
Auth lookup order in kanbn_todo.py:
- CLI flags (
--token,--api-key,--base-url) - Process environment (
KANBN_TOKEN,KANBN_API_KEY,KANBN_BASE_URL) ~/.bashrcexportvalues (for non-interactive runs)
Optional:
KANBN_BASE_URL(defaults tohttps://kan.bn/api/v1)
If auth is missing, stop early and ask for credentials or confirm the env source.
Follow the standard execution flow
1) Discover context before mutating data
When the user has not provided concrete Kan.bn IDs, resolve them first.
python3 scripts/kanbn_todo.py me
python3 scripts/kanbn_todo.py workspaces
python3 scripts/kanbn_todo.py boards --workspace-id \x3CworkspacePublicId>
Use this discovery flow for requests like:
- "Add a todo in Kan.bn"
- "Move my task to done"
- "Find the board with invoices"
If the user already provided exact card/list/workspace IDs, skip the discovery steps you do not need.
2) Create, then read back
After creating a TODO, read it back when the user cares about confirmation, due date, labels, or returned IDs.
python3 scripts/kanbn_todo.py todo-create \
--list-id \x3CtodoListPublicId> \
--title "Pay electricity bill" \
--description "Before Friday" \
--due-date "2026-03-06T09:00:00.000Z"
python3 scripts/kanbn_todo.py todo-get --card-id \x3CcardPublicId>
3) Prefer the narrowest mutation
Choose the command that most directly matches the requested change.
- Edit title/description/due date ->
todo-update - Change workflow status/list ->
todo-move - Add or remove a label ->
todo-label-toggle - Delete the task ->
todo-delete
Edit fields:
python3 scripts/kanbn_todo.py todo-update \
--card-id \x3CcardPublicId> \
--title "Pay electricity + water bill" \
--description "Do both tonight"
Change status by moving lists (e.g., TODO -> DOING -> DONE):
python3 scripts/kanbn_todo.py todo-move \
--card-id \x3CcardPublicId> \
--to-list-id \x3CdoingListPublicId>
Delete TODO:
python3 scripts/kanbn_todo.py todo-delete --card-id \x3CcardPublicId>
Apply the priority label policy
When a request asks to set, mark, sort, or batch-assign priorities, use labels (P0-P4) as the source of truth.
- Apply priority via label changes.
- Do not encode priority in titles.
- Keep task titles focused on the actual work item text.
- If the correct priority label ID is unknown, inspect board metadata first.
- Official Kan.bn docs expose label changes on a dedicated endpoint, not
todo-update.
For an existing card:
python3 scripts/kanbn_todo.py todo-label-toggle \
--card-id \x3CcardPublicId> \
--label-id \x3Cp1LabelPublicId>
Use personal productivity workflows
Search tasks in a workspace:
python3 scripts/kanbn_todo.py search --workspace-id \x3CworkspacePublicId> --query "bill"
Add personal notes/comments:
python3 scripts/kanbn_todo.py comment-add --card-id \x3CcardPublicId> --comment "Waiting for invoice"
Track subtasks with checklist:
python3 scripts/kanbn_todo.py checklist-add --card-id \x3CcardPublicId> --name "Prep"
python3 scripts/kanbn_todo.py checkitem-add --checklist-id \x3CchecklistPublicId> --title "Download invoice"
python3 scripts/kanbn_todo.py checkitem-update --item-id \x3CchecklistItemPublicId> --completed true
Update the personal profile only when the user explicitly asks:
python3 scripts/kanbn_todo.py user-update --name "New Name"
Handle missing information carefully
When the user asks for an operation but key identifiers are missing:
- Discover the smallest missing context first
- Prefer
searchwhen the user describes a task by text instead of card ID - Prefer
boardswhen the missing information is board or list structure - Ask a follow-up question only after exhausting cheap discovery paths
Good examples:
- User says "mark my invoice task done" -> search for invoice-related cards, identify the likely card, then move it
- User says "add this to my finance board" -> resolve workspace and boards, then ask only if multiple plausible lists remain
Read references only when needed
- Read
references/common-workflows.mdfor reusable end-to-end task patterns - Read
references/api-scope.mdwhen endpoint details or scope boundaries matter - Read
references/smoke-test.mdafter changing the script or when validating the skill against a live Kan.bn account
Respect scope
Use only single-user TODO endpoints in this skill.
Do not run collaboration, invite, import, integration, or attachment flows here.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kanbn-todo-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/kanbn-todo-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Kan.bn TODO API 是什么?
Manage personal TODOs in Kan.bn through API-driven operations. Use this whenever the user wants to create, update, move, prioritize, search, summarize, or cl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 495 次。
如何安装 Kan.bn TODO API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kanbn-todo-api」即可一键安装,无需额外配置。
Kan.bn TODO API 是免费的吗?
是的,Kan.bn TODO API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kan.bn TODO API 支持哪些平台?
Kan.bn TODO API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kan.bn TODO API?
由 Qihao(@wujiao233)开发并维护,当前版本 v0.1.0。