Token导航 LogoToken导航

Agent Skill · 效率

task-dispatch(任务调度)

task-dispatch 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

task-dispatch 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 12,200。

总安装 4,237周安装 182GitHub Stars 公开资料未说明下载 1,485核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:task-dispatch(任务调度)
来源仓库:https://github.com/cccaptain0129/task-dispatch
安装命令:
openclaw skills install task-dispatch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install task-dispatch

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

任务板调度与定期任务管理工具。task-dispatch 属于效率类 Skill,可作为该场景下的辅助能力补充。支持创建子代理执行与 cron 式定时触发。适用于自动化巡检与周期性作业场景。安装前需确认权限范围、维护状态及是否持久化调度记录。建议结合原始 README 核验任务冲突解决与日志保留策略。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install task-dispatch;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

task-dispatch 怎么安装?

在终端执行 openclaw skills install task-dispatch。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

task-dispatch 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

task-dispatch 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

task-dispatch 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

task-dispatch 用的人多吗?

公开数据是累计安装 4,237 次,近一周安装 182 次,下载 1,485 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

task-dispatch 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
task-dispatch

任务调度 · 本页

4,237—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
task-dispatch
description
Task scheduling and dispatching for task boards. Use when setting up periodic task dispatch, checking for dispatchable tasks, creating subagents to execute tasks, or verifying task completion. Supports task board APIs like ClawBoard.

Task Dispatch

Automated task scheduling and execution for task management systems.

Quick Start

用户说"设置任务调度"或"部署 ClawBoard"时,按以下流程引导:

Step 1: 检测环境

# 检查 Node.js
node --version  # 需要 >= 18

# 检查 ClawBoard 是否已安装
ls -la ~/ClawBoard 2>/dev/null || echo "ClawBoard not installed"

Step 2: 部署 ClawBoard(如未安装)

# 克隆仓库
git clone https://github.com/CCCaptain0129/ClawBoard.git ~/ClawBoard
cd ~/ClawBoard

# 安装依赖并初始化
./clawboard install

# 生成访问 token(自动保存到 .env)
./clawboard token --generate

Step 3: 启动服务

cd ~/ClawBoard
./clawboard start

# 检查状态
./clawboard status

Step 4: 配置 Agent 环境

在 Agent 工作目录创建 .env 文件:

# 获取 token
TOKEN=$(cat ~/ClawBoard/.env | grep BOARD_ACCESS_TOKEN | cut -d= -f2)

# 写入 Agent 工作目录
echo "TASKBOARD_API_URL=http://127.0.0.1:3000" >> ~/.openclaw/workspace-<name>/.env
echo "TASKBOARD_ACCESS_TOKEN=$TOKEN" >> ~/.openclaw/workspace-<name>/.env

Step 5: 打开看板

  • 前端看板: http://127.0.0.1:5173
  • 后端 API: http://127.0.0.1:3000
  • 输入 .env 中的 BOARD_ACCESS_TOKEN 登录

Step 6: 设置定时调度(可选)

用户说"设置定时调度"时:

{
  "name": "ClawBoard 调度巡检",
  "schedule": { "kind": "every", "everyMs": 300000 },
  "payload": {
    "kind": "agentTurn",
    "message": "执行 task-dispatch 调度检查。无任务时返回 HEARTBEAT_OK。"
  },
  "sessionTarget": "isolated",
  "delivery": { "mode": "none" }
}

Agent Role

You are a dispatcher, not an executor.

  • Your job: plan, dispatch, verify, update status
  • NOT your job: implement tasks yourself
  • Task execution: delegated to subagents
  • You verify results and update task status

Data Source of Truth

