← 返回 Skills 市场
byungkyu

TickTick

作者 byungkyu · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
4360
总下载
7
收藏
4
当前安装
4
版本数
在 OpenClaw 中安装
/install ticktick-api-skill
功能描述
TickTick API integration with managed OAuth. Manage tasks, projects, and task lists. Use this skill when users want to create, update, complete, or organize...
使用说明 (SKILL.md)

TickTick

Access the TickTick API with managed OAuth authentication. Manage tasks and projects with full CRUD operations.

Quick Start

# List all projects
python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/ticktick/open/v1/project')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://api.maton.ai/ticktick/{native-api-path}

Maton proxies requests to api.ticktick.com and automatically injects your OAuth token.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your TickTick OAuth connections at https://api.maton.ai.

List Connections

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=ticktick&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'ticktick'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "{connection_id}",
    "status": "ACTIVE",
    "creation_time": "2026-02-07T09:55:40.786711Z",
    "last_updated_time": "2026-02-07T09:56:30.403237Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "ticktick",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple TickTick connections, specify which one to use with the Maton-Connection header:

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/ticktick/open/v1/project')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If you have multiple connections, always include this header to ensure requests go to the intended account.

Security & Permissions

  • Access is scoped to tasks, projects, and task lists within the connected TickTick account.
  • All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.

API Reference

Project Operations

List Projects

GET /ticktick/open/v1/project

Response:

[
  {
    "id": "6984773291819e6d58b746a8",
    "name": "🏡Memo",
    "sortOrder": 0,
    "viewMode": "list",
    "kind": "TASK"
  },
  {
    "id": "6984773291819e6d58b746a9",
    "name": "🦄Wishlist",
    "sortOrder": -1099511627776,
    "viewMode": "list",
    "kind": "TASK"
  }
]

Get Project with Tasks

GET /ticktick/open/v1/project/{projectId}/data

Response:

{
  "project": {
    "id": "69847732b8e5e969f70e7460",
    "name": "👋Welcome",
    "sortOrder": -3298534883328,
    "viewMode": "list",
    "kind": "TASK"
  },
  "tasks": [
    {
      "id": "69847732b8e5e969f70e7464",
      "projectId": "69847732b8e5e969f70e7460",
      "title": "Sample task",
      "content": "Task description",
      "priority": 0,
      "status": 0,
      "tags": [],
      "isAllDay": false
    }
  ],
  "columns": [
    {
      "id": "69847732b8e5e969f70e7463",
      "projectId": "69847732b8e5e969f70e7460",
      "name": "Getting Start",
      "sortOrder": -2199023255552
    }
  ]
}

Create Project

POST /ticktick/open/v1/project
Content-Type: application/json

{
  "name": "My New Project",
  "viewMode": "list"
}

Response:

{
  "id": "69870cbe8f08b4a6770a38d3",
  "name": "My New Project",
  "sortOrder": 0,
  "viewMode": "list",
  "kind": "TASK"
}

viewMode options:

  • list - List view
  • kanban - Kanban board view
  • timeline - Timeline view

Delete Project

DELETE /ticktick/open/v1/project/{projectId}

Returns empty response on success (status 200).

Task Operations

Get Task

GET /ticktick/open/v1/project/{projectId}/task/{taskId}

Response:

{
  "id": "69847732b8e5e969f70e7464",
  "projectId": "69847732b8e5e969f70e7460",
  "sortOrder": -1099511627776,
  "title": "Task title",
  "content": "Task description/notes",
  "timeZone": "Asia/Shanghai",
  "isAllDay": true,
  "priority": 0,
  "status": 0,
  "tags": [],
  "columnId": "69847732b8e5e969f70e7461",
  "etag": "2sayfdsh",
  "kind": "TEXT"
}

Create Task

POST /ticktick/open/v1/task
Content-Type: application/json

{
  "title": "New task",
  "projectId": "6984773291819e6d58b746a8",
  "content": "Task description",
  "priority": 0,
  "dueDate": "2026-02-15T10:00:00+0000",
  "isAllDay": false
}

Response:

{
  "id": "69870cb08f08b86b38951175",
  "projectId": "6984773291819e6d58b746a8",
  "sortOrder": -1099511627776,
  "title": "New task",
  "timeZone": "America/Los_Angeles",
  "isAllDay": false,
  "priority": 0,
  "status": 0,
  "tags": [],
  "etag": "gl7ibhor",
  "kind": "TEXT"
}

Priority values:

  • 0 - None
  • 1 - Low
  • 3 - Medium
  • 5 - High

Update Task

POST /ticktick/open/v1/task/{taskId}
Content-Type: application/json

{
  "id": "69870cb08f08b86b38951175",
  "projectId": "6984773291819e6d58b746a8",
  "title": "Updated task title",
  "priority": 1
}

Response:

{
  "id": "69870cb08f08b86b38951175",
  "projectId": "6984773291819e6d58b746a8",
  "title": "Updated task title",
  "priority": 1,
  "status": 0,
  "etag": "hmb7uk8c",
  "kind": "TEXT"
}

Complete Task

POST /ticktick/open/v1/project/{projectId}/task/{taskId}/complete

Returns empty response on success (status 200).

Delete Task

DELETE /ticktick/open/v1/project/{projectId}/task/{taskId}

Returns empty response on success (status 200).

