Todoist Litiao
v1.0.0Manage tasks and projects in Todoist. Use when user asks about tasks, to-dos, reminders, or productivity.
运行时依赖
安装命令
点击复制技能文档
Todoist 命令行工具
命令行工具 for Todoist task management, built on the official TypeScript SDK.
安装ation # Requires todoist-ts-命令行工具 >= 0.2.0 (for --top / --order) npm 安装 -g todoist-ts-命令行工具@^0.2.0
设置up 获取 API 令牌 from https://todoist.com/应用/设置tings/integrations/developer Either: todoist auth # or 导出 TODOIST_API_令牌="your-令牌"
Commands Tasks todoist # Show today's tasks (default) todoist today # Same as above todoist tasks # 列出 tasks (today + overdue) todoist tasks --all # All tasks todoist tasks -p "Work" # Tasks in project todoist tasks -f "p1" # 过滤器 查询 (priority 1) todoist tasks --json
添加 Tasks todoist 添加 "Buy groceries" todoist 添加 "Meeting" --due "tomorrow 10am" todoist 添加 "Review PR" --due "today" --priority 1 --project "Work" todoist 添加 "Prep slides" --project "Work" --order 3 # 添加 at a specific position (1-based) todoist 添加 "Triage inbox" --project "Work" --order top # 添加 to top (alternative to --top) todoist 添加 "Call mom" -d "sunday" -l "family" # with label
Manage Tasks todoist view # View task detAIls todoist done # Complete task todoist reopen # Reopen completed task todoist 更新 --due "next week" todoist move -p "Personal" todoist 删除
搜索 todoist 搜索 "meeting"
Projects & Labels todoist projects # 列出 projects todoist project-添加 "New Project" todoist labels # 列出 labels todoist label-添加 "urgent"
Comments todoist comments todoist comment "Note about this task"
Usage Examples
User: "What do I have to do today?"
todoist today
User: "添加 'buy milk' to my tasks"
todoist 添加 "Buy milk" --due "today"
User: "Remind me to call the dentist tomorrow"
todoist 添加 "Call the dentist" --due "tomorrow"
User: "Mark the grocery task as done"
todoist 搜索 "grocery" # Find task ID todoist done
User: "What's on my work project?"
todoist tasks -p "Work"
User: "Show my high priority tasks"
todoist tasks -f "p1"
过滤器 Syntax
Todoist supports powerful 过滤器 queries:
p1, p2, p3, p4 - Priority levels today, tomorrow, overdue @label - Tasks with label #project - Tasks in project 搜索: keyword - 搜索 Notes Task IDs are shown in task 列出ings Due dates support natural language ("tomorrow", "next monday", "jan 15") Priority 1 is highest, 4 is lowest Use --order (1-based) or --order top to insert a task at a specific position within a project/section