Todoist
This skill uses aivault to keep your Todoist API token safe.
Setup
Install aivault if it is not already available:
bash
curl -fsSL https://aivault.moldable.sh/install.sh | sh
Store your Todoist API token in aivault. The credential and all todoist/* capabilities are auto-provisioned from the built-in registry.
bash
aivault secrets create --name TODOIST_TOKEN --value "YOUR_API_TOKEN" --scope global
This skill uses todoist/tasks, todoist/projects, and todoist/comments.
Quick start
bash
npx -y tsx {baseDir}/scripts/todoist.ts tasks-list
Common examples
bash
npx -y tsx {baseDir}/scripts/todoist.ts tasks-create --content "Buy milk" --due "tomorrow"
npx -y tsx {baseDir}/scripts/todoist.ts tasks-close --id <task-id>
npx -y tsx {baseDir}/scripts/todoist.ts projects-list
npx -y tsx {baseDir}/scripts/todoist.ts comments-add --task-id <task-id> --content "FYI this is blocked"
npx -y tsx {baseDir}/scripts/todoist.ts tasks-list --json