WhatSource
Task dataAPI endpoint (e.g., http://127.0.0.1:3000/api/tasks/...)
Task filestasks/*.json (written by API)
Project docsprojects/<project-name>/docs/
NOT source of truthFrontend dashboard (view only)

ClawBoard Deployment Guide

Prerequisites

  • Node.js >= 18
  • Git
  • PM2 (auto-installed by ./clawboard install)

Installation Commands

CommandDescription
./clawboard installInstall dependencies, create .env
./clawboard startStart frontend + backend services
./clawboard stopStop all services
./clawboard statusCheck service health
./clawboard tokenShow current access token
./clawboard token --generateGenerate new token

Verification Checklist

After deployment, verify:

  1. ✅ Backend API responds: curl http://127.0.0.1:3000/health
  2. ✅ Frontend loads: open http://127.0.0.1:5173
  3. ✅ Token works: curl -H "Authorization: Bearer $TOKEN" http://127.0.0.1:3000/api/tasks/projects
  4. ✅ Agent .env configured with token

Common Issues

IssueSolution
Port 3000 in uselsof -i :3000 then kill process
Port 5173 in uselsof -i :5173 then kill process
Token not workingRegenerate with ./clawboard token --generate
Services not startingCheck logs in ~/ClawBoard/logs/

Dispatch Operations

Overview

This skill enables agents to:

  1. Check task boards for dispatchable tasks
  2. Spawn subagents to execute tasks
  3. Verify completion and update task status
  4. Continue dispatching until no tasks remain (no waiting for next cron)

Key Principle: Continuous Dispatch

触发一次 → 循环执行直到无任务 → 结束

而不是:

触发一次 → 派发一个任务 → 等待下次触发

Dispatch Loop

def dispatch_loop():
    while True:
        task = select_dispatchable_task()
        if not task:
            return HEARTBEAT_OK  # 本轮结束
        
        # 派发并等待完成
        result = spawn_and_wait(task)
        
        # 验收
        if result.success:
            update_task(task.id, status="review")
        else:
            update_task(task.id, status="failed", blockingReason=result.error)
        
        # 【关键】立即继续下一轮,不返回
        # 循环会自动检查下一个任务

API Reference

Get Projects

GET {TASKBOARD_API_URL}/api/tasks/projects
Authorization: Bearer {TOKEN}

Get Tasks

GET {TASKBOARD_API_URL}/api/tasks/projects/{projectId}/tasks
Authorization: Bearer {TOKEN}

Create Project

POST {TASKBOARD_API_URL}/api/tasks/projects
Authorization: Bearer {TOKEN}
Content-Type: application/json

{
  "id": "my-project",
  "name": "My Project",
  "description": "...",
  "taskPrefix": "MP",
  "color": "#3B82F6",
  "icon": "📁"
}

Create Task

POST {TASKBOARD_API_URL}/api/tasks/projects/{projectId}/tasks
Authorization: Bearer {TOKEN}
Content-Type: application/json

{
  "title": "Task title",
  "description": "...",
  "status": "todo",
  "priority": "P1",
  "executionMode": "auto",
  "assignee": "agent-id"
}

Update Task

PUT {TASKBOARD_API_URL}/api/tasks/projects/{projectId}/tasks/{taskId}
Authorization: Bearer {TOKEN}
Content-Type: application/json

{
  "status": "in-progress",
  "claimedBy": "agent-id"
}

Task Selection Rules

A task is dispatchable if ALL conditions are met:

ConditionRequirement
executionMode"auto"
status"todo" or "in-progress" (unclaimed)
assigneeEmpty or null
claimedByEmpty or null
dependenciesAll have status: "done"

Priority Order

  1. P0 > P1 > P2 > P3
  2. Same priority: earlier createdAt first

Subagent Execution

Prepare Dispatch Context

Before spawning subagent, prepare context using the Dispatch Template:

See references/dispatch-template.md for full template.

Required fields to fill:

  • Task Identity (from task data)
  • Goal (one sentence)
  • Hard Constraints (what NOT to do)
  • Deliverables (from task.deliverables)
  • Acceptance Criteria (from task.acceptanceCriteria)
  • Output Format (completion_signal block)

Spawn with Wait

Use sessions_spawn with the dispatch context:

{
  "runtime": "subagent",
  "mode": "run",
  "task": "<filled dispatch template>",
  "timeoutSeconds": 300
}

The main agent should:

  1. Fill dispatch template with task context
  2. Spawn subagent with the template
  3. Wait for completion (blocking or polling)
  4. Parse completion_signal from response
  5. Verify deliverables and update status
  6. Immediately continue to next task

Completion Signal

Subagent must return a completion_signal block:

task_id: <taskId>
status: done | blocked
summary: <one sentence summary>
deliverables: <comma-separated paths>
next_step: <N/A if done; blocking reason if blocked>

Parse this block to determine task outcome:

  • status: done → Verify deliverables, update to review
  • status: blocked → Update to failed with blockingReason

Status Transitions

todo → in-progress → review → done
                ↓         ↓
              failed    failed

Important: Tasks go to review after subagent completes, not directly to done. User or main agent verifies before done.


Verification Checklist

After subagent completes, verify:

  1. Deliverables exist

- Check all paths in deliverables array - Files should be non-empty

  1. Acceptance criteria met

- Review each criterion - Mark pass/fail

  1. Update status

- All pass → review - Any fail → failed with blockingReason


Heartbeat Response

When triggered by cron/heartbeat:

  • No dispatchable tasks: Return HEARTBEAT_OK (silent, no message to user)
  • Tasks dispatched: Report results, then check for more
  • Continue until empty: Don't stop after one task

Failure Handling

When a task fails or has no valid execution:

  1. Record the reason in blockingReason field
  2. Clear invalid occupation (claimedBy)
  3. Return task to actionable state (todo or in-progress)
  4. Never fail silently - always log or report

Common Failure Scenarios

ScenarioAction
Subagent timeoutSet failed, clear claimedBy, log reason
Subagent returns blockedSet failed with blockingReason
Deliverables missingSet failed, clear claimedBy
API errorLog error, skip this round, try next time

Dispatch Principles

  1. Only dispatch executionMode=auto tasks
  2. Priority order: todo first, then unclaimed in-progress
  3. Respect assignee: Don't re-dispatch if assignee is set
  4. Verify before done: Tasks go to review first, then done after verification

Configuration

See references/config.md for:

  • Task board adapters
  • Priority mappings
  • Execution timeouts
  • Retry policies

Example Usage

Deploy ClawBoard

"部署 ClawBoard 看板"

Setup with User Guidance

"帮我设置任务调度系统"

Manual Dispatch (runs until empty)

"检查任务看板,派发所有待执行任务"

Setup Periodic Check

"设置每10分钟自动检查任务"

The cron will trigger the dispatch loop, which runs until no tasks remain.

平台分布

OpenClaw

90.28%
按下载量换算1,341

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills