ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

task-dispatch

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/cccaptain0129/task-dispatch
Or

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: 打开看板

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

Metadata

Stars4044
Views0
Updated2026-04-12
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-cccaptain0129-task-dispatch": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.