← 返回 Skills 市场
keven0706

Multi-Model Router

作者 keven0706 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
265
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install multi-model-router
功能描述
Automatically routes tasks to the most suitable local or cloud AI model based on privacy, context length, cost, and performance requirements.
安全使用建议
This package mostly does what it says (analyze prompts and pick a model), but there are practical issues to resolve before installing: 1) The code depends on an external tokenizer ('gpt-tokenizer') yet no package.json or install instructions are provided — confirm and install required Node dependencies or request the package.json from the author. 2) The privacy guarantee in SKILL.md is a policy claim the router alone cannot enforce — verify your OpenClaw deployment maps the listed local alias (e.g., ollama/...) to an actually-local runtime and that the platform prevents escalation to cloud models for sensitive tasks. 3) The skill writes audit logs and user-preferences to disk (logs/routing-audit.log, config/user-preferences.json); review those files for any metadata you consider sensitive and ensure log access is appropriately restricted. 4) Because provenance is unknown (source/homepage not authoritative), consider running the skill in a sandboxed environment first, review/complete missing packaging info (package.json, dependency list), and request the author or repository for more context before using in production.
功能分析
Type: OpenClaw Skill Name: multi-model-router Version: 1.0.0 The skill bundle implements a legitimate multi-model routing system designed to optimize for privacy, cost, and context length. It uses local regex-based analysis in `scripts/analyzer.js` to detect sensitive information (such as API keys or passwords) and route those requests to local models (e.g., Ollama) to prevent cloud exposure. The implementation includes robust error handling, audit logging to local files, and comprehensive test suites, with no evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description align with code: the skill analyzes prompts and returns a chosen model alias and migrated context. However the SKILL.md claims guarantees like "sensitive data absolutely never sent to cloud" and "100% local processing for sensitive content" — the code only selects a model alias (e.g., a local model alias) and does not itself perform model invocation or enforce transport controls. That privacy claim therefore depends on the hosting platform mapping aliases to truly-local runtime and preventing downstream cloud calls, which the skill cannot enforce.
Instruction Scope
Runtime instructions and code operate within the skill folder: they read config/default.json and config/user-preferences.json, write user preferences and append audit logs (logs/routing-audit.log), and provide health/logging methods. They do not read other system config, environment secrets, or make outbound network calls. The audit logs record decision metadata (model, reason, privacyLevel) but not prompt text — still, metadata could be sensitive.
Install Mechanism
No install specification or package manifest is declared, yet the code requires an external module ('gpt-tokenizer') and is a non-trivial Node.js package with tests. There is no package.json, no declared npm deps, and no instructions to install dependencies. That makes the package incoherent (it will likely fail at runtime unless the environment already has the dependency). Lack of an install step also prevents verification of provenance and reproducible dependency resolution.
Credentials
The skill requests no environment credentials (good), but it writes config and audit logs to disk under the skill directory. It also includes model aliases for cloud providers (xinliu/*) and local runtime (ollama/*). Because environment/config mapping of those aliases to real model endpoints is handled by the platform, the skill's privacy and cost claims depend on external configuration. The absence of any declared requirement for local model endpoints or runtime assurances is a proportionality gap.
Persistence & Privilege
always:false and no special OS restrictions. The skill persists user preferences and audit logs in its own config/logs directories — this is normal for a router. It does not modify other skills' configs or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install multi-model-router
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /multi-model-router 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Multi-Model Router 1.0.0 – Initial Release - Introduces an intelligent routing system that automatically chooses the best AI model based on context length, privacy, cost, and task complexity. - Supports cloud models (e.g., Qwen3-Max, Kimi), local models (e.g., Ollama Qwen3.5), and balanced options. - Key routing strategies: privacy first, context adaptation, cost optimization, and performance prioritization. - Features strict privacy safeguards: PII detection, logging, and configurable thresholds. - Offers custom configuration for routing rules and cost/privilege preferences. - Delivers faster response and lower API costs while protecting user privacy.
元数据
Slug multi-model-router
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Multi-Model Router 是什么?

Automatically routes tasks to the most suitable local or cloud AI model based on privacy, context length, cost, and performance requirements. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 265 次。

如何安装 Multi-Model Router?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install multi-model-router」即可一键安装,无需额外配置。

Multi-Model Router 是免费的吗?

是的,Multi-Model Router 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Multi-Model Router 支持哪些平台?

Multi-Model Router 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Multi-Model Router?

由 keven0706(@keven0706)开发并维护,当前版本 v1.0.0。

💬 留言讨论