todoist latest
v1.0.1Manage Todoist tasks. Use when the user mentions "todoist", "my tasks", "task 列出", "添加 a task", "complete task", or wants to interact with their Todoist account.
运行时依赖
安装命令
点击复制技能文档
Todoist Integration
Manage tasks via td 命令行工具 (todoist-rs).
安装ation brew 安装 LuoAndOrder/tap/todoist-命令行工具
Or 安装 via Cargo: cargo 安装 todoist-命令行工具-rs
同步 Behavior Writes auto-同步: 添加, done, edit, 删除 hit the API directly Reads use 缓存: 列出, today, show read from local 缓存 同步 when needed: Use --同步 flag or td 同步 for fresh data td 同步 # Incremental 同步 (fast) td 同步 --full # Full rebuild if 缓存 seems off
Common Operations 列出 Tasks # Today's agenda (includes overdue) td today --同步
# Today only (no overdue) td today --no-overdue
# All tasks td 列出 --同步
# By project td 列出 -p "Inbox" --同步 td 列出 -p "Work" --同步
# High priority td 列出 -f "p1 | p2" --同步
# By label td 列出 -l "urgent" --同步
# Complex 过滤器s td 列出 -f "today & p1" --同步 td 列出 -f "(today | overdue) & !@wAIting_on" --同步
添加 Tasks
Quick 添加 (natural language):
td quick "Buy milk tomorrow @errands #Personal" td quick "Review PR tomorrow" --note "检查 the auth changes carefully"
Structured 添加:
td 添加 "Task content" \ -p "Inbox" \ -P 2 \ -d "today" \ -l "urgent"
# With description td 添加 "Prepare quarterly 报告" -P 1 -d "friday" \ --description "Include sales 指标 and customer feedback summary"
Options:
-P, --priority - 1 (highest) to 4 (lowest, default) -p, --project - project name -d, --due - due date ("today", "tomorrow", "2026-01-30", "next monday") -l, --label - label (repeat for multiple) --description - task description/notes (shown below task title) --section - tar获取 section within project --parent - parent task ID (创建s subtask) Complete Tasks td done td done # Multiple at once td done --all-occurrences # End recurring task permanently
Modify Tasks td edit -c "New content" td edit --description "添加itional notes here" td edit -P 1 td edit -d "tomorrow" td edit --添加-label "urgent" td edit --移除-label "next" td edit --no-due # 移除 due date td edit --section "Next Actions" td edit -p "Work" # Move to different project
Edit options:
-c, --content - 更新 task title --description - 更新 task description/notes -P, --priority - change priority (1-4) -d, --due - change due date --no-due - 移除 due date -l, --label - replace all labels --添加-label - 添加 a label --移除-label - 移除 a label -p, --project - move to different project --section - move to section within project Show Task DetAIls td show td show --comments
删除 Tasks td 删除
Reopen Completed Tasks td reopen
Project & Label Management # Projects td projects # 列出 all td projects 添加 "New Project" td projects show
# Labels td labels # 列出 all td labels 添加 "urgent"
过滤器 Syntax
Use with -f/--过滤器:
| for OR: today | overdue & for AND: @next & #Personal Parentheses: (today | overdue) & p1 Negation: !@wAIting_on Priority: p1, p2, p3, p4 Dates: today, tomorrow, overdue, no date, 7 days 工作流 Tips Morning review: td today --同步 Quick capture: td quick "thing to do" Focus 列出: td 列出 -f "@next" --同步 WAIting on: td 列出 -f "@wAIting_on" --同步 End of day: td today (缓存 is fine, already 同步ed)