تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

dynamic-model-selector

بواسطة mpelissari

Coding Agents & IDEs
846التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Dynamically select the best AI model for a task based on complexity, cost, and availability in GitHub Copilot.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: 'Explain the difference between TCP and UDP'

الوكيل
  1. 1

    Pass the query to classify_task.py

  2. 2

    Script evaluates complexity, task type, and cost constraints

  3. 3

    Classification returns medium complexity, general explanation

  4. 4

    Selector recommends gpt-4o based on models.md criteria

  5. 5

    User proceeds with the recommended model in GitHub Copilot

الإخراج

Model recommendation: gpt-4o for a medium-complexity explanation task

المتطلبات

  • GitHub Copilot subscription or access

التثبيت

clawhub install mpelissari/dynamic-model-selector

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط