clickup-core-workflow-a
Manage ClickUp tasks via API v2: create, read, update, delete tasks with assignees, priorities, due dates, subtasks, and statuses. Trigger: "clickup task", "create clickup task", "update task status", "manage clickup tasks", "clickup CRUD", "clickup task management".
- License 许可
- MIT
- 最近更新
- 2026-07-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- clickup-core-workflow-a
- tags
- [ "saas", "productivity", "clickup" ]
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Manage ClickUp tasks via API v2: create, read, update, delete tasks with assignees, priorities, due dates, subtasks, and statuses. Trigger: "clickup task", "create clickup task", "update task status", "manage clickup tasks", "clickup CRUD", "clickup task management".
- allowed-tools
- Read, Write, Edit, Bash(curl:*), Grep
- compatible-with
- claude-code
03 SKILL.md 正文
ClickUp Core Workflow A — Task Management
Overview
CRUD operations on ClickUp tasks via API v2. Tasks live in Lists and support assignees, priorities (1-4), statuses, due dates, tags, checklists, and custom fields.
Endpoints
| Operation | Method | Endpoint |
|---|---|---|
| Create task | POST | /api/v2/list/{list_id}/task |
| Get task | GET | /api/v2/task/{task_id} |
| Update task | PUT | /api/v2/task/{task_id} |
| Delete task | DELETE | /api/v2/task/{task_id} |
| Get tasks in list | GET | /api/v2/list/{list_id}/task |
| Add task to list | POST | /api/v2/list/{list_id}/task/{task_id} |
| Create subtask | POST | /api/v2/list/{list_id}/task (with parent field) |
Create Task
interface CreateTaskBody {
name: string; // Required
description?: string; // Plain text
markdown_description?: string; // Markdown (use instead of description)
assignees?: number[]; // Array of user IDs
tags?: string[]; // Tag names
status?: string; // Status name (e.g., "to do", "in progress")
priority?: 1 | 2 | 3 | 4 | null; // 1=Urgent, 2=High, 3=Normal, 4=Low
due_date?: number; // Unix timestamp in milliseconds
due_date_time?: boolean; // true = show time, false = date only
start_date?: number; // Unix ms
start_date_time?: boolean;
time_estimate?: number; // Time estimate in milliseconds
notify_all?: boolean; // Notify assignees
parent?: string; // Parent task ID (creates subtask)
links_to?: string; // Task ID to link to
custom_fields?: Array<{
id: string; // Custom field UUID
value: any; // Type-dependent value
}>;
}
async function createTask(listId: string, task: CreateTaskBody) {
return clickupRequest(`/list/${listId}/task`, {
method: 'POST',
body: JSON.stringify(task),
});
}
// Example: Create an urgent task with assignee
await createTask('900100200300', {
name: 'Fix production bug in auth module',
markdown_description: '## Bug\nLogin fails for SSO users\n\n## Steps\n1. Go to /login\n2. Click SSO',
assignees: [183],
priority: 1,
status: 'in progress',
due_date: Date.now() + 3600000,
due_date_time: true,
tags: ['bug', 'production'],
});
Get Tasks (with Filtering)
async function getTasks(listId: string, params: Record<string, string> = {}) {
const query = new URLSearchParams({
archived: 'false',
include_closed: 'false',
subtasks: 'true',
...params,
});
return clickupRequest(`/list/${listId}/task?${query}`);
}
// Filter by assignee and status
const tasks = await getTasks('900100200300', {
'assignees[]': '183',
'statuses[]': 'in progress',
order_by: 'due_date',
reverse: 'true',
page: '0', // Pagination: 100 tasks per page
});
// Response: { tasks: [...] }
Update Task
// Only include fields you want to change
async function updateTask(taskId: string, updates: Partial<CreateTaskBody>) {
return clickupRequest(`/task/${taskId}`, {
method: 'PUT',
body: JSON.stringify(updates),
});
}
// Change status and add assignee
await updateTask('abc123', {
status: 'complete',
assignees: { add: [456], rem: [] }, // Add/remove pattern for assignees on update
});
Create Subtask
await createTask('900100200300', {
name: 'Write unit tests for auth fix',
parent: 'abc123', // Parent task ID makes this a subtask
assignees: [183],
priority: 3,
});
Bulk Operations
// Get all tasks across workspace with team-level endpoint
async function searchTasks(teamId: string, query: string) {
return clickupRequest(`/team/${teamId}/task?${new URLSearchParams({
page: '0',
order_by: 'updated',
reverse: 'true',
include_closed: 'true',
subtasks: 'true',
})}`);
}
Error Handling
| Status | Cause | Solution |
|---|---|---|
| 400 | Missing name field |
Task name is required |
| 401 | Invalid token | Re-authenticate |
| 404 | Invalid list_id or task_id | Verify IDs via GET endpoints |
| 403 | No permission on this list | Check workspace membership |
Resources
Next Steps
For spaces, folders, and lists management see clickup-core-workflow-b.
04 同仓库更多 Skills
zustand-store-creator
Create zustand store creator operations. Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like "zustand store creator", "zustand creator", "zustand".
zero-trust-config-helper
Configure with zero trust config helper operations. Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like "zero trust config helper", "zero helper", "zero".
zapier-integration-helper
Assist with zapier integration helper operations. Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like "zapier integration helper", "zapier helper", "zapier".
yaml-config-validator
Validate yaml config validator operations. Auto-activating skill for DevOps Basics. Triggers on: yaml config validator, yaml config validator Part of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like "yaml config validator", "yaml validator", "yaml".
xvary-stock-research
Thesis-driven equity analysis from public SEC EDGAR and market data; /analyze, /score, /compare workflows with bundled Python tools (Claude Code, Cursor, Codex).
xss-vulnerability-scanner
Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals. Triggers on: xss vulnerability scanner, xss vulnerability scanner Part of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like "xss vulnerability scanner", "xss scanner", "xss".