← 返回 Skills 市场
101
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ollama-smart-router
功能描述
Intelligent task routing between local and cloud Ollama LLM instances. Use when the user wants cost-efficient AI responses by routing simple tasks to a local...
安全使用建议
This skill appears to do what it claims, but take these precautions before installing or using it: 1) Inspect and update config/router.yaml so any cloud base_url points to servers you control or trust (replace placeholder addresses). 2) Be aware that prompts, conversation history, classification results, model availability, and health checks are stored locally (cache/*.db, logs/router.log); disable or clear caching/logging if you don’t want persistent records. 3) Run the code in a controlled environment or sandbox if you will route sensitive data to remote endpoints. 4) If you don't want automatic web-search integration, ensure search integration is disabled or absent. 5) Review network policies if you must prevent the skill from contacting external hosts.
功能分析
Type: OpenClaw Skill
Name: ollama-smart-router
Version: 1.0.0
The ollama-smart-router skill bundle is a legitimate utility designed to route LLM tasks between local and remote Ollama instances based on task complexity. The code implements heuristic classification using regex (scripts/classify.py), maintains state via SQLite-based caching and conversation memory (scripts/cache.py, scripts/conversation.py), and includes a system profiler (scripts/system_profiler.py) that uses standard system commands (e.g., nvidia-smi, sysctl) to detect hardware capabilities. No evidence of malicious intent, data exfiltration, or prompt injection was found; the functionality is transparent and aligns with the documentation.
能力标签
能力评估
Purpose & Capability
Name/description (smart routing between local/cloud Ollama) matches the included Python modules and SKILL.md. The code implements system profiling, classification, health checks, routing, caching, and execution against Ollama API endpoints. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md instructs running the included scripts (system_profiler.py, health_check.py, route.py). The runtime instructions and code operate within that scope. Note: the skill persistently logs routing decisions and stores conversation history and classification caches in local SQLite files (cache/router.db, cache/conversations.db, logs/router.log); these will contain user prompts and metadata and should be considered persistent sensitive data.
Install Mechanism
There is no install spec (instruction-only install). A requirements.txt lists only pyyaml and requests, which is proportionate to reading YAML and performing HTTP requests. No remote archive downloads or unusual installers are present.
Credentials
The skill requests no environment variables or credentials. It does make network calls to configured Ollama base_url(s) (local or user-provided cloud URLs). Because the cloud/base_url values come from config/router.yaml, you should ensure any remote endpoint is trusted; the package itself does not include unexpected external service tokens.
Persistence & Privilege
The skill does not request elevated platform privileges or always-on behavior. It writes logs and SQLite caches to the agent's working directory, creating persistent records of prompts, classifications, and endpoint health. This is normal for a router but has privacy implications.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ollama-smart-router - 安装完成后,直接呼叫该 Skill 的名称或使用
/ollama-smart-router触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Intelligent Ollama model routing with complexity classification, caching, conversation memory, and SearXNG web search integration
元数据
常见问题
Smart Router for Ollama 是什么?
Intelligent task routing between local and cloud Ollama LLM instances. Use when the user wants cost-efficient AI responses by routing simple tasks to a local... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。
如何安装 Smart Router for Ollama?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ollama-smart-router」即可一键安装,无需额外配置。
Smart Router for Ollama 是免费的吗?
是的,Smart Router for Ollama 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Smart Router for Ollama 支持哪些平台?
Smart Router for Ollama 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Smart Router for Ollama?
由 Simon(@simoncatbot)开发并维护,当前版本 v1.0.0。
推荐 Skills