使用 `things` CLI 在 macOS 上管理 Things 3(通过 URL 方案添加/更新项目和待办事项,读取/搜索/列出本地 Things 数据库)。适用于用户请求添加任务、列出收件箱/今日/即将到来的任务、搜索任务或检查项目/区域/标签。
3Times CLI. 使用一些东西读取本地Times数据库(inbox/today/search/project/reats/tags),并通过Times U是一项面向实际任务的技能,主要用于Setup.;Install(推荐,苹果硅)。
从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;
若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
使用 things 命令读取本地 Things 数据库(收件箱 / 今日 / 搜索 / 项目 / 区域 / 标签),并借助 Things URL Scheme 添加或更新待办事项。
安装与配置
GOBIN=/opt/homebrew/bin go install github.com/ossianhempel/things3-cli/cmd/things@latestClawdbot.app)。THINGSDB(或通过 --db 参数指定),指向你的 ThingsData-* 文件夹。THINGS_AUTH_TOKEN,以避免在执行更新操作时重复传入 --auth-token 参数。只读操作(数据库)
things inbox --limit 50things todaythings upcomingthings search "query"things projects / things areas / things tags写入操作(URL Scheme)
things --dry-run add "Title"things add "Title" --notes "..." --when today --deadline 2026-01-02things --foreground add "Title"示例:添加一条待办事项
things add "Buy milk"things add "Buy milk" --notes "2% + bananas"things add "Book flights" --list "Travel"things add "Pack charger" --list "Travel" --heading "Before"things add "Call dentist" --tags "health,phone"things add "Trip prep" --checklist-item "Passport" --checklist-item "Tickets"cat <<'EOF' | things add -Title lineNotes line 1Notes line 2EOF示例:修改一条待办事项(需认证令牌)
things search "milk" --limit 5THINGS_AUTH_TOKEN 环境变量,或显式传入 --auth-token things update --id --auth-token "New title" things update --id --auth-token --notes "New notes" things update --id --auth-token --append-notes "..." / --prepend-notes "..."things update --id --auth-token --list "Travel" --heading "Before" things update --id --auth-token --tags "a,b" / things update --id --auth-token --add-tags "a,b" things update --id --auth-token --completed / --canceledthings --dry-run update --id --auth-token --completed 能否删除一条待办事项?
things3-cli 不支持删除操作(尚无 “delete/move-to-trash” 类型的写入命令;things trash 仅为只读的废纸篓内容列表)。things update 将其标记为 --completed / --canceled。注意事项
--dry-run 仅打印生成的 URL,不会实际打开 Things 应用。相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习