← Back to Skills Marketplace
certainlogicai

Smart Router Intents

by CertainLogicAI · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
67
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install smart-router-intents
Description
Route any query by intent. Code, analysis, creative, realtime, general. Each goes to the cheapest model that can handle it.
README (SKILL.md)

smart-router-intents

Route any query by intent. Code, analysis, creative, realtime, general. Each goes to the cheapest model that can handle it.

How it works

INPUT: any query
  ↓
Is it cached? → Return instantly (0 cost)
  ↓ if no
Detect intent:

CODE
  write / debug / refactor
  → Qwen3.5 Flash (fast) or Grok 4.20

ANALYSIS
  research / explain / compare / evaluate
  → Grok 4.20 (standard) or Opus 4.8 (deep)

CREATIVE
  write / brainstorm / design / draft
  → Grok 4.20

REALTIME
  news / prices / weather / current events
  → Grok 4.20 (live data)

GENERAL
  Q&A / summarize / translate / chat
  → Qwen3.5 Flash

Speed

Router adds 2ms. The rest is the LLM you'd wait for anyway.

Setup Average wait per query
All Opus 4.8 45s
All Grok 4.20 11s
With router ~13s

What you save

Setup Cost per 1k queries
All Opus 4.8 $15
All Grok 4.20 $4
All Qwen3.5 Flash $0.80
With router ~$3

Intent detection detail

CODE
  Keywords: write, code, debug, fix, refactor, function, class, test
  → Qwen3.5 Flash (fast), Grok 4.20 (complex)

ANALYSIS
  Keywords: analyze, explain, compare, research, evaluate, assess
  → Grok 4.20. Opus 4.8 for audits.

CREATIVE
  Keywords: write a story, brainstorm, imagine, design, draft
  → Grok 4.20

REALTIME
  Keywords: now, today, current, latest, news, price, weather
  → Grok 4.20 (requires live data)

GENERAL
  Default. Simple Q&A, translate, summarize, chat
  → Qwen3.5 Flash

Usage

clawhub install smart-router-intents

Author

Created by CertainLogic — deterministic AI infrastructure. certainlogic.ai

Usage Guidance
Install this if you want local, low-stakes model-routing suggestions. For private, regulated, expensive, or safety-sensitive prompts, review the chosen route before sending the prompt to another model and avoid relying on this as an access-control or safety decision system.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The stated purpose is intent-based model routing, and the shipped Python script matches that purpose by scoring keywords and returning JSON with an intent, tier, model, cost, and latency.
Instruction Scope
The skill deliberately says it can route any query; that is broad and should not be treated as a safety or high-stakes policy router, but the breadth is disclosed and consistent with its purpose.
Install Mechanism
The metadata declares one CLI entry and one route command, with no dependencies, install scripts, hidden setup, or package-install behavior.
Credentials
Runtime behavior is proportionate: it uses only Python standard-library parsing of the supplied query and prints a recommendation. It does not read secrets, call networks, or mutate user data.
Persistence & Privilege
No persistence, privilege escalation, background worker, credential access, or file mutation is present. The documentation mentions caching, but the included code does not implement a cache.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-router-intents
  3. After installation, invoke the skill by name or use /smart-router-intents
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Added speed section. Fixed: average 13s per query (router adds 2ms), not 45s. Models: Qwen3.5 Flash, Grok 4.20, Opus 4.8.
v1.0.0
Initial release. Routes any query by intent: code, analysis, creative, realtime, general.
Metadata
Slug smart-router-intents
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Smart Router Intents?

Route any query by intent. Code, analysis, creative, realtime, general. Each goes to the cheapest model that can handle it. It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.

How do I install Smart Router Intents?

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

Is Smart Router Intents free?

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

Which platforms does Smart Router Intents support?

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

Who created Smart Router Intents?

It is built and maintained by CertainLogicAI (@certainlogicai); the current version is v1.0.1.

💬 Comments