Install
openclaw skills install @zhaoxinghua09-cell/model-router当用户说『全用旗舰模型太贵』『小任务也要排队等大模型』『怎么按难度选模型』『怎么给agent配模型梯队』,或想在不降质前提下把推理成本压下来时使用。按任务复杂度把请求路由到『刚好够用』的模型档位(旗舰/中端/小模型/本地),附成本对比与回退策略。理论根基:LGD 三律(有籍·有证·有门禁)。触发词:模型路由、model routing、省钱、成本优化、模型梯队、小任务大模型、路由策略、LLM成本。
openclaw skills install @zhaoxinghua09-cell/model-router凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
Use this skill when the user explicitly says large-model costs are too high, requests queue behind big models, or the user is pursuing cost optimization. It also applies when the conversation concerns choosing model tiers by task complexity or configuring an agent's model lineup, and the default routing logic has not already kicked in. Trigger on keywords such as "small task on big model", "save money" or specific LLM routing-strategy needs, whenever there is an implicit quality bar for reasoning.
Invoke model_router.py directly from Python, passing a JSON-formatted request_payload containing task_type, complexity_score and budget_limit. Alternatively, activate the internal module via natural-language triggers such as "model routing" or "cost optimization". The system reads the configuration automatically and outputs the recommended tier together with a fallback plan.
用户明确表达大模型费用过高、排队等待或追求成本优化时。当对话涉及如何按任务复杂度选择模型梯队或配置 Agent 模型组合,且未触发默认路由逻辑时。检测到关键词如「小任务大模型」「省钱」或特定 LLM 路由策略需求,同时存在对质询/推理质量有隐性要求时。
支持 Python 脚本直接调用 model_router.py,传入 JSON 格式的 request_payload 参数包含 task_type, complexity_score, budget_limit。或通过自然语言触发指令「模型路由」「成本优化」来激活内部模块。系统自动读取配置并输出推荐档位与回退方案。