Community编程与开发github.com

things-mac

在 macOS 上读取 Things 3 本地数据库(收件箱/今天/搜索/项目/区域/标签),并通过 URL 方案添加和更新待办事项。

things-mac 是什么?

Things 3 CLI 是一个专为 macOS 设计的 AI 代理技能,允许你通过命令行高效管理 Things 3 任务。它结合了数据库读取(只读)和 URL 方案写入(添加/更新)两大功能。对于读取操作,你可以查询收件箱、今天、即将到来、搜索、项目、区域和标签;对于写入操作,你可以添加带有标题、备注、截止日期、清单项的新任务,也可以更新现有任务的标题、备注、列表归属、标签,甚至标记为完成或取消。该技能支持 `--dry-run` 预览模式以避免误操作,并需要为更新操作配置 `THINGS_AUTH_TOKEN`。它适用于 Cursor、Claude Code 等支持自定义工具的开发环境,但仅限 macOS。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/things-mac

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Things 3 CLI

使用 things 命令读取本地 Things 数据库(收件箱/今天/搜索/项目/区域/标签),并通过 Things URL 方案添加和更新待办事项。

设置

  • 安装(推荐,Apple Silicon 芯片):GOBIN=/opt/homebrew/bin go install github.com/ossianhempel/things3-cli/cmd/things@latest
  • 如果数据库读取失败:为调用程序授予完全磁盘访问权限(手动运行时为“终端”;网关运行时为 OpenClaw.app)。
  • 可选:设置 THINGSDB(或传递 --db)指向你的 ThingsData-* 文件夹。
  • 可选:设置 THINGS_AUTH_TOKEN 以避免在更新操作时传递 --auth-token。

只读操作(数据库)

  • things inbox --limit 50
  • things today
  • things upcoming
  • things search "查询"
  • things projects / things areas / things tags

写入操作(URL 方案)

  • 推荐使用安全预览:things --dry-run add "标题"
  • 添加任务:things add "标题" --notes "备注..." --when today --deadline 2026-01-02
  • 将 Things 置于前台:things --foreground add "标题"

示例:添加待办事项

  • 基本用法:things add "买牛奶"
  • 带备注:things add "买牛奶" --notes "2% 脂肪 + 香蕉"
  • 放入项目/区域:things add "订机票" --list "旅行"
  • 放入项目标题下:things add "打包充电器" --list "旅行" --heading "出发前"
  • 带标签:things add "约牙医" --tags "健康,电话"
  • 清单项:things add "旅行准备" --checklist-item "护照" --checklist-item "机票"
  • 从标准输入读取(多行 => 标题 + 备注):
    • cat <<'EOF' | things add -
    • 标题行
    • 备注行 1
    • 备注行 2
    • EOF

示例:修改待办事项(需要身份验证令牌)

  • 首先:获取 ID(UUID 列):things search "牛奶" --limit 5
  • 身份验证:设置 THINGS_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 / --canceled
  • 安全预览:things --dry-run update --id <UUID> --auth-token <令牌> --completed

删除待办事项?

  • 当前 things3-cli 不支持(没有“删除/移至废纸篓”的写入命令;things trash 是只读列表)。
  • 可选方案:使用 Things UI 删除/丢弃,或通过 things update 标记为 --completed / --canceled。

备注

  • 仅限 macOS。
  • --dry-run 会打印 URL 但不打开 Things。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能