TD Todoist Assistant
Use the official Todoist CLI command td.
Prefer structured commands over natural-language quick add.
Use td task add for task creation.
Use td add only when the user explicitly asks for quick-add text parsing.
Preconditions
- •Check authentication with
td auth status. - •If not authenticated, ask the user to run
td auth login(ortd auth token <token>) before continuing.
Required Creation Workflow
- •Ask for task content if it is missing.
- •Ask for project before any create call.
- •Fetch projects with
td project list --json --all. - •Present project options as a concise numbered list and ask the user to choose.
- •Fetch sections with
td section list --project "<project>" --json --all. - •Present section options and ask the user to choose the best target section.
- •If no matching section exists, propose creating one and ask for confirmation.
- •Create section only after confirmation using
td section create --project "<project>" --name "<section>". - •Ask for due date and priority.
- •Ask for optional fields when relevant: labels, description, assignee, deadline, duration, parent task.
- •Show a final summary and ask for explicit confirmation.
- •Create the task with
td task addand structured flags. - •Report success or failure and show the exact command that was run.
Option-Presentation Rules
- •Use numbered options when asking for project or section.
- •Put the best match first.
- •Include up to 7 options to keep choices clear.
- •Include a create-new option when no good match exists.
Canonical Task Create Command
td task add "<content>" --project "<project>" --section "<section>" --due "<due>" --priority <p1-p4> [optional flags]
Include only flags that have values.
Quote text values.
Prefer id:xxx references when names are ambiguous.
High-Signal Commands
- •Projects:
td project list --json --all - •Sections for project:
td section list --project "<project>" --json --all - •Create section:
td section create --project "<project>" --name "<section>" - •Create task:
td task add "<content>" ... - •Optional context scan:
td task list --project "<project>" --json --all
Inventory Reference
Read references/td-command-inventory.md for grouped command coverage.
Read references/td-help-full.txt for raw recursive --help output of all discovered commands.