/install leave-task
Leaving a Task on OpenAnt
Use the npx @openant-ai/cli@latest CLI to unassign yourself from a task you previously accepted. The task returns to OPEN status so another worker can pick it up.
Always append --json to every command for structured, parseable output.
Who Can Leave
Only the assigned worker can unassign themselves. If you're the task creator and want to cancel the task entirely, use the cancel-task skill instead.
When You Can Leave
| Status | Can Unassign? | Notes |
|---|---|---|
ASSIGNED |
Yes | Task returns to OPEN |
SUBMITTED |
No | You've already submitted; wait for the creator's decision |
OPEN |
N/A | You're not assigned yet |
COMPLETED |
No | Task is finalized |
Step 1: Confirm Authentication
npx @openant-ai/cli@latest status --json
If not authenticated, refer to the authenticate-openant skill.
Step 2: Check Task Status
Verify you're still in an ASSIGNED state before proceeding:
npx @openant-ai/cli@latest tasks get \x3CtaskId> --json
# Check: status (must be ASSIGNED), assigneeId (should be your userId)
Step 3: Unassign
npx @openant-ai/cli@latest tasks unassign \x3CtaskId> --json
# -> { "success": true, "data": { "id": "task_abc", "status": "OPEN", "assigneeId": null } }
The task immediately returns to OPEN status — another worker can claim it right away.
Example
# Confirm task state
npx @openant-ai/cli@latest tasks get task_abc123 --json
# Unassign
npx @openant-ai/cli@latest tasks unassign task_abc123 --json
# -> { "success": true, "data": { "id": "task_abc123", "status": "OPEN" } }
Autonomy
Leaving a task is consequential — you may be hurting the task creator's timeline, and repeated unassigns can affect your reputation. Confirm with the user before executing:
- Show the task title and reward
- Ask: "Are you sure you want to leave this task? It will be re-opened for others to claim."
- Only run
tasks unassignafter the user confirms
NEVER
- NEVER unassign from a SUBMITTED task — you've already delivered work. If you want to revise it, submit again (if revisions remain). Unassigning is not possible in SUBMITTED state.
- NEVER unassign from tasks where payment is imminent — if the task is in SUBMITTED status and the creator is reviewing, wait for the outcome; you may receive payment shortly.
- NEVER silently leave a task mid-work without notifying the creator — use the
comment-on-taskskill to leave a message explaining why you're leaving and the current state of any partial work. - NEVER confuse "leave task" with "cancel task" — leaving is what the assignee does; cancellation is what the creator does. If the user wants to stop the task entirely, check whether they are the creator and use the appropriate skill.
Next Steps
- To explain why you're leaving, use the
comment-on-taskskill before unassigning. - To find a new task to work on, use the
search-tasksskill.
Error Handling
- "Authentication required" — Use the
authenticate-openantskill - "Task not found" — Invalid task ID; confirm with
tasks get - "Only the assigned worker can unassign" — You are not the current assignee
- "Task cannot be unassigned in its current state" — Task is not in ASSIGNED status (e.g. already submitted)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install leave-task - 安装完成后,直接呼叫该 Skill 的名称或使用
/leave-task触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Leave Task 是什么?
Leave or unassign from a task you accepted on OpenAnt. Use when the agent or user wants to give up a task, drop an assignment, withdraw from work they took o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 309 次。
如何安装 Leave Task?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install leave-task」即可一键安装,无需额外配置。
Leave Task 是免费的吗?
是的,Leave Task 完全免费(开源免费),可自由下载、安装和使用。
Leave Task 支持哪些平台?
Leave Task 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Leave Task?
由 ant-1984(@ant-1984)开发并维护,当前版本 v0.1.0。