mcpField
S
sync-things-tasks

sync-things-tasks

github.com/nweii生产力1045 次安装1 周前更新
代码仓库

关于 sync-things-tasks

此 Skill 使用 `things` 命令行工具,将 Obsidian 规划笔记转为 Things 3 待办事项,也支持查看任务并关联源笔记。

主要功能

  1. 01从笔记提取行动事项
  2. 02添加带日期和截止时间的任务
  3. 03在任务备注中加入 Obsidian 链接
  4. 04查看 Things 区域、项目和任务

适用场景

  1. 01将项目笔记转为 Things 任务
  2. 02总结笔记时添加后续任务
  3. 03创建项目之前查看现有任务

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/nweii/agent-stuff --skill sync-things-tasks

安装后在 Claude Code 中输入/sync-things-tasks确认已加载。

附带文件CHANGELOG.md

详细介绍

同步 Things 任务

使用 things CLI,在思考(Obsidian)与执行(Things 3)之间搭建桥梁。

核心概念

  • 思考与执行:使用 Obsidian 起草想法和规划。使用 Things 3 管理有日期或截止日期的可执行待办事项。
  • CLI 优先:使用 things 命令,无需离开聊天即可添加任务。
  • 关联上下文的任务:总结笔记时,主动识别行动项,并提出将其发送到 Things。

身份验证令牌

CLI 在执行更新操作时需要身份验证令牌。用户应在 shell 配置文件中设置 THINGS_AUTH_TOKEN。

常见工作流

从笔记中添加任务
# Add to Today with Obsidian link
things add "Follow up with [Name]" --notes "Context: [Note Title](obsidian://open?vault=MyVault&file=Path%2FTo%2FNote)" --when today
提取项目任务

处理项目笔记时,提取行动项:

things add "Draft initial spec" --list "Project Name" --notes "Reference: [Project](obsidian://open?vault=MyVault&file=...)"
查看任务
things today              # What's on today
things areas             # Existing Areas
things projects          # Existing Projects
things show "Area Name"  # Contents of Area
things tasks --project "Project Name"  # Tasks in project
things search "query"    # Search for existing tasks

集成原则

  • 先发现:创建新容器前,使用 things areas 和 things projects
  • Obsidian URI:在 Things 笔记中加入可点击的 Obsidian 链接:[Note](obsidian://open?vault=MyVault&file=URL_ENCODED_PATH)
  • 先试运行:对于复杂任务,使用 things --dry-run add "..."
  • 以 Things 为准:Things 是“执行”事项的事实来源;任务完成时不一定要更新 Obsidian

评论

支持 Markdown