Task Router Skill
Task Router
A 5-phase framework for reliable AI-to-AI task delegation, inspired by Google DeepMind's "Intelligent AI Delegation" paper (arXiv 2602.11865). Includes task tracking, sub-agent performance logging, automated verification, fallback chains, and multi-axis task scoring.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hogpile/intelligent-delegation打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
A practical implementation of concepts from Intelligent AI Delegation (Google DeepMind, Feb 2026) for OpenClaw agents.
When AI agents delegate tasks to sub-agents, common failure modes include:
Problem: "I'll ping you when it's done" → never happens.
Solution:
TASKS.md file to log all background workHEARTBEAT.md to check TASKS.md firstTASKS.md template:
# Active Tasks
### [TASK-ID] Description
- **Status:** RUNNING | COMPLETED | FAILED
- **Started:** ISO timestamp
- **Type:** subagent | background_exec
- **Session/Process:** identifier
- **Expected Done:** timestamp or duration
- **Check Cron:** cron job ID
- **Result:** (filled on completion)
Key rule: Never promise to follow up without scheduling a mechanism to wake yourself up.
Problem: No memory of which agents succeed or fail at which tasks.
Solution: Create memory/agent-performance.md to track:
After every delegation:
Before every delegation:
Example entry:
#### 2026-...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Intelligent Delegation Framework A practical implementation of concepts from [Intelligent AI Delegation](https://arxiv.org/abs/2602.11865) (Google DeepMind, Feb 2026) for OpenClaw agents. ## The Problem When AI agents delegate tasks to sub-agents, common failure modes include: - **Lost tasks** — background work completes silently, no follow-up - **Blind trust** — passing through sub-agent output without verification - **No learning** — repeating the same delegation mistakes - **Brittle failure** — one error kills the whole workflow - **Gut-feel routing** — no systematic way to choose which agent handles what ## The Solution: 5 Phases ### Phase 1: Task Tracking & Scheduled Checks **Problem:** "I'll ping you when it's done" → never happens. **Solution:** 1. Create a `TASKS.md` file to log all background work 2. For every background task, schedule a one-shot cron job to check on completion 3. Update your `HEARTBEAT.md` to check `TASKS.md` first **TASKS.md template:** ```markdown # Active Tasks ### [TASK-ID] Description - **Status:** RUNNING | COMPLETED | FAILED - **Started:** ISO timestamp - **Type:** subagent | background_exec - **Session/Process:** identifier - **Expected Done:** timestamp or duration - **Check Cron:** cron job ID - **Result:** (filled on completion) ``` **Key rule:** Never promise to follow up without scheduling a mechanism to wake yourself up. --- ### Phase 2: Sub-Agent Performance Tracking **Problem:** No memory of which agents succeed or fail at which tasks. **Solution:** Create `memory/agent-performance.md` to track: - Success rate per agent - Quality scores (1-5) per task - Known failure modes - "Best for" / "Avoid for" heuristics **After every delegation:** 1. Log the outcome (success/partial/failed/crashed) 2. Note runtime and token cost 3. Record lessons learned **Before every delegation:** 1. Check if this agent has failed on similar tasks 2. Consult the "decision heuristics" section Example entry: ```markdown #### 2026-...
Task Router
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,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.