dynamic-model-selector
Dynamically select the best AI model for a task based on complexity, cost, and availability in GitHub Copilot. Use when deciding between free/paid models, or when you want automatic model routing based on query analysis.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- dynamic-model-selector
- description
- Dynamically select the best AI model for a task based on complexity, cost, and availability in GitHub Copilot. Use when deciding between free/paid models, or when you want automatic model routing based on query analysis.
02 资源文件 3
- 参考文档_meta.json300 B
- 参考文档references/models.md2.4 KB
- 脚本scripts/classify_task.py3.0 KB
03 SKILL.md 正文
Dynamic Model Selector
Overview
This skill analyzes user queries to recommend the optimal AI model from available GitHub Copilot options, balancing performance, cost, and task requirements.
How to Use
- Provide the user query or task description.
- Run the classification script to analyze complexity.
- Choose the suggested model or adjust based on preferences.
Classification Criteria
- Simple tasks (short responses, basic chat): Use faster, free models like grok-code-fast-1.
- Complex reasoning (analysis, multi-step): Use advanced models like gpt-4o or claude-3.5-sonnet.
- Code generation: Prefer code-optimized models.
- Cost sensitivity: Favor free models when possible.
Example Usage
For a query like "Explain quantum computing": Classify as medium complexity -> Recommend gpt-4o.
For "Write a Python function to sort a list": Classify as code task -> Recommend grok-code-fast-1.
Resources
scripts/
classify_task.py: Analyzes the query and outputs model recommendation.
references/
models.md: Detailed list of available models, pros/cons, costs.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.