Overview
- Skill Key
- capt-marbles/task-router-skill
- Author
- capt-marbles
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/capt-marbles/task-router-skill
- Latest Commit SHA
- 2f4b900af1b811d6a5feded7b8a11909da6fcb43
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Task Router Skill 技能。 若已安装,则直接安装 Task Router Skill 技能。
# Task Router
Distributed task queue for OpenClaw multi-agent systems. Central coordination, async handoffs, capability-based routing.
## Quick Start
```bash
# Install skill
clawhub install task-router
# Register an agent
task agent register watson --capabilities "research analysis" --max-concurrent 3
# Create a task
task create --type research --title "Competitor analysis" --priority high
# Router runs automatically via heartbeat
# Check task status
task list --status pending
task show task-abc123
```
## What This Does
**Core Functions:**
- **Enqueue**: Create tasks from any session (main or sub-agent)
- **Route**: Match tasks to agents by capabilities
- **Track**: Monitor task lifecycle (pending → active → complete/failed)
- **Async Coordination**: Hand off work, check back later
- **Dead Letter**: Handle timeouts and failures
- **Rebalance**: Move stuck tasks, retry with fallbacks
**Use Cases:**
- Heartbeat creates research task → auto-routes to research agent
- Main agent spawns work → goes async, checks later
- Multi-step workflows: Task A output → Task B input
- Agent failure → task reassigned to backup agent
- Load balancing across multiple agents with same capabilities
## Configuration
### File Layout
```
~/.openclaw/task-router/
├── config.yaml # Router settings, timeouts
├── agents.yaml # Agent registry + capabilities
├── queue/ # Task state
│ ├── pending/ # Waiting for assignment
│ ├── active/ # Assigned to agent
│ ├── completed/ # Finished successfully
│ └── failed/ # Failed, exhausted retries
└── logs/
└── router.log # Routing decisions
```
### config.yaml
```yaml
router:
check_interval: 30 # Seconds between router runs
default_ttl: 3600 # Default task timeout
max_retries: 2
strategies:
default: least-loaded # round-robin | least-loaded | priority
by_type:
research: least-loaded
image_gen: round-r...
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
cap-txt
Self-hosted PDF operations and conversions with metered usage output.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
cameron-jovan
Build high-converting landing pages and product sales pages using proven 10-section conversion frameworks. Includes Hero → Social Proof → Benefits → CTA flow for both lead capture and e-commerce pages.