简介
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...
通过你的 Agent 添加
安装目录:kanbn-todo-api/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: kanbn-todo-api
description: Manage personal TODOs in Kan.bn through API-driven operations. Use when you need single-user task management workflows on Kan.bn, including TODO CRUD, moving items between status lists, checklist completion, search, and personal profile updates; exclude multi-user collaboration, invites, integrations/imports, and attachments.
Kan.bn TODO API
Use this skill to run Kan.bn TODO operations via scripts/kanbn_todo.py.
Configure
Set auth before running commands:
KANBN_TOKENfor bearer auth, orKANBN_API_KEYfor API-key auth.
Optional:
KANBN_BASE_URL(defaults tohttps://kan.bn/api/v1)
Execute Core TODO Workflows
Use python3 scripts/kanbn_todo.py <command> ....
1) Discover workspace and board
python3 scripts/kanbn_todo.py me
python3 scripts/kanbn_todo.py workspaces
python3 scripts/kanbn_todo.py boards --workspace-id <workspacePublicId>
2) Create TODO and read it back
python3 scripts/kanbn_todo.py todo-create \
--list-id <todoListPublicId> \
--title "Pay electricity bill" \
--description "Before Friday" \
--due-date "2026-03-06T09:00:00.000Z"
python3 scripts/kanbn_todo.py todo-get --card-id <cardPublicId>
3) Update TODO or change status
- Edit fields:
python3 scripts/kanbn_todo.py todo-update \
--card-id <cardPublicId> \
--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 <cardPublicId> \
--to-list-id <doingListPublicId>
4) Delete TODO
python3 scripts/kanbn_todo.py todo-delete --card-id <cardPublicId>
Use Personal-Only Enhancements
- Search tasks in workspace:
python3 scripts/kanbn_todo.py search --workspace-id <workspacePublicId> --query "bill"
- Add personal notes/comments:
python3 scripts/kanbn_todo.py comment-add --card-id <cardPublicId> --comment "Waiting for invoice"
- Track subtasks with checklist:
python3 scripts/kanbn_todo.py checklist-add --card-id <cardPublicId> --name "Prep"
python3 scripts/kanbn_todo.py checkitem-add --checklist-id <checklistPublicId> --title "Download invoice"
python3 scripts/kanbn_todo.py checkitem-update --item-id <checklistItemPublicId> --completed true
Respect Scope
python3 scripts/kanbn_todo.py me
python3 scripts/kanbn_todo.py workspaces
python3 scripts/kanbn_todo.py boards --workspace-id <workspacePublicId>
python3 scripts/kanbn_todo.py todo-create \
--list-id <todoListPublicId> \
--title "Pay electricity bill" \
--description "Before Friday" \
--due-date "2026-03-06T09:00:00.000Z"
python3 scripts/kanbn_todo.py todo-get --card-id <cardPublicId>
3) Update TODO or change status
- Edit fields:
python3 scripts/kanbn_todo.py todo-update \
--card-id <cardPublicId> \
--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 <cardPublicId> \
--to-list-id <doingListPublicId>
4) Delete TODO
python3 scripts/kanbn_todo.py todo-delete --card-id <cardPublicId>
Use Personal-Only Enhancements
- Search tasks in workspace:
python3 scripts/kanbn_todo.py search --workspace-id <workspacePublicId> --query "bill"
- Add personal notes/comments:
python3 scripts/kanbn_todo.py comment-add --card-id <cardPublicId> --comment "Waiting for invoice"
- Track subtasks with checklist:
python3 scripts/kanbn_todo.py checklist-add --card-id <cardPublicId> --name "Prep"
python3 scripts/kanbn_todo.py checkitem-add --checklist-id <checklistPublicId> --title "Download invoice"
python3 scripts/kanbn_todo.py checkitem-update --item-id <checklistItemPublicId> --completed true
Respect Scope
python3 scripts/kanbn_todo.py todo-update \
--card-id <cardPublicId> \
--title "Pay electricity + water bill" \
--description "Do both tonight"
python3 scripts/kanbn_todo.py todo-move \
--card-id <cardPublicId> \
--to-list-id <doingListPublicId>
python3 scripts/kanbn_todo.py todo-delete --card-id <cardPublicId>
Use Personal-Only Enhancements
- Search tasks in workspace:
python3 scripts/kanbn_todo.py search --workspace-id <workspacePublicId> --query "bill"
- Add personal notes/comments:
python3 scripts/kanbn_todo.py comment-add --card-id <cardPublicId> --comment "Waiting for invoice"
- Track subtasks with checklist:
python3 scripts/kanbn_todo.py checklist-add --card-id <cardPublicId> --name "Prep"
python3 scripts/kanbn_todo.py checkitem-add --checklist-id <checklistPublicId> --title "Download invoice"
python3 scripts/kanbn_todo.py checkitem-update --item-id <checklistItemPublicId> --completed true
Respect Scope
python3 scripts/kanbn_todo.py search --workspace-id <workspacePublicId> --query "bill"
python3 scripts/kanbn_todo.py comment-add --card-id <cardPublicId> --comment "Waiting for invoice"
python3 scripts/kanbn_todo.py checklist-add --card-id <cardPublicId> --name "Prep"
python3 scripts/kanbn_todo.py checkitem-add --checklist-id <checklistPublicId> --title "Download invoice"
python3 scripts/kanbn_todo.py checkitem-update --item-id <checklistItemPublicId> --completed true
Use only single-user TODO endpoints in this skill.
Do not run collaboration/invite/import/integration/attachment flows here.
If endpoint details are needed, read references/api-scope.md.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。