ticktick-cli
Original:🇨🇳 Chinese
Translated
3 scripts
Interact with Dida365 Open API using Python CLI to manage TickTick tasks/projects, suitable for scenarios where you need to call TickTick APIs via scripts or command line (such as querying, creating, updating, completing, and deleting projects/tasks).
10installs
Sourcedcjanus/prompts
Added on
NPX Install
npx skill4agent add dcjanus/prompts ticktick-cliTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Note: All the following invocation methods take the folder where the current file is located as the workdir.
SKILL.mdExample of script invocation method (do not use or ):
uv run pythonpythonbash
cd skills/ticktick-cli && ./scripts/ticktick_cli.py --json project listIncorrect example:
bash
uv run python skills/ticktick-cli/scripts/ticktick_cli.py --json project list
python skills/ticktick-cli/scripts/ticktick_cli.py --json project list- Common Subcommands (Covering Daily Scenarios)
projectlistget --project-iddata --project-idcreate --name [--color --sort-order --view-mode --kind]update --project-id [--name --color --sort-order --view-mode --kind]- (Dangerous, please confirm carefully before deletion)
delete --project-id
taskget --project-id --task-idcreate --project-id --title [--content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]update --task-id --project-id [--title --content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]complete --project-id --task-id- (Dangerous, please confirm carefully before deletion)
delete --project-id --task-id
- Output Format
- Add uniformly after the script and before the subcommand for all invocations (example:
--json)./scripts/ticktick_cli.py --json task get --project-id ...
- How to Check Uncommon Parameters/Fields
- Run to view the parameters of the command
./scripts/ticktick_cli.py <command> --help - Check for complete parameters, fields, and response structures
references/dida365-openapi.md
Dida365 Concept Model
- Project: A container for tasks, supporting different view modes (list/kanban/timeline).
- Common fields:
- (Name)
name - (Color)
color - (View Mode)
viewMode - (Type)
kind - (Group ID)
groupId - (Is Closed)
closed - (Permission)
permission - (Sort Order)
sortOrder
- Common fields:
- Task: Belongs to a certain Project, can include reminders, priorities, repeat rules, etc.
- Common fields:
- (Title)
title - (Content)
content - (Description/Checklist Note)
desc - (Tags)
tags - (Priority)
priority - (Status)
status - (Start Date)
startDate - (Due Date)
dueDate - (Time Zone)
timeZone - (Reminders)
reminders - (Repeat Rule)
repeatFlag - (Subtask List)
items
- Common fields:
- ChecklistItem: Subtask (checklist item) under a task, used to split steps.
- Common fields:
- (Title)
title - (Status)
status - (Start Date)
startDate - (Completion Time)
completedTime - (Time Zone)
timeZone - (Sort Order)
sortOrder
- Common fields:
- Column: Project kanban column, used for column information in kanban view.
- Common fields:
- (Column Name)
name - (Sort Order)
sortOrder
- Common fields:
- ProjectData: Project detail aggregation, including the project itself, incomplete tasks, and column information.
Resources
- ticktick_cli.py: Main CLI entry point, responsible for reading configurations and initiating API calls.
- dida365-openapi.md: Snapshot of the official Open API documentation, facilitating offline retrieval of parameters and fields.