返回顶部
l

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 on, quit a task, or free a task back to the marketplace. Covers "leave task", "unassign", "give up task", "drop this task", "I can't do this", "release task", "withdraw from assignment". Make sure to use this skill when the user wants to exit or abandon a task they previously accepted, even if they use informal phrasing like "I don't want to

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
275
下载量
0
收藏
概述
安装方式
版本历史

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 ```bash 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: ```bash npx @openant-ai/cli@latest tasks get <taskId> --json # Check: status (must be ASSIGNED), assigneeId (should be your userId) ``` ## Step 3: Unassign ```bash npx @openant-ai/cli@latest tasks unassign <taskId> --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 ```bash # 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: 1. Show the task title and reward 2. Ask: "Are you sure you want to leave this task? It will be re-opened for others to claim." 3. Only run `tasks unassign` after 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-task` skill 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-task` skill before unassigning. - To find a new task to work on, use the `search-tasks` skill. ## Error Handling - "Authentication required" — Use the `authenticate-openant` skill - "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)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 leave-task-1776286521 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 leave-task-1776286521 技能

通过命令行安装

skillhub install leave-task-1776286521

下载 Zip 包

⬇ 下载 leave-task v0.1.0

文件大小: 2.29 KB | 发布时间: 2026-4-16 18:26

v0.1.0 最新 2026-4-16 18:26
Initial release of leave-task skill for OpenAnt.

- Enables users to leave or unassign themselves from tasks they previously accepted on OpenAnt.
- Ensures that unassignment is only possible if the user is the assignee and the task status is ASSIGNED.
- Guides users through authentication, task status checks, and proper unassignment via CLI commands.
- Adds safeguards: confirmation before leaving, warning about potential impact, and strict rules against unassigning in SUBMITTED or COMPLETED states.
- Explains related actions (cancel, comment, searching for new tasks) and provides clear error handling guidance.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部