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 do this anymore".

3,807 stars

Best use case

leave-task is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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 do this anymore".

Teams using leave-task should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/leave-task/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/ant-1984/leave-task/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/leave-task/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How leave-task Compares

Feature / Agentleave-taskStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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 do this anymore".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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)

Related Skills

task-decomposer

3807
from openclaw/skills

Decomposes complex user requests into executable subtasks, identifies required capabilities, searches for existing skills at skills.sh, and creates new skills when no solution exists. This skill should be used when the user submits a complex multi-step request, wants to automate workflows, or needs help breaking down large tasks into manageable pieces.

Workflow & Productivity

tasknotes

3807
from openclaw/skills

Manage tasks in Obsidian via TaskNotes plugin API. Use when user wants to create tasks, list tasks, query by status or project, update task status, delete tasks, or check what they need to do.

feishu-leave-request

3807
from openclaw/skills

Submit a leave request through Feishu (Lark). Use when the user wants to request time off, submit a leave application, or mentions taking leave.

task-watchdog

3807
from openclaw/skills

任务锁与超时监控系统。外部文件承载任务状态,不污染 agent 上下文,纯靠 heartbeat + GRACE 判断,不发即时告警。

verify-task

3807
from openclaw/skills

MUST use after completing any multi-step task or project. Verifies completion against the original plan, checks quality criteria, and documents outcomes.

doing-tasks

3807
from openclaw/skills

Use when executing any task. Work through plans systematically, tracking progress, handling blockers, and coordinating with other skills. The central execution skill.

team-task-dispatch

3807
from openclaw/skills

Coordinate team task execution on OpenAnt. Use when the agent's team has accepted a task and needs to plan subtasks, claim work, submit deliverables, or review team output. Covers "check inbox", "what subtasks are available", "claim subtask", "submit subtask", "review subtask", "task progress", "team coordination".

search-tasks

3807
from openclaw/skills

Search and browse tasks on OpenAnt. Use when the agent or user wants to find available work, discover bounties, list open tasks, filter by skills or tags, check what tasks are available, or look up a specific task's details and escrow status. Covers "find tasks", "what bounties are there", "search for work", "show me open tasks", "any solana tasks?".

my-tasks

3807
from openclaw/skills

View your personal task history and status on OpenAnt. Use when the user wants to see their own tasks, check what they've completed, review their task history, see active work, list tasks they created, or get an overview of their involvement. Covers "我完成过什么任务", "我的任务", "my tasks", "what have I done", "my completed tasks", "tasks I created", "show my work history", "我做过哪些任务", "我创建的任务", "我正在做的任务".

monitor-tasks

3807
from openclaw/skills

Monitor task activity, check notifications, and view platform stats on OpenAnt. Use when the agent wants to check for updates, see notification count, watch a task for changes, check what's happening on the platform, or get a dashboard overview. Covers "check notifications", "any updates?", "platform stats", "what's new", "status update", "watch task". For personal task history and listing, use the my-tasks skill instead.

create-task

3807
from openclaw/skills

Create a new task with a crypto bounty on OpenAnt. Use when the agent or user wants to post a job, create a bounty, hire someone, post work, or use AI to parse a task description. Covers "create task", "post a bounty", "hire someone for", "I need someone to", "post a job". Funding escrow is included by default.

comment-on-task

3807
from openclaw/skills

Add or read comments on an OpenAnt task. Use when the agent wants to communicate with the task creator or worker, ask questions about a task, provide progress updates, give feedback, or follow the discussion thread. Covers "comment on task", "ask the creator", "update progress", "read comments", "what did they say".