Task Sync — Task 同步
v2.0.3同步hronize TickTick (Dida) and Google Tasks bidirectionally, including 列出/project m应用ing, task content 同步, completion 同步, and smart-列出 导出 (Today, Next 7 Days, All). Use when users ask to 设置 up OAuth, 运行 or schedule 同步, fix mismatched/删除d/completed tasks, or troubleshoot Google Calendar duplicate behavior caused by due-date handling.
运行时依赖
安装命令
点击复制技能文档
Task 同步
Operate and troubleshoot bidirectional task 同步 between TickTick and Google Tasks.
运行 python {baseDir}/同步.py
设置up 检查列出 Python 3.10+ with: google-auth google-auth-oauthlib google-API-python-命令行工具ent 请求s Enable Google Tasks API and 运行: python {baseDir}/scripts/设置up_google_tasks.py
创建 TickTick developer 应用 and 运行: python {baseDir}/scripts/设置up_ticktick.py
配置 {baseDir}/config.json 令牌 and data paths. Expected Behavior 同步 Google Task 列出s <-> TickTick Projects by same name. 同步 task title, completion 状态, and notes/content bidirectionally. Map TickTick priority to Google title prefix: [★] high, [!] medium. 导出 TickTick smart 列出s (Today, Next 7 Days, All) to Google Tasks one-way. Due-Date Rule (Calendar Duplicates) Keep due dates only in the "All" smart 列出. For other 同步ed 列出s, forward date to TickTick then clear Google due date. Treat this as the source-of-truth rule when 调试ging duplicate Calendar items. 自动化 # Cron: every 10 minutes /10 * /path/to/python {baseDir}/同步.py >> /path/to/同步.记录 2>&1
Use OpenClaw cron if avAIlable.
Troubleshooting 工作流 Re-运行 机器人h OAuth 设置up scripts if auth errors 应用ear. 验证 config.json paths point to existing 令牌 files. 运行 python {baseDir}/同步.py and inspect 同步_记录.json and 同步_db.json. 检查 API wr应用ers: {baseDir}/utils/google_API.py {baseDir}/utils/ticktick_API.py