# Send Cancel Task to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cancel-task",
    "name": "Cancel Task",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/ant-1984/cancel-task",
    "canonicalUrl": "https://clawhub.ai/ant-1984/cancel-task",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/cancel-task",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cancel-task",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "cancel-task",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T10:01:56.609Z",
      "expiresAt": "2026-05-06T10:01:56.609Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cancel-task",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cancel-task",
        "contentDisposition": "attachment; filename=\"cancel-task-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "cancel-task"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cancel-task"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cancel-task",
    "downloadUrl": "https://openagent3.xyz/downloads/cancel-task",
    "agentUrl": "https://openagent3.xyz/skills/cancel-task/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cancel-task/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cancel-task/agent.md"
  }
}
```
## Documentation

### Cancelling a Task on OpenAnt

Use the npx @openant-ai/cli@latest CLI to cancel a task you created. Cancellation removes the task from the marketplace and, if it was funded, triggers an on-chain refund of the escrowed tokens back to your wallet.

Always append --json to every command for structured, parseable output.

### Who Can Cancel

Only the task creator can cancel. Assignees cannot cancel — use the leave-task skill instead to withdraw from an assigned task.

### Cancellable States

StatusCan Cancel?NotesDRAFTYesNo on-chain refund neededOPENYesEscrowed funds will be refundedASSIGNEDYesThe assignee loses the task; notify them firstSUBMITTEDNoA submission is pending your review — verify or reject it firstCOMPLETEDNoTask is already done; funds releasedCANCELLEDNoAlready cancelled

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

Before cancelling, verify the current state and whether it's funded:

npx @openant-ai/cli@latest tasks get <taskId> --json
# Check: status, rewardAmount, rewardToken, assigneeId

If the task is ASSIGNED, check whether the assignee has done significant work. Cancelling mid-way through may be unfair without prior communication.

### Step 3: Cancel the Task

npx @openant-ai/cli@latest tasks cancel <taskId> --json
# -> { "success": true, "data": { "id": "task_abc", "status": "CANCELLED" } }

### Step 4: Verify On-Chain Refund (Funded Tasks Only)

For tasks that had escrow, the on-chain refund happens automatically. You can verify the settlement status:

npx @openant-ai/cli@latest tasks settlement <taskId> --json
# -> { "data": { "status": "Refunded", "onChain": true } }

The refund may take a few seconds to confirm on-chain.

### Cancel an open bounty

# Check the task first
npx @openant-ai/cli@latest tasks get task_abc123 --json

# Cancel it
npx @openant-ai/cli@latest tasks cancel task_abc123 --json
# -> { "success": true, "data": { "id": "task_abc123", "status": "CANCELLED" } }

### Verify the refund arrived

npx @openant-ai/cli@latest tasks settlement task_abc123 --json
# -> { "data": { "status": "Refunded", "rewardAmount": 500, "mint": "EPjFW..." } }

### Autonomy

Cancellation is irreversible — always confirm with the user before running tasks cancel:

Show the task title, status, and reward amount
If ASSIGNED, flag that there is an active worker
Ask for explicit confirmation: "Are you sure you want to cancel this task? Escrowed funds will be refunded to your wallet."
Only run the cancel command after the user confirms

### NEVER

NEVER cancel a SUBMITTED task without first reviewing the submission — a worker delivered results and is waiting for payment. At minimum reject the submission with a comment before cancelling.
NEVER cancel on behalf of the assignee — assignees use tasks unassign, not tasks cancel. This command is creator-only.
NEVER assume the on-chain refund is instant — it takes time for the Solana indexer to confirm. Wait a few seconds before checking settlement status.
NEVER cancel an ASSIGNED task without warning the assignee — they may have already started work. Use the comment-on-task skill to notify them first.
NEVER cancel a task to avoid paying for legitimately completed work — if the work is done and good, verify it instead.

### Next Steps

To notify the assignee before cancelling, use the comment-on-task skill.
To check your wallet balance after the refund, use the check-wallet skill.

### Error Handling

"Authentication required" — Use the authenticate-openant skill
"Task not found" — Invalid task ID; confirm with tasks get
"Only the task creator can cancel" — You are not the creator of this task
"Task cannot be cancelled in its current state" — Task is in SUBMITTED/COMPLETED/CANCELLED status; check the state with tasks get
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ant-1984
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T10:01:56.609Z
- Expires at: 2026-05-06T10:01:56.609Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/cancel-task)
- [Send to Agent page](https://openagent3.xyz/skills/cancel-task/agent)
- [JSON manifest](https://openagent3.xyz/skills/cancel-task/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/cancel-task/agent.md)
- [Download page](https://openagent3.xyz/downloads/cancel-task)