跳到正文
Skillpedia
任务与项目7.4k · #13253

things-todo

它能做什么

这个技能让智能体通过 things 命令行工具,在 Mac 上管理 Things 3 中的任务。适合把待办清单保存在 Things 中的人。

适用场景

  • ✓你想在 Things 3 中添加一个任务的时候。
  • ✓你想查找、更新或完成一个已有的 Things 任务的时候。
  • ✓你想查看今天的任务或搜索你的清单的时候。

技能链接

https://github.com/steipete/agent-scripts/blob/main/skills/things-todo/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/steipete/agent-scripts/blob/main/skills/things-todo/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在 Things 中添加一个任务:明天预订机票,并加上出行标签,然后确认它已经在那里。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会使用 things 工具添加或更新事项,然后读回结果进行确认。更改通过官方的基于 URL 的接口进行,而不是直接写入数据库文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Things Todo

Use this for Things 3 tasks on Peter's Macs. Prefer things for Things-backed todos; use $reminders only when the user asks for Apple Reminders.

Tool

  • CLI: things
  • Repo: https://github.com/ossianhempel/things3-cli
  • Install:
GOBIN=/opt/homebrew/bin go install github.com/ossianhempel/things3-cli/cmd/things@latest

Auth for update URL operations:

source ~/.profile >/dev/null 2>&1 || true
things auth

THINGS_AUTH_TOKEN should come from ~/.profile or 1Password. Never print it. things update --dry-run must redact it as auth-token=***.

Start

Use JSON for scripted reads and verification:

things tasks --format json --limit 20
things today --format json
things search "query" --format json

Things DB reads may need Full Disk Access for the calling app. Writes should go through Things URL Scheme or AppleScript via things; do not write the SQLite DB directly.

Add

Default: add, then search/read back.

things add "Book LHR-SFO nonstop business flight" --notes "Nonstop only." --when tomorrow --tags travel
things tasks --search "LHR-SFO" --format json

Useful flags:

  • --notes "text"
  • --when today|tomorrow|evening|anytime|someday|YYYY-MM-DD
  • --deadline YYYY-MM-DD
  • --list "Project or Area"
  • --tags tag1,tag2
  • --checklist-item "text" repeatable
  • --dry-run to inspect the things:/// URL without mutating.

Update / Delete

Find the UUID first, then mutate by id:

things tasks --search "flight" --format json
things update --id <uuid> "New title" --notes "Updated notes"
things tasks --search "New title" --format json
things delete --id <uuid> --confirm <uuid>
things tasks --search "New title" --format json
things trash --search "New title" --format json

Always read back after writes. Delete moves items to Things Trash; verify normal search is empty and trash search contains the item when cleanup matters.

Conventions

  • Turn vague asks into concrete next-action titles.
  • Preserve wording when the user clearly wants capture, not rewriting.
  • Split unrelated actions into separate to-dos.
  • Use Today only when the user implies it; otherwise use Inbox/Anytime defaults.
  • Prefer --dry-run before bulk updates/deletes.
  • For current date math, run date; do not guess.

Gotchas

  • macOS only; remote hosts may show Things.app version as UNKNOWN if the app is absent or not visible there.
  • update needs THINGS_AUTH_TOKEN; add does not.
  • --tags is plural for add/update; tasks --tag is singular for filtering.
  • today JSON may show start: Anytime plus a real start_date; use command membership/read-back, not one field alone, to verify Today placement.
常见问题

它会直接写入 Things 数据库吗?

不会。技能规定通过 Things 的 URL 方案或 AppleScript 写入,而不是直接修改数据库文件。

它需要身份验证令牌吗?

只有 URL 更新操作需要,令牌通过工具的授权步骤设置。

我可以先预览更改吗?

可以。试运行选项允许你在更改生效前检查链接。

详情

作者的原始描述

Things 3 via things CLI: add, list, search, update, delete, verify.

repo: steipete/agent-scripts

热度

GitHub 星标
7.4k
排名
#13253
许可证
MIT
更新时间
2026/10/30

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能