← 返回
开发者工具 中文

Todoist

Use the td (Todoist CLI) to read and manage Todoist todos/to-dos/tasks from the terminal. Trigger when the user asks about their todos/tasks/agenda/checklist (today/upcoming/overdue), wants to list inbox/tasks/projects/labels, add a task/todo with natural language, or update/complete/delete/move tasks (e.g., add a phone number to a task description, change due dates, priorities, labels).
使用 td (Todoist CLI) 在终端读取和管理 Todoist 待办事项。当用户询问待办/任务/日程/清单(今天/即将到期/逾期),欲列出收件箱/任务/项目/标签,或需以自然语言添加任务,以及更新/完成/删除/移动任务(如添加描述、更改日期/优先级/标签)时触发。
mattjefferson
开发者工具 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 2,364
下载
💾 3
安装
1
版本
#latest

概述

Todoist via td CLI

Install / verify

Repo: https://github.com/Doist/todoist-cli

If td is not installed (e.g., command not found: td), install from the repo:

git clone https://github.com/Doist/todoist-cli
cd todoist-cli
npm install
npm run build
npm link

Then verify:

td --help

Use td for all Todoist operations. Prefer parseable output:

  • Use --json (or --ndjson) for listing/reading tasks.
  • Use td task update ... for edits (content, due, description, priority, labels, etc.).

Quick agenda

  • Today + overdue:
  • td today --json
  • Next N days:
  • td upcoming 7 --json
  • Inbox:
  • td inbox --json

When summarizing an agenda for the user:

  • Separate Overdue vs Due today (and optionally Upcoming).
  • Include priority (p1–p4) if present and any labels.

Find the right task to edit

Preferred approaches:

1) If you already have the task id, use it directly:

  • Reference format: id: (e.g., id:6WcqCcR4wF7XW5m6)

2) If you only have a title/snippet, search/list then match:

  • td task list --json (optionally filter via other list commands like today, upcoming, inbox)
  • Then pick the correct item by content + due date + project.

To view a single task:

  • td task view --json

Common edits

Update description (notes):

  • td task update --description "..."

Update title/content:

  • td task update --content "New task title"

Change due date/time (natural language often works):

  • td task update --due "tomorrow 3pm"

Priority:

  • td task update --priority p1 (or p2/p3/p4)

Labels (replaces existing labels):

  • td task update --labels "Chores,Calls"

Complete / reopen:

  • td task complete
  • td task uncomplete id:

Delete:

  • td task delete --yes (only if the user explicitly wants deletion)

Add tasks

Fast natural-language add:

  • td add "Call dentist tomorrow 10am p2 #Personal"

Or explicit add (when you need structured fields):

  • td task add --content "..." --due "..." --priority p2 --labels "..."

Safety / UX

  • Confirm before destructive actions (delete).
  • If multiple tasks match the user’s description, ask a clarifying question (or show candidates) before updating.
  • When the user asks to add info (e.g., a phone number), put it in the description unless they explicitly want it in the title.

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-28 16:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,534
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,474
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927