AgentSkillsCN

managing-tasks

使用 overclaw CLI 创建、更新、移动、分配并为 OverClaw 任务添加备注。适用于涉及创建工作任务、更改任务状态、将任务分配给代理,或添加备注以追踪进展时使用。

SKILL.md
--- frontmatter
name: managing-tasks
description: Creates, updates, moves, assigns, and comments on OverClaw tasks using the overclaw CLI. Use when the task involves creating work items, changing task status, assigning tasks to agents, or adding comments to track progress.

Managing Tasks

Tasks are units of work that belong to projects and can be assigned to agents.

Statuses

code
inbox -> assigned -> in_progress -> done

Priorities

low | medium (default) | high | urgent

Quick reference

bash
overclaw task list [--project <id>] [--status <status>] [--agent <id>]
overclaw task create --title "..." [--project <id>] [--agent <id>] [--priority <p>] [--description "..."] [--tags "a,b"]
overclaw task get <id>
overclaw task update <id> [--title "..."] [--description "..."] [--priority "..."] [--tags "a,b"]
overclaw task move <id> --status <status>
overclaw task assign <id> --agent <id>
overclaw task comment <id> --message "..." --author "..." [--type agent|user|system]

Create a task

bash
overclaw task create --title "Fix auth flow" --project <project-id> --priority high
FlagRequiredDescription
--titleYesTask title
--projectNoProject ID
--agentNoAgent ID (auto-sets status to assigned)
--priorityNolow, medium, high, urgent
--descriptionNoDetailed description
--tagsNoComma-separated tags

Without --agent, task starts in inbox. With --agent, starts in assigned.

Move a task

bash
overclaw task move <task-id> --status in_progress
overclaw task move <task-id> --status done

Moving to in_progress records startedAt. Moving to done records completedAt.

Assign a task

bash
overclaw task assign <task-id> --agent <agent-id>

If task is in inbox, status auto-moves to assigned.

Add a comment

bash
overclaw task comment <task-id> --message "Found the root cause" --author "Donna" --type agent
FlagRequiredDescription
--messageYesComment content
--authorYesWho is writing
--typeNoagent (default), user, or system

Update task metadata

bash
overclaw task update <task-id> --title "New title" --priority urgent

Does NOT change status. Use task move for that.

Task lifecycle workflow

For the complete workflow from picking up a task to completion, see LIFECYCLE.md.

Response format

All responses are JSON. Check ok field first:

json
{ "ok": true, "resource": "task", "action": "create", "id": "jx706wzn...", "data": { ... } }