← Back to Skills Marketplace
certainlogicai

Smart Router Coding

by CertainLogicAI · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
70
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install smart-router-coding
Description
Route coding queries to the right model. Fast for lint, deep for architecture, never waste money on Opus for a one-liner.
README (SKILL.md)

smart-router-coding

Route coding queries to the right model. Fast for lint. Deep for architecture. Nothing in between.

How it works

Send a coding task. The router decides depth:

INPUT: coding query
  ↓
Is it cached? → Return instantly (0 cost)
  ↓ if no
What kind of task?

SIMPLE
  lint / format / boilerplate / regex
  one-liners / find & replace / rename
  → Qwen3.5 Flash ($0.0008/q)
  → 21s latency

MODERATE
  debug / refactor / implement function
  code review / write tests / SQL / scripts
  → Grok 4.20 ($0.004/q)
  → 11s latency

COMPLEX
  architecture design / security audit
  performance optimization / algorithms
  multi-file changes / critical logic
  → Opus 4.8 ($0.015/q)
  → 45s latency

What you save

Setup Cost per query Monthly (1k queries)
All Opus 4.8 $0.015 $15
All Grok 4.20 $0.004 $4
With router ~$0.003 $3

Speed

Router adds 2ms. The rest is the LLM — you'd wait that long anyway.

What changes is your average response time:

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

Simple tasks go to Qwen (21s). Standard goes to Grok (11s). Opus only when necessary (45s).

131 coding queries benchmarked across 7 languages. Full results: certainlogic.ai/benchmarks

Usage

clawhub install smart-router-coding

Author

Created by CertainLogic — deterministic AI infrastructure. certainlogic.ai

Usage Guidance
This appears safe to install for local model-tier recommendations. Treat its model, latency, and cost output as a heuristic rather than a security or billing guarantee, and note the minor packaging/version mismatch before relying on exact version labels.
Capability Assessment
Purpose & Capability
The stated purpose is routing coding queries to a model tier, and the Python script implements a keyword/regex classifier that returns JSON with a recommended tier, model, cost, latency, and reason. It does not actually call models or implement caching despite some documentation language suggesting routing/caching behavior.
Instruction Scope
The declared interface is a single route command with one user-provided query string. The runtime instructions do not ask the agent to read the workspace broadly, access secrets, override user control, or execute unrelated actions.
Install Mechanism
The manifest points to one local Python CLI script and declares no dependencies, install hooks, package-manager actions, or background setup. There is a minor version mismatch: SKILL.md and docstrings mention 1.0.2 while skill.json and metadata identify 1.0.3.
Credentials
The script uses only standard-library json, re, sys, and typing, consumes command-line input, and prints a local recommendation. It shows no network access, subprocess execution, credential handling, environment scraping, or file mutation.
Persistence & Privilege
No persistence, background worker, privilege escalation, local indexing, autostart mechanism, credential/session reuse, or destructive operation is present in the inspected artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-router-coding
  3. After installation, invoke the skill by name or use /smart-router-coding
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
Speed section: router adds 2ms, average wait ~13s per query (not 45s).
v1.0.2
Fix: Deep tier correctly routes to Opus 4.8. Fast = Qwen3.5 Flash, Standard = Grok 4.20, Deep = Opus 4.8.
v1.0.0
Initial release.
Metadata
Slug smart-router-coding
Version 1.0.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Smart Router Coding?

Route coding queries to the right model. Fast for lint, deep for architecture, never waste money on Opus for a one-liner. It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.

How do I install Smart Router Coding?

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

Is Smart Router Coding free?

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

Which platforms does Smart Router Coding support?

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

Who created Smart Router Coding?

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

💬 Comments