todoist-api-3-labels-management
Sub-skill of todoist-api: 3. Labels Management (+1).
Best use case
todoist-api-3-labels-management is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of todoist-api: 3. Labels Management (+1).
Teams using todoist-api-3-labels-management should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/3-labels-management/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How todoist-api-3-labels-management Compares
| Feature / Agent | todoist-api-3-labels-management | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of todoist-api: 3. Labels Management (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 3. Labels Management (+1)
## 3. Labels Management
**REST API - Labels:**
```bash
# List all labels
curl -s -X GET "https://api.todoist.com/rest/v2/labels" \
-H "Authorization: Bearer $TODOIST_API_KEY" | jq
# Create label
curl -s -X POST "https://api.todoist.com/rest/v2/labels" \
-H "Authorization: Bearer $TODOIST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "urgent",
"color": "red",
"order": 1,
"is_favorite": true
}' | jq
# Update label
curl -s -X POST "https://api.todoist.com/rest/v2/labels/LABEL_ID" \
-H "Authorization: Bearer $TODOIST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "high-priority",
"color": "orange"
}' | jq
# Delete label
curl -s -X DELETE "https://api.todoist.com/rest/v2/labels/LABEL_ID" \
-H "Authorization: Bearer $TODOIST_API_KEY"
```
**Python SDK - Labels:**
```python
from todoist_api_python import TodoistAPI
api = TodoistAPI(os.environ["TODOIST_API_KEY"])
# List all labels
labels = api.get_labels()
for label in labels:
print(f"@{label.name} (color: {label.color})")
# Create label
new_label = api.add_label(
name="review",
color="blue",
order=1,
is_favorite=True
)
# Update label
api.update_label(
label_id=new_label.id,
name="code-review",
color="green"
)
# Delete label
api.delete_label(label_id=new_label.id)
# Get tasks with specific label
review_tasks = api.get_tasks(filter="@code-review")
```
## 4. Sections Management
**REST API - Sections:**
```bash
# List sections for project
curl -s -X GET "https://api.todoist.com/rest/v2/sections?project_id=PROJECT_ID" \
-H "Authorization: Bearer $TODOIST_API_KEY" | jq
# Create section
curl -s -X POST "https://api.todoist.com/rest/v2/sections" \
-H "Authorization: Bearer $TODOIST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "In Progress",
"project_id": "PROJECT_ID",
"order": 2
}' | jq
# Update section
curl -s -X POST "https://api.todoist.com/rest/v2/sections/SECTION_ID" \
-H "Authorization: Bearer $TODOIST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Currently Working"
}' | jq
# Delete section
curl -s -X DELETE "https://api.todoist.com/rest/v2/sections/SECTION_ID" \
-H "Authorization: Bearer $TODOIST_API_KEY"
```
**Python SDK - Sections:**
```python
# Create Kanban-style sections
sections = ["Backlog", "To Do", "In Progress", "Review", "Done"]
for i, section_name in enumerate(sections):
api.add_section(
name=section_name,
project_id="2345678901",
order=i
)
# Get sections
sections = api.get_sections(project_id="2345678901")
for section in sections:
print(f"Section: {section.name} (ID: {section.id})")
# Move task to section
api.update_task(
task_id="1234567890",
section_id="IN_PROGRESS_SECTION_ID"
)
```Related Skills
cron-job-management
Patterns for creating, testing, debugging, and maintaining cron-driven automation in workspace-hub, including log strategy, failure analysis, and safe git-aware job design.
github-repo-management
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
data-management
Comprehensive DataFrame loading, filtering, transformation, and data pipeline management from Excel, CSV, and multiple sources with YAML-driven configuration.
task-management
Simple task management using a shared TASKS.md file for tracking commitments and action items.
memory-management
Two-tier memory system for decoding workplace shorthand, acronyms, nicknames, and internal language.
close-management
Manage the month-end close process with task sequencing, dependencies, and status tracking.
source-management
Configure and query MCP data sources for enterprise search. Use when checking which sources (chat, email, cloud storage, CRM, knowledge base) are connected, connecting new ones, or tuning query priority and rate limits.
knowledge-management
Create, organize, and maintain support knowledge base content to reduce ticket volume
core-context-management-windows-task-scheduler
Sub-skill of core-context-management: Windows Task Scheduler (+2).
core-context-management-validatecontextsh
Sub-skill of core-context-management: validate_context.sh (+4).
core-context-management-size-limits-mandatory
Sub-skill of core-context-management: Size Limits (MANDATORY) (+3).
core-context-management-response-format-rules
Sub-skill of core-context-management: Response Format Rules (+3).