Community程式設計與開發github.com

things-mac

在 macOS 上新增、更新、列出、搜尋或檢視 Things 3 的待辦事項、收件匣、今天、專案、區域與標籤。

things-mac 是什麼?

這項技能可讓開發者或 AI 代理程式直接從終端機操作 Things 3(macOS)的待辦事項資料庫,使用統一的 `things` 指令。它支援唯讀查詢(收件匣、今天、即將到來、搜尋、專案、區域與標籤)以及透過 Things URL scheme 進行寫入操作(新增與更新待辦事項)。對於需要自動化任務管理的工作流程特別有幫助,例如從 CLI 工具、CI/CD 管道或如 Claude Code 等 AI 代理程式建立待辦事項,而無需手動打開應用程式。設定包含安裝 Go 二進位檔、授予完全磁碟存取權限,以及可選的資料庫路徑與驗證令牌環境變數。雖然目前不支援刪除待辦事項,但可以透過 `--completed` 或 `--canceled` 標記來替代。

相容平台~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 scheme 新增與更新待辦事項。

設定

  • 安裝(建議,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 scheme)

  • 建議先安全預覽: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 "機票"
  • 從 STDIN 輸入(多行 => 標題 + 備註):
    • cat <<'EOF' | things add -
    • 標題行
    • 備註行 1
    • 備註行 2
    • EOF

範例:修改待辦事項(需要驗證令牌)

  • 首先:取得 ID(UUID 欄位):things search "牛奶" --limit 5
  • 驗證:設定 THINGS_AUTH_TOKEN 或傳遞 --auth-token <TOKEN>
  • 修改標題:things update --id <UUID> --auth-token <TOKEN> "新標題"
  • 取代備註:things update --id <UUID> --auth-token <TOKEN> --notes "新備註"
  • 附加/前置備註:things update --id <UUID> --auth-token <TOKEN> --append-notes "..." / --prepend-notes "..."
  • 移動清單:things update --id <UUID> --auth-token <TOKEN> --list "旅行" --heading "出發前"
  • 取代/新增標籤:things update --id <UUID> --auth-token <TOKEN> --tags "a,b" / things update --id <UUID> --auth-token <TOKEN> --add-tags "a,b"
  • 完成/取消(類似軟刪除):things update --id <UUID> --auth-token <TOKEN> --completed / --canceled
  • 安全預覽:things --dry-run update --id <UUID> --auth-token <TOKEN> --completed

刪除待辦事項?

  • things3-cli 目前不支援(沒有「刪除/移至垃圾桶」的寫入指令;things trash 是唯讀列表)。
  • 替代方案:使用 Things 介面刪除/丟入垃圾桶,或透過 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.

相關技能