# Send Async 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "async-task",
    "name": "Async Task",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Enderfga/async-task",
    "canonicalUrl": "https://clawhub.ai/Enderfga/async-task",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/async-task",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=async-task",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "async-task.js",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "async-task",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T04:41:04.713Z",
      "expiresAt": "2026-05-07T04:41:04.713Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=async-task",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=async-task",
        "contentDisposition": "attachment; filename=\"async-task-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "async-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/async-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/async-task",
    "downloadUrl": "https://openagent3.xyz/downloads/async-task",
    "agentUrl": "https://openagent3.xyz/skills/async-task/agent",
    "manifestUrl": "https://openagent3.xyz/skills/async-task/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/async-task/agent.md"
  }
}
```
## Documentation

### Description

Execute long-running tasks without HTTP timeouts. Use when you need to:

Run commands that may take more than 5 seconds
Analyze large files or codebases
Perform multi-step operations
Call external APIs with unpredictable latency

IMPORTANT: When a task might timeout, you MUST use this skill to avoid empty response from server errors.

Triggers: "async task", "long running", "timeout", "background task", "push result"

### Installation

# Clone and link globally
git clone https://github.com/Enderfga/openclaw-async-task.git
cd openclaw-async-task
npm link

# Or just copy async-task.js to your PATH
chmod +x async-task.js
cp async-task.js /usr/local/bin/async-task

### Commands

async-task start "<description>"  # Start task, returns immediately
async-task done "<result>"        # Complete task, push result to user
async-task fail "<error>"         # Task failed, push error message
async-task push "<message>"       # Push message directly (no start needed)
async-task status                 # Show current task status

### Usage Flow (MUST follow strictly)

Start: async-task start "Scanning files..."
Execute: Run your actual commands
Push result: async-task done "Found 42 files"

### Example

User asks: "Count all TypeScript files in this project"

# Step 1: Acknowledge immediately
async-task start "Counting TypeScript files..."

# Step 2: Do the actual work
count=$(find . -name "*.ts" | wc -l)

# Step 3: Push the result
async-task done "Found $count TypeScript files"

### How It Works

start saves task state and returns confirmation immediately
You execute whatever commands needed
done/fail uses OpenClaw/Clawdbot CLI to push result to the active session

Zero configuration required - automatically detects active session via openclaw sessions or clawdbot sessions.

### Advanced: Custom Push Endpoint

For custom webchat or notification systems:

export ASYNC_TASK_PUSH_URL="https://your-server.com/api/push"
export ASYNC_TASK_AUTH_TOKEN="your-token"

The endpoint receives:

{
  "sessionId": "session-id",
  "content": "message",
  "role": "assistant"
}

### Environment Variables

VariableRequiredDescriptionOPENCLAW_SESSIONNoTarget session (auto-detected)ASYNC_TASK_PUSH_URLNoCustom HTTP push endpointASYNC_TASK_AUTH_TOKENNoAuth token for custom endpoint

### Requirements

Node.js 16+
OpenClaw or Clawdbot CLI installed

### Critical Rules

MUST pair start with done or fail
NEVER start without completing
NEVER say "will push later" then forget

### Links

GitHub
OpenClaw
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Enderfga
- 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-30T04:41:04.713Z
- Expires at: 2026-05-07T04:41:04.713Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/async-task)
- [Send to Agent page](https://openagent3.xyz/skills/async-task/agent)
- [JSON manifest](https://openagent3.xyz/skills/async-task/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/async-task/agent.md)
- [Download page](https://openagent3.xyz/downloads/async-task)