Install
openclaw skills install openclaw-smart-scheduler智能任务调度器 - 简单任务秒级响应,复杂任务深度思辨。自动识别任务复杂度,路由到最优处理器。集成苏格拉底探明、任务分解、资源定位、多模型辩论验证。
openclaw skills install openclaw-smart-scheduler| 能力 | 说明 |
|---|---|
| 🎯 任务分类 | 自动识别简单/复杂任务 |
| ⚡ 秒级响应 | 简单任务直接路由,无额外开销 |
| 🧠 深度思辨 | 复杂任务:探明→分解→定位→执行→验证 |
| 📊 资源定位 | 本地程序 → Skill → ClawHub → 手搓 |
用户输入
↓
┌─────────────────────┐
│ 任务复杂度预判器 │
│ simple / complex │
└─────────┬───────────┘
│
┌─────┴─────┐
▼ ▼
┌───────┐ ┌───────────┐
│简单 │ │复杂 │
│处理器 │ │处理器 │
└───┬───┘ └─────┬─────┘
│ │
│ ┌──────┴──────┐
│ │ 苏格拉底探明│
│ │ 任务分解 │
│ │ 资源定位 │
│ │ 子任务执行 │
│ │ 结果聚合 │
│ │ 辩论验证 │
│ └──────┬──────┘
│ │
└──────┬──────┘
▼
返回结果
from scheduler import SmartScheduler
scheduler = SmartScheduler()
result = scheduler.handle("用户输入")
print(result.complexity) # simple / complex
print(result.response) # 处理结果
print(result.latency_ms) # 耗时
| 指标 | 目标 |
|---|---|
| 简单任务响应 | < 500ms |
| 复杂任务首响应 | < 3s |
| 分类准确率 | > 90% |
| 内存占用 | < 50MB(按需加载) |
本Skill通过ClawHub安全检查:
run_safely()方法使用受限沙箱代码沙箱是安全特性,用于隔离执行LLM生成的代码。