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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dynamic-model-selector" with this command: npx skills add mpelissari/dynamic-model-selector

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

  1. Provide the user query or task description.
  2. Run the classification script to analyze complexity.
  3. 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

0Codekit

0codekit integration. Manage Workspaces. Use when the user wants to interact with 0codekit data.

Registry SourceRecently Updated
Coding

django-developer

Expert Django developer mastering Django 4+ with modern Python practices. Specializes in scalable web applications, REST API development, async views, and en...

Registry SourceRecently Updated
Coding

Basecamp

Basecamp integration. Manage Projects, Persons, Clients. Use when the user wants to interact with Basecamp data.

Registry SourceRecently Updated
Coding

Fibek Collections

Interact with the Fibek B2B collections platform API — manage invoices, clients, payment agreements, campaigns, and financial metrics

Registry SourceRecently Updated