{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/async-task",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=async-task",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "async-task.js",
      "package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/async-task",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "Execute long-running tasks without HTTP timeouts. Use when you need to:\n\nRun commands that may take more than 5 seconds\nAnalyze large files or codebases\nPerform multi-step operations\nCall external APIs with unpredictable latency\n\nIMPORTANT: When a task might timeout, you MUST use this skill to avoid empty response from server errors.\n\nTriggers: \"async task\", \"long running\", \"timeout\", \"background task\", \"push result\""
      },
      {
        "title": "Installation",
        "body": "# Clone and link globally\ngit clone https://github.com/Enderfga/openclaw-async-task.git\ncd openclaw-async-task\nnpm link\n\n# Or just copy async-task.js to your PATH\nchmod +x async-task.js\ncp async-task.js /usr/local/bin/async-task"
      },
      {
        "title": "Commands",
        "body": "async-task start \"<description>\"  # Start task, returns immediately\nasync-task done \"<result>\"        # Complete task, push result to user\nasync-task fail \"<error>\"         # Task failed, push error message\nasync-task push \"<message>\"       # Push message directly (no start needed)\nasync-task status                 # Show current task status"
      },
      {
        "title": "Usage Flow (MUST follow strictly)",
        "body": "Start: async-task start \"Scanning files...\"\nExecute: Run your actual commands\nPush result: async-task done \"Found 42 files\""
      },
      {
        "title": "Example",
        "body": "User asks: \"Count all TypeScript files in this project\"\n\n# Step 1: Acknowledge immediately\nasync-task start \"Counting TypeScript files...\"\n\n# Step 2: Do the actual work\ncount=$(find . -name \"*.ts\" | wc -l)\n\n# Step 3: Push the result\nasync-task done \"Found $count TypeScript files\""
      },
      {
        "title": "How It Works",
        "body": "start saves task state and returns confirmation immediately\nYou execute whatever commands needed\ndone/fail uses OpenClaw/Clawdbot CLI to push result to the active session\n\nZero configuration required - automatically detects active session via openclaw sessions or clawdbot sessions."
      },
      {
        "title": "Advanced: Custom Push Endpoint",
        "body": "For custom webchat or notification systems:\n\nexport ASYNC_TASK_PUSH_URL=\"https://your-server.com/api/push\"\nexport ASYNC_TASK_AUTH_TOKEN=\"your-token\"\n\nThe endpoint receives:\n\n{\n  \"sessionId\": \"session-id\",\n  \"content\": \"message\",\n  \"role\": \"assistant\"\n}"
      },
      {
        "title": "Environment Variables",
        "body": "VariableRequiredDescriptionOPENCLAW_SESSIONNoTarget session (auto-detected)ASYNC_TASK_PUSH_URLNoCustom HTTP push endpointASYNC_TASK_AUTH_TOKENNoAuth token for custom endpoint"
      },
      {
        "title": "Requirements",
        "body": "Node.js 16+\nOpenClaw or Clawdbot CLI installed"
      },
      {
        "title": "Critical Rules",
        "body": "MUST pair start with done or fail\nNEVER start without completing\nNEVER say \"will push later\" then forget"
      },
      {
        "title": "Links",
        "body": "GitHub\nOpenClaw"
      }
    ],
    "body": "OpenClaw Async Task\nDescription\n\nExecute long-running tasks without HTTP timeouts. Use when you need to:\n\nRun commands that may take more than 5 seconds\nAnalyze large files or codebases\nPerform multi-step operations\nCall external APIs with unpredictable latency\n\nIMPORTANT: When a task might timeout, you MUST use this skill to avoid empty response from server errors.\n\nTriggers: \"async task\", \"long running\", \"timeout\", \"background task\", \"push result\"\n\nInstallation\n# Clone and link globally\ngit clone https://github.com/Enderfga/openclaw-async-task.git\ncd openclaw-async-task\nnpm link\n\n# Or just copy async-task.js to your PATH\nchmod +x async-task.js\ncp async-task.js /usr/local/bin/async-task\n\nCommands\nasync-task start \"<description>\"  # Start task, returns immediately\nasync-task done \"<result>\"        # Complete task, push result to user\nasync-task fail \"<error>\"         # Task failed, push error message\nasync-task push \"<message>\"       # Push message directly (no start needed)\nasync-task status                 # Show current task status\n\nUsage Flow (MUST follow strictly)\nStart: async-task start \"Scanning files...\"\nExecute: Run your actual commands\nPush result: async-task done \"Found 42 files\"\nExample\n\nUser asks: \"Count all TypeScript files in this project\"\n\n# Step 1: Acknowledge immediately\nasync-task start \"Counting TypeScript files...\"\n\n# Step 2: Do the actual work\ncount=$(find . -name \"*.ts\" | wc -l)\n\n# Step 3: Push the result\nasync-task done \"Found $count TypeScript files\"\n\nHow It Works\nstart saves task state and returns confirmation immediately\nYou execute whatever commands needed\ndone/fail uses OpenClaw/Clawdbot CLI to push result to the active session\n\nZero configuration required - automatically detects active session via openclaw sessions or clawdbot sessions.\n\nAdvanced: Custom Push Endpoint\n\nFor custom webchat or notification systems:\n\nexport ASYNC_TASK_PUSH_URL=\"https://your-server.com/api/push\"\nexport ASYNC_TASK_AUTH_TOKEN=\"your-token\"\n\n\nThe endpoint receives:\n\n{\n  \"sessionId\": \"session-id\",\n  \"content\": \"message\",\n  \"role\": \"assistant\"\n}\n\nEnvironment Variables\nVariable\tRequired\tDescription\nOPENCLAW_SESSION\tNo\tTarget session (auto-detected)\nASYNC_TASK_PUSH_URL\tNo\tCustom HTTP push endpoint\nASYNC_TASK_AUTH_TOKEN\tNo\tAuth token for custom endpoint\nRequirements\nNode.js 16+\nOpenClaw or Clawdbot CLI installed\nCritical Rules\nMUST pair start with done or fail\nNEVER start without completing\nNEVER say \"will push later\" then forget\nLinks\nGitHub\nOpenClaw"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Enderfga/async-task",
    "publisherUrl": "https://clawhub.ai/Enderfga/async-task",
    "owner": "Enderfga",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}