कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

smart-models

samstone908 द्वारा

Coding Agents & IDEs
232clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Intelligent multi-model router — automatically selects the best AI model based on task type (vision, image.

विवरण

यह स्किल क्या करती है

Routes tasks to the most appropriate AI model automatically based on task type: vision, image generation, video, audio, reasoning, code, or general chat. Supports 35+ models across 7 categories via any OpenAI-compatible API endpoint. Users can also target a specific model directly with @alias shortcuts like @o3, @sora, or @imagen.

Instead of tracking which model handles which task type, the router classifies the request and picks the right model automatically, with fallback to the next model in the category if a call fails.

इसे कब इस्तेमाल करें

  • Analyzing a screenshot or photo without manually picking a vision model
  • Generating an image from a text description routed to the best available model
  • Running a math proof or complex logic problem through a reasoning-optimized model
  • Producing speech or music without knowing which TTS or audio model to call
  • Bypassing auto-routing to call a specific model directly with an @alias prefix

उदाहरण वर्कफ़्लो

इनपुट

User asks: @imagen a photorealistic mountain lake at sunset

एजेंट
  1. 1

    Detects @imagen alias, maps it to google/imagen-4-ultra in the image_gen category

  2. 2

    Skips auto-classification since alias is explicit

  3. 3

    Calls scripts/call-model.sh with --model google/imagen-4-ultra --type image and the prompt

  4. 4

    Receives the generated image URL from the API response

  5. 5

    Returns the URL formatted as a markdown image

आउटपुट

Markdown image link pointing to the generated photo

आवश्यकताएँ

  • SMART_ROUTER_BASE_URL environment variable (OpenAI-compatible API base URL, e.g. https://api.openai.com/v1)
  • SMART_ROUTER_API_KEY environment variable (API key for the configured provider)

इंस्टॉलेशन

clawhub install samstone908/smart-models

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक