← Back to Skills Marketplace
yb98k999

Smart Model Router

by PaleBlueDot AI · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ⚠ suspicious
171
Downloads
0
Stars
0
Active Installs
7
Versions
Install in OpenClaw
/install task-based-model-router
Description
Optimize Your API Costs - Route tasks to cost-effective models via TokenRouter. Dynamically builds model tiers from live pricing, classifies tasks into 6 cat...
Usage Guidance
This skill will read and modify your OpenClaw config (~/.openclaw/openclaw.json), ask you to provide a PaleBlueDot TokenRouter base URL and your real API key, and then store that key and route all models through the provider. The package metadata does not declare these config/credential requirements — treat that as a red flag. Before installing or running: 1) Verify you trust PaleBlueDot and want all model traffic routed through it; 2) Back up ~/.openclaw/openclaw.json; 3) Inspect the skill's bundled scripts (manage_models.py) yourself; 4) Do not paste secrets until you understand where they will be stored; 5) Consider testing in a sandbox or with a limited/throwaway API key and check that you can revert the changes (remove the provider / models.allowed entries). If you want to proceed, ask the author to correct the registry metadata to declare the required config paths and credential so the request is transparent.
Capability Analysis
Type: OpenClaw Skill Name: task-based-model-router Version: 1.0.6 The skill bundle is a legitimate model routing and cost optimization tool for the OpenClaw platform. It manages model provider configurations in `~/.openclaw/openclaw.json`, fetches live pricing from `https://open.palebluedot.ai`, and orchestrates multi-agent tasks based on task complexity. While the scripts perform sensitive operations—such as modifying the user's configuration file (`manage_models.py`), reading file contents (`smart_find.py`), and analyzing codebase structure (`smart_map.py`)—these behaviors are strictly aligned with the stated purpose of a model manager and developer utility. The setup flow in `SKILL.md` is transparent, requiring explicit user-provided credentials rather than attempting to steal or hardcode them.
Capability Assessment
Purpose & Capability
The skill's stated purpose (route tasks via a TokenRouter) matches the code and instructions which contact PaleBlueDot's pricing API and update the OpenClaw provider entry. However the registry metadata declares no required env vars or config paths, yet the SKILL.md and scripts explicitly require reading/writing ~/.openclaw/openclaw.json and storing a PaleBlueDot API key. The absent metadata is inconsistent and reduces transparency.
Instruction Scope
SKILL.md explicitly directs the agent to: read ~/.openclaw/openclaw.json, prompt the user for a real PaleBlueDot TokenRouter API key and base URL, run setup/check/sync commands that will write the provided API key into the config, and auto-sync models into models.allowed so all models route through that provider. Reading/writing local config and automatically changing the allowed models list expands scope beyond a passive helper — it changes global agent configuration.
Install Mechanism
There is no external install/download step (instruction-only), and all code is bundled with the skill. The bundled scripts perform network requests to https://www.palebluedot.ai (pricing API) and file operations on ~/.openclaw/*; no remote installers or shortened/personal URLs were found. This is proportionate for the skill's objective but still writes to local config.
Credentials
The registry lists no required credentials, yet SKILL.md requires the user to supply a PaleBlueDot API key and base URL which the agent will store in ~/.openclaw/openclaw.json. The scripts also read/write additional local files (~/.openclaw/workspace/swarm_memory.json, swarm_insights.json, and model-routing.json) that may contain sensitive data. Requesting and persisting a third‑party API key and modifying allow lists is a sensitive capability and should be declared up front.
Persistence & Privilege
Although always:false and autonomous invocation are normal, the skill alters the user's global OpenClaw config: it will add/enable a TokenRouter provider, add all models to models.allowed, and route all models through that provider. This persistent, cross-cutting configuration change increases the blast radius (third‑party routing of all model calls) and should be explicitly consented to and reversible.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install task-based-model-router
  3. After installation, invoke the skill by name or use /task-based-model-router
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.6
Version 1.0.6 - Updated all user-facing copy to refer to "PaleBlueDot AI" instead of "PBD" or simply "TokenRouter" for improved clarity. - No changes to functionality, features, or logic—documentation and guidance text only. - Ensured setup and user instructions are consistent with new provider naming.
v1.0.5
task-based-model-router 1.0.5 - Added a dedicated CHANGELOG.md file. - Overhauled the provider setup flow: The skill now requires real PBD TokenRouter credentials before any usage, with an interactive setup, verification, and model sync phase. - Provider detection now matches any baseUrl containing "https://open.palebluedot.ai" (not just strict equality). - Skill performs a check and auto-syncs allowed models before every planning task, ensuring up-to-date configuration. - SKILL.md guidance updated: clearer instructions for initial setup, config management, and user feedback during onboarding. - Improved agent behaviors: never writes placeholder API keys, and always confirms with the user after syncing models.
v1.0.4
- Documentation updated to clarify TokenRouter setup steps for new users. - Instruction for obtaining TokenRouter information reworded for accuracy. - No changes to logic or core functionality; update is strictly to the SKILL.md documentation.
v1.0.3
No file changes detected for version 1.0.3; documentation and behavior remain unchanged. No new features or bug fixes in this release.
v1.0.2
task-based-model-router 1.0.2 Changelog - Updated SKILL.md with improved explanations for automatic provider setup and planning features. - Clarified steps for TokenRouter provider configuration and the planning process. - Fixed minor documentation issues and typos to enhance readability. - No code or functional changes; documentation only.
v1.0.1
Version 1.0.1 - Updated documentation in SKILL.md for clarity and accuracy. - Removed the inline API configuration example for TokenRouter from the setup instructions. - No changes to core logic or features—this update only modifies the documentation content.
v1.0.0
Smart Model Router v1.0.0 - Initial release of Smart Model Router for OpenClaw. - Automatically configures and updates TokenRouter provider/models before any planning. - Dynamically builds model pricing tiers from live TokenRouter API. - Classifies tasks (English & Chinese) into 6 categories and routes across multi-tier models for max cost savings. - Supports detailed multi-agent workflows with adaptive fallback and easy model enabling. - Provides real-time model price listing and intelligent routing recommendations for coding, analysis, writing, creative, translation, and simple tasks.
Metadata
Slug task-based-model-router
Version 1.0.6
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 7
Frequently Asked Questions

What is Smart Model Router?

Optimize Your API Costs - Route tasks to cost-effective models via TokenRouter. Dynamically builds model tiers from live pricing, classifies tasks into 6 cat... It is an AI Agent Skill for Claude Code / OpenClaw, with 171 downloads so far.

How do I install Smart Model Router?

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

Is Smart Model Router free?

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

Which platforms does Smart Model Router support?

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

Who created Smart Model Router?

It is built and maintained by PaleBlueDot AI (@yb98k999); the current version is v1.0.6.

💬 Comments