名称: things-mac
描述: 通过 macOS 上的 things CLI 管理 Things 3(通过 URL 方案添加/更新项目和待办事项;从本地 Things 数据库读取/搜索/列出)。当用户要求 Clawdbot 向 Things 添加任务、列出收件箱/今日/即将到来、搜索任务或查看项目/区域/标签时使用。
主页: https://github.com/ossianhempel/things3-cli
元数据: {"clawdbot":{"emoji":"✅","os":["darwin"],"requires":{"bins":["things"]},"install":[{"id":"go","kind":"go","module":"github.com/ossianhempel/things3-cli/cmd/things@latest","bins":["things"],"label":"安装 things3-cli (go)"}]}}
使用 things 命令行工具来读取本地 Things 数据库(收件箱/今日/搜索/项目/区域/标签),并通过 Things URL 方案添加或更新待办事项。
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 50 - 列出收件箱任务(限制 50 条)things today - 列出今日任务things upcoming - 列出即将到来的任务things search "查询内容" - 搜索任务things projects / things areas / things tags - 列出所有项目/区域/标签things --dry-run add "标题"things add "标题" --notes "..." --when today --deadline 2026-01-02things --foreground add "标题"things add "买牛奶"things add "买牛奶" --notes "2% 脱脂 + 香蕉"things add "预订机票" --list "旅行"things add "打包充电器" --list "旅行" --heading "行前准备"things add "打电话给牙医" --tags "健康,电话"things add "旅行准备" --checklist-item "护照" --checklist-item "机票"bash
cat <<'EOF' | things add -
标题行
备注行 1
备注行 2
EOFthings search "牛奶" --limit 5THINGS_AUTH_TOKEN 环境变量或传递 --auth-token <令牌>things update --id <UUID> --auth-token <令牌> "新标题"things update --id <UUID> --auth-token <令牌> --notes "新备注"things update --id <UUID> --auth-token <令牌> --append-notes "..." / --prepend-notes "..."things update --id <UUID> --auth-token <令牌> --list "旅行" --heading "行前准备"things update --id <UUID> --auth-token <令牌> --tags "a,b" / things update --id <UUID> --auth-token <令牌> --add-tags "a,b"things update --id <UUID> --auth-token <令牌> --completed / --canceledthings --dry-run update --id <UUID> --auth-token <令牌> --completedthings3-cli 不支持删除操作(没有“删除/移至废纸篓”的写入命令;things trash 是只读的列表命令)。things update 命令标记为 --completed / --canceled。--dry-run 参数会打印 URL 而不会打开 Things 应用。