Install the skill above, then run this in your AI tool:
/todoist-api <your description>
About
This skill provides procedural guidance for working with Todoist using the `td` CLI tool.
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
This skill provides instructions for interacting with Todoist using the td CLI tool. It covers CRUD operations for tasks/projects/sections/labels/comments, and requires confirmation before destructive actions.
Skill instructions
Todoist CLI Skill
This skill provides procedural guidance for working with Todoist using the td CLI tool.
Prerequisites
The td CLI must be installed and authenticated. Verify with:
bash
td auth status
If td is not installed or not authenticated:
Not installed: Tell the user to install with npm install -g @doist/todoist-cli
Not authenticated: Tell the user to run td auth login to authenticate via OAuth
Output Formats for Agents
For machine-readable output, use these flags:
--json - Output as JSON array
--ndjson - Output as newline-delimited JSON (one object per line)
--full - Include all fields in JSON output (default shows essential fields only)
Confirmation Requirement
Before executing any destructive action, always ask the user for confirmation using AskUserQuestion or similar tool. A single confirmation suffices for a logical group of related actions.
Destructive actions include:
Deleting tasks, projects, sections, labels, or comments
For large result sets, use --all to fetch everything, or handle pagination with cursors:
bash
# First page
result=$(td task list --json --limit 50)
# If there's a next_cursor in the response, continue
cursor=$(echo"$result" | jq -r '.[-1].id // empty')
td task list --json --limit 50 --cursor "$cursor"
Reference Resolution
The <ref> parameter in commands accepts:
Task/project/label name (partial match supported)
id:xxx for exact ID match
Numeric ID (interpreted as id:xxx)
Additional Reference
For detailed information on specific topics, consult:
references/completed-tasks.md - Alternative methods for completed task history via API
references/filters.md - Todoist filter query syntax for --filter flag
Workflow Summary
Verify authentication - td auth status
Read operations - Execute directly without confirmation
Write operations - Ask for confirmation before executing
Use JSON output - Add --json flag for machine-readable data
Handle large datasets - Use --all or pagination with --cursor
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/intellectronica/todoist-api/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@intellectronica/todoist-api@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: This skill provides instructions for interacting with Todoist using the td CLI tool. It covers CRUD operations for tasks/projects/sections/labels/comments, and requires confirmation before destructive actions. Use this skill when the use...
Run aipm add @intellectronica/todoist-api@1.0.0 in a project that has AIPM initialized.
Supported tools
@intellectronica/todoist-api@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.