Todoist Api logo

Todoist Api

Community
intellectronica
todoist-api

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 user wants to read, create, update, or delete Todoist data.

Overview

Publisherintellectronica
Repositoryagent-skills
Skill nametodoist-api
Stars
297
Forks
27
Bundled files
2
LicenseCC0-1.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by intellectronica on GitHub. Read the source before you install it.

Installation

Install the Todoist Api AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/intellectronica/agent-skills/tree/main/plugins/todoist-api/skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/intellectronica/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/plugins/todoist-api/skills .claude/skills/todoist-api
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Todoist Api in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Todoist Api on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Todoist Api is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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
  • Completing tasks
  • Updating existing resources
  • Archiving projects

Read-only operations do not require confirmation.

Quick Commands

CommandDescription
td add "text"Quick add with natural language parsing
td todayTasks due today and overdue
td upcoming [days]Tasks due in next N days (default: 7)
td inboxTasks in Inbox
td completedRecently completed tasks

Quick Add Examples

bash
td add "Buy milk tomorrow p1 #Shopping"
td add "Call dentist every monday @health"
td add "Review PR #Work /Code Review"

The quick add parser supports:

  • Due dates: tomorrow, next monday, Jan 15
  • Priority: p1 (urgent) through p4 (normal)
  • Project: #ProjectName
  • Section: /SectionName
  • Labels: @label1 @label2

Tasks

List Tasks

bash
td task list [options]

Filters:

  • --project <name> - Filter by project name or id:xxx
  • --label <name> - Filter by label (comma-separated for multiple)
  • --priority <p1-p4> - Filter by priority
  • --due <date> - Filter by due date (today, overdue, or YYYY-MM-DD)
  • --filter <query> - Raw Todoist filter query
  • --assignee <ref> - Filter by assignee (me or id:xxx)
  • --workspace <name> - Filter to workspace
  • --personal - Filter to personal projects only

Output:

bash
td task list --json                    # JSON array
td task list --project "Work" --json   # Filtered JSON
td task list --all --json              # All tasks (no limit)

View Task Details

bash
td task view <ref>              # Human-readable
td task view <ref> --json       # JSON output

The ref can be a task name, partial match, or id:xxx.

Create Task

Quick add (natural language):

bash
td add "Task text with #Project @label tomorrow p2"

Explicit flags:

bash
td task add --content "Task text" \
  --project "Work" \
  --due "tomorrow" \
  --priority p2 \
  --labels "urgent,review" \
  --description "Additional details"

Options:

  • --content <text> - Task content (required)
  • --due <date> - Due date (natural language or YYYY-MM-DD)
  • --deadline <date> - Deadline date (YYYY-MM-DD)
  • --priority <p1-p4> - Priority level
  • --project <name> - Project name or id:xxx
  • --section <id> - Section ID
  • --labels <a,b> - Comma-separated labels
  • --parent <ref> - Parent task for subtask
  • --description <text> - Task description
  • --assignee <ref> - Assign to user (name, email, id:xxx, or "me")
  • --duration <time> - Duration (e.g., 30m, 1h, 2h15m)

Update Task

bash
td task update <ref> --content "New content" --due "next week"

Options:

  • --content <text> - New content
  • --due <date> - New due date
  • --deadline <date> - Deadline date
  • --no-deadline - Remove deadline
  • --priority <p1-p4> - New priority
  • --labels <a,b> - Replace labels
  • --description <text> - New description
  • --assignee <ref> - Assign to user
  • --unassign - Remove assignee
  • --duration <time> - Duration

Complete Task

bash
td task complete <ref>

Reopen Task

bash
td task uncomplete id:xxx

Note: Uncomplete requires the task ID (id:xxx format).

Delete Task

bash
td task delete <ref>

Move Task

bash
td task move <ref> --project "New Project"
td task move <ref> --section <section-id>
td task move <ref> --parent <task-ref>

Open in Browser

bash
td task browse <ref>

Projects

List Projects

bash
td project list                     # Human-readable tree
td project list --json              # JSON array
td project list --personal --json   # Personal projects only

View Project

bash
td project view <ref>
td project view <ref> --json

Create Project

bash
td project create --name "Project Name" \
  --color "blue" \
  --parent "Parent Project" \
  --view-style board \
  --favorite

Options:

  • --name <name> - Project name (required)
  • --color <color> - Colour name
  • --parent <ref> - Parent project for nesting
  • --view-style <style> - "list" or "board"
  • --favorite - Mark as favourite

Update Project

bash
td project update <ref> --name "New Name" --color "red"

Archive/Unarchive Project

bash
td project archive <ref>
td project unarchive <ref>

Delete Project

bash
td project delete <ref>

Note: Project must have no uncompleted tasks.

List Collaborators

bash
td project collaborators <ref>

Sections

List Sections

bash
td section list <project>           # Human-readable
td section list <project> --json    # JSON array

Create Section

bash
td section create --name "Section Name" --project "Project Name"

Update Section

bash
td section update <id> --name "New Name"

Delete Section

bash
td section delete <id>

Labels

List Labels

bash
td label list              # Human-readable
td label list --json       # JSON array

Create Label

bash
td label create --name "label-name" --color "green" --favorite

Update Label

bash
td label update <ref> --name "new-name" --color "blue"

Delete Label

bash
td label delete <name>

Comments

List Comments

bash
td comment list <task-ref>                    # Comments on task
td comment list <project-ref> --project       # Comments on project

Add Comment

bash
td comment add <task-ref> --content "Comment text"
td comment add <project-ref> --project --content "Comment text"

Update Comment

bash
td comment update <id> --content "Updated text"

Delete Comment

bash
td comment delete <id>

Reminders

List Reminders

bash
td reminder list <task-ref>

Add Reminder

bash
td reminder add <task-ref> --due "tomorrow 9am"

Delete Reminder

bash
td reminder delete <id>

Filters

List Saved Filters

bash
td filter list --json

Show Tasks Matching Filter

bash
td filter show <filter-ref> --json

Create Filter

bash
td filter create --name "My Filter" --query "today & p1"

Completed Tasks

bash
td completed                              # Today's completed tasks
td completed --since 2024-01-01           # Since specific date
td completed --project "Work" --json      # Filtered JSON output
td completed --all --json                 # All completed (no limit)

Options:

  • --since <date> - Start date (YYYY-MM-DD), default: today
  • --until <date> - End date (YYYY-MM-DD), default: tomorrow
  • --project <name> - Filter by project

Activity and Stats

bash
td activity                  # Recent activity
td stats                     # Productivity stats and karma

Pagination

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

  1. Verify authentication - td auth status
  2. Read operations - Execute directly without confirmation
  3. Write operations - Ask for confirmation before executing
  4. Use JSON output - Add --json flag for machine-readable data
  5. Handle large datasets - Use --all or pagination with --cursor

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Todoist Api AI skill do?

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 user wants to read, create, update, or delete Todoist data.

Why use Todoist Api on TypingMind?

Because you install it once and use it with any model. Todoist Api is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Todoist Api in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/intellectronica/agent-skills/tree/main/plugins/todoist-api/skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Todoist Api?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Todoist Api?

As many as you like. As long as a model supports skills, you can use Todoist Api with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Todoist Api AI skill free?

Yes. It is published on GitHub by intellectronica under the CC0-1.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