技能标识:todoist-orbit
Operate Todoist through a Python CLI backed by the Todoist REST API. Use when the task requires deterministic Todoist automation instead of chatty natural-language parsing: listing, creating, updating, moving, completing, deleting, or resolving tasks; creating/updating/archiving/searching projects; creating/updating/archiving sections; listing/creating/updating/deleting/searching labels; uploading files and attaching them to task/project comments; or concurrent Todoist lookups. Prefer this skill
使用捆绑的Python CLI。它在命令层是异步的,并且仅使用Python标准库的HTTP原语,因此无需安装SDK依赖。
在环境中设置TODOISTAPIKEY。
ClawHub将技能安装在OpenClaw技能目录下,例如~/.openclaw/skills/todoist-orbit/,但不要盲目假设确切路径。如有需要,请先验证安装位置,然后从该位置运行脚本。
bash
SKILL_DIR=$HOME/.openclaw/skills/todoist-orbit
[ -f $SKILLDIR/scripts/todoistorbit.py ] || echo 在运行命令前,请验证todoist-orbit的安装路径
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty
如果你是从检出仓库而非已安装的技能运行,请相应调整SKILL_DIR。
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty tasks list --filter today
python3 $SKILLDIR/scripts/todoistorbit.py --pretty tasks add 发布版本 --project-id
python3 $SKILLDIR/scripts/todoistorbit.py --pretty tasks update
python3 $SKILLDIR/scripts/todoistorbit.py --pretty tasks move
python3 $SKILLDIR/scripts/todoistorbit.py --pretty tasks close
保持tasks add ... content和--description简短。仅将它们用于任务标题和简要摘要。如果需要多行笔记、日志、检查清单、转录或结构化更新,请将这些内容放入评论中,而不是扩展任务字段。
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty projects list
python3 $SKILLDIR/scripts/todoistorbit.py --pretty projects search client
python3 $SKILLDIR/scripts/todoistorbit.py --pretty projects add 客户运营 --view-style board --favorite
python3 $SKILLDIR/scripts/todoistorbit.py --pretty projects archive
projects search现在调用Todoist服务端的GET /api/v1/projects/search端点。当需要在API搜索结果之上进行精确名称匹配时,请保留--exact。
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty sections list --project-id
python3 $SKILLDIR/scripts/todoistorbit.py --pretty sections add
python3 $SKILLDIR/scripts/todoistorbit.py --pretty sections move
sections move为CLI兼容性而保留,但Todoist REST未提供分区移动端点,因此该命令会退出并显示记录的错误,而不是尝试移动。
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels list
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels search waiting
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels add waiting-for --color berry_red --favorite
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels update
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels get
python3 $SKILLDIR/scripts/todoistorbit.py --pretty labels delete
labels search现在调用Todoist服务端的GET /api/v1/labels/search端点。当需要在API搜索结果之上进行精确名称匹配时,请保留--exact。
先上传文件,或让comments add隐式完成。
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty uploads add ./voice-note.m4a
python3 $SKILLDIR/scripts/todoistorbit.py --pretty comments add --task-id
python3 $SKILLDIR/scripts/todoistorbit.py --pretty comments add-file --task-id
python3 $SKILLDIR/scripts/todoistorbit.py --pretty comments add-stdin --task-id
EOF
Todoist将附件存储在评论上,而不是直接存储在任务对象上。对于任务附件,请使用--attachment添加任务评论。
格式和安全指南:
bash
python3 $SKILLDIR/scripts/todoistorbit.py --pretty resolve --project 工作 --section 收件箱 --task-filter today
当需要一次调用完成项目和分区查找以及任务查询时,请使用resolve。
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 todoist-orbit-1776175141 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 todoist-orbit-1776175141 技能
skillhub install todoist-orbit-1776175141
文件大小: 10.75 KB | 发布时间: 2026-4-15 13:14