todoist-api-3-labels-management
Sub-skill of todoist-api: 3. Labels Management (+1).
от vamseeachanta★ 21 звезда на GitHub
Установить todoist-api-3-labels-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
3. Labels Management (+1)
3. Labels Management
REST API - Labels:
# 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:
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:
# 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:
# 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"
)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл todoist-api-3-labels-management?
Sub-skill of todoist-api: 3. Labels Management (+1).
Как установить скилл todoist-api-3-labels-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл todoist-api-3-labels-management запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…