用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill todoist-api-3-labels-management命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
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.
正在显示 SKILL.md
基于 SOC 职业分类
| name | todoist-api-3-labels-management |
| description | Sub-skill of todoist-api: 3. Labels Management (+1). |
| version | 1.0.0 |
| category | business |
| type | reference |
| scripts_exempt | true |
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")
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"
)