Skip to content
Back to skills

Model Selector

ASecurity

A powerful model routing skill that analyzes query intent and cost-efficiency to select the optimal LLM (Elite/Balanced/Basic) before execution.

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
ai-agentspythongoperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill model-selector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Selector?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Selector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-model-selector/badge)](https://www.skillsdirectory.com/skills/modbender-model-selector)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Semantic Model Orchestrator
description: A powerful model routing skill that analyzes query intent and cost-efficiency to select the optimal LLM (Elite/Balanced/Basic) before execution.
version: 1.0.0
author: Ray
tags: [llm-ops, routing, efficiency, selection]
---

# Semantic Model Orchestrator

This skill provides an intelligent middle layer for AI agents to decide which model tier should handle a specific task. By using semantic analysis, it categorized queries into **Elite**, **Balanced**, or **Basic** levels.

## Features
- **Semantic Intent Recognition**: Uses vector embeddings to detect query complexity.
- **Cost-Efficiency Orchestration**: Routes queries to **Elite**, **Balanced**, or **Basic** models.
- **ClawHub Optimized**: Default tiers for Claude 3.5 Sonnet, GPT-4o-mini, and DeepSeek.
- **Rolling Adjustment**: Built-in logic to refine intent keywords from user history.
- **Multi-Provider Support**: Supports OpenAI, Anthropic, Gemini, and DeepSeek.

## Model Tiers
- **Elite**: `anthropic/claude-3-5-sonnet-latest`
- **Balanced**: `openai/gpt-4o-mini`
- **Basic**: `deepseek/deepseek-chat`

## Usage
Add this skill to your agent's capability list. The agent will call the `get_optimal_model` tool before making main LLM calls to optimize performance and budget.

### Example Tool Call
```python
result = router.analyze_and_route("Design a high-scalable microservices architecture for a fintech app.")
# Returns: {"tier": "ELITE", "suggested_model": "anthropic/claude-3-5-sonnet-latest"}
```

Files in this skill

  • SKILL.md1.5 KB
  • scripts/model_router.py7.3 KB
  • scripts/query_history.json1.5 KB
  • scripts/requirements.txt75 B
  • scripts/train_router.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.