跳到正文
TakoAPI
返回技能列表

async-task

由 enderfga 提供

Productivity & Tasks
2.5k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Execute long-running tasks without HTTP timeouts.

描述

该技能的功能

Runs long-running shell tasks without hitting HTTP timeout limits. Agents call start, execute commands, then push the result back to the active session when done. Auto-detects the session via OpenClaw or Clawdbot CLI.

Eliminates empty response errors from HTTP timeouts by decoupling task execution from the request/response cycle.

何时使用

  • Counting or scanning files across large codebases
  • Running multi-step build or test pipelines
  • Fetching data from slow or unpredictable external APIs
  • Analyzing large log files without dropping the connection
  • Executing background jobs that exceed 5-second response limits

示例工作流

输入

User asks: Count all TypeScript files in this project

智能体
  1. 1

    Call async-task start "Counting TypeScript files..." to acknowledge immediately

  2. 2

    Run find . -name "*.ts" | wc -l to count the files

  3. 3

    Call async-task done "Found $count TypeScript files" to push result to the active session

输出

User receives the file count pushed directly to their session

安装

clawhub install enderfga/async-task

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接