Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Analyzes user queries to recommend the optimal AI model from GitHub Copilot's available options. Routes tasks based on complexity, cost sensitivity, and task type such as code generation or multi-step reasoning.
Instead of manually picking a model each time, the classification script matches task complexity to the right model, avoiding overpaying for simple queries or underserving complex ones.
When to use it
- Routing simple chat queries to free models to avoid unnecessary cost
- Selecting gpt-4o for complex analysis tasks automatically
- Picking code-optimized models for code generation requests
- Comparing model options before starting a long reasoning task
- Keeping costs low on high-volume automated workflows
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: 'Explain the difference between TCP and UDP'
- 1Pass the query to classify_task.py
- 2Script evaluates complexity, task type, and cost constraints
- 3Classification returns medium complexity, general explanation
- 4Selector recommends gpt-4o based on models.md criteria
- 5User proceeds with the recommended model in GitHub Copilot
Model recommendation: gpt-4o for a medium-complexity explanation task
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.