← Back to Skills Marketplace
simoncatbot

Smart Router for Ollama

by Simon · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
101
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ollama-smart-router
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptocan-make-purchases
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ollama-smart-router
  3. After installation, invoke the skill by name or use /ollama-smart-router
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Intelligent Ollama model routing with complexity classification, caching, conversation memory, and SearXNG web search integration
Metadata
Slug ollama-smart-router
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 101 downloads so far.

How do I install Smart Router for Ollama?

Run "/install ollama-smart-router" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Smart Router for Ollama free?

Yes, Smart Router for Ollama is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Smart Router for Ollama support?

Smart Router for Ollama is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Smart Router for Ollama?

It is built and maintained by Simon (@simoncatbot); the current version is v1.0.0.

💬 Comments