Task Fields

Field Type Description
id string Task ID
projectId string Parent project ID
title string Task title
content string Task description/notes (Markdown supported)
priority integer Priority: 0=None, 1=Low, 3=Medium, 5=High
status integer 0=Active, 2=Completed
dueDate string Due date in ISO 8601 format
startDate string Start date in ISO 8601 format
isAllDay boolean Whether task is all-day
timeZone string Timezone (e.g., "America/Los_Angeles")
tags array List of tag names
columnId string Kanban column ID (if applicable)
sortOrder number Sort order within project
kind string Task type: "TEXT", "CHECKLIST"

Code Examples

JavaScript

// List all projects
const response = await fetch(
  'https://api.maton.ai/ticktick/open/v1/project',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    }
  }
);
const projects = await response.json();

// Create a task
const createResponse = await fetch(
  'https://api.maton.ai/ticktick/open/v1/task',
  {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      title: 'New task',
      projectId: 'PROJECT_ID'
    })
  }
);

Python

import os
import requests

# List all projects
response = requests.get(
    'https://api.maton.ai/ticktick/open/v1/project',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'}
)
projects = response.json()

# Create a task
response = requests.post(
    'https://api.maton.ai/ticktick/open/v1/task',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={
        'title': 'New task',
        'projectId': 'PROJECT_ID'
    }
)

Notes

  • The Open API provides access to tasks and projects only
  • Habits, focus/pomodoro, and tags are not available through the Open API
  • Task status values: 0 = Active, 2 = Completed
  • Priority values: 0 = None, 1 = Low, 3 = Medium, 5 = High
  • Dates use ISO 8601 format with timezone offset (e.g., 2026-02-15T10:00:00+0000)
  • viewMode for projects: list, kanban, or timeline
  • The columns field in project data is used for Kanban board columns
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Error Handling

Status Meaning
400 Missing TickTick connection or invalid request
401 Invalid or missing Maton API key
404 Resource not found
429 Rate limited
4xx/5xx Passthrough error from TickTick API

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

  1. Ensure your URL path starts with ticktick. For example:
  • Correct: https://api.maton.ai/ticktick/open/v1/project
  • Incorrect: https://api.maton.ai/open/v1/project

Resources

安全使用建议
Before installing, confirm that you trust Maton with your TickTick OAuth connection, keep MATON_API_KEY private, and carefully approve any create, update, complete, or delete operation. If you have multiple TickTick connections, make sure the intended Maton-Connection is used.
功能分析
Type: OpenClaw Skill Name: ticktick-api-skill Version: 1.0.3 The skill provides a TickTick API integration using a managed OAuth proxy service (api.maton.ai). The SKILL.md file contains standard documentation, API references, and code examples for managing tasks and projects. It includes a security instruction requiring explicit user approval for write operations and does not exhibit any signs of malicious intent, data exfiltration, or unauthorized execution.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose matches the capability: managing TickTick tasks, projects, and lists. The capability includes full CRUD operations, so users should notice that it can modify or delete account data.
Instruction Scope
The instructions explicitly require user approval before create, update, or delete calls and advise specifying the intended connection when multiple accounts exist.
Install Mechanism
There is no install spec and no code files; the artifact is instruction-only with user-directed Python/API examples. The registry source and homepage are absent, so users should verify the Maton service before providing credentials.
Credentials
Network access and MATON_API_KEY are proportionate for a managed OAuth API integration, but the key is sensitive and should be handled as an account credential.
Persistence & Privilege
No local persistence is shown, but the skill manages persistent OAuth connections through Maton and uses delegated access to the connected TickTick account.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ticktick-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ticktick-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated all API and connection endpoints to use api.maton.ai instead of gateway.maton.ai or ctrl.maton.ai. - Improved connection management documentation for clarity and consistency. - Added a “Security & Permissions” section, emphasizing the need for user confirmation before all write operations. - Removed the LICENSE.txt file.
v1.0.2
- Added `clawdbot` metadata section with emoji and required environment variable (`MATON_API_KEY`) to SKILL.md. - No changes to functionality or API documentation; update is metadata-only.
v1.0.1
ticktick-api-skill v1.0.1 - No changes to files were detected in this release. - Functionality, documentation, and API remain the same as the previous version.
v1.0.0
- Major rewrite: Migrated TickTick task and project management from custom CLI scripts to Maton-managed OAuth API gateway. - All legacy CLI code and scripts removed. - Integration is now via HTTPS API endpoints with Maton API key authentication. - Full documentation added for using the TickTick API (CRUD tasks/projects) through the Maton gateway. - Instructions provided for managing OAuth connections via Maton Control dashboard. - Python code samples included for all common operations.
元数据
Slug ticktick-api-skill
版本 1.0.3
许可证 MIT-0
累计安装 4
当前安装数 4
历史版本数 4
常见问题

TickTick 是什么?

TickTick API integration with managed OAuth. Manage tasks, projects, and task lists. Use this skill when users want to create, update, complete, or organize... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4360 次。

如何安装 TickTick?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ticktick-api-skill」即可一键安装,无需额外配置。

TickTick 是免费的吗?

是的,TickTick 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TickTick 支持哪些平台?

TickTick 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 TickTick?

由 byungkyu(@byungkyu)开发并维护,当前版本 v1.0.3。

💬 留言讨论