ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Todoist Task Executor

Skill by caps-hd

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/caps-hd/todoist-task-executor
Or

name: todoist-task-executor description: Todoist automated task executor. Automatically executes tasks marked with 【执行中】 in your project, supports fetching comment attachments, downloading files, analyzing content, and logging execution reports. Use when you need to: automatically execute Todoist tasks on a schedule, process task attachments, or track task status.

Todoist Task Executor

An automated task executor that polls a Todoist project for tasks marked with 【执行中】, downloads and analyzes attachments, and logs execution reports.

⚠️ First-Time Setup

1. Configure Todoist Token

# Get your token: https://todoist.com/app/settings/integrations/developer
todoist auth <your_api_token>

Token is stored at ~/.config/todoist-cli/config.json

2. Verify Your Project

todoist projects   # Confirm your project exists

Cron Configuration

  • Cron Job ID: a6fb7d10-e5c5-410a-9ab7-58077bea16dc
  • Interval: Every 30 minutes
  • Status: ✅ Enabled

Cron Management

# Manual trigger
openclaw cron run a6fb7d10-e5c5-410a-9ab7-58077bea16dc

# View execution history
openclaw cron runs --id a6fb7d10-e5c5-410a-9ab7-58077bea16dc --limit 3

# List all cron jobs
openclaw cron list

Execution Flow

1. Fetch tasks from project: todoist tasks -p "<project_name>" --json
2. Filter tasks with 【执行中】 in title
3. Fetch comment attachments for the task
4. Download image to /tmp/openclaw/report.jpg
5. Analyze content and execute
6. On completion:
   - Success: restore title + todoist done + add report comment
   - Failure: update title to 【执行失败】 + add failure comment

Task Title Status Convention

StatusTitle FormatDescription
PendingTask NameWaiting for cron execution
RunningTask Name【执行中】Cron has picked up, executing
FailedTask Name【执行失败】Execution failed, needs review
DoneTask Name + CompletedSuccessfully completed

Creating a New Cron Job

openclaw cron add \
  --name "todoist-task-executor" \
  --every 30m \
  --message "Execute Todoist task automation:
1. Fetch tasks: todoist tasks -p \"<project_name>\" --json
2. Filter tasks with 【执行中】 in title
3. Execute task content
4. Mark as done or failed on completion" \
  --no-deliver

Fetching Task Comment Attachments

// Attachments are stored in comments, not task description
const https = require('https');
const fs = require('fs');
const home = process.env.USERPROFILE || process.env.HOME;
const cfg = JSON.parse(fs.readFileSync(home + '/.config/todoist-cli/config.json', 'utf8'));
const token = cfg.token;
const taskId = '<task_id>';

Metadata

Author@caps-hd
Stars4072
Views0
Updated2026-04-13
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-caps-hd-todoist-task-executor": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.