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

staratheris-arya-model-router

staratheris द्वारा

AI & LLMs
1.1kclawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Token-saver router: elige modelo (cheap/default/pro) y usa sub-agentes para tareas pesadas.

विवरण

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

Routes AI model selection between cheap, default, and pro tiers based on task complexity. For heavy tasks, it spawns sub-agents running a stronger model and can compress large context into a brief first to avoid passing unnecessary tokens to an expensive model.

Avoids paying for a powerful model on simple requests while still accessing one when the task actually requires it, without manually switching models.

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

  • Keeping daily chat interactions on a cheap model to reduce API spend
  • Automatically escalating complex code analysis to a pro model
  • Compressing a large document before routing it to an expensive model
  • Running multi-step research through a sub-agent without inflating main context
  • Forcing a specific model tier for a one-off request

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

इनपुट

User asks: 'Router: analyze this 50-page spec for security gaps'

एजेंट
  1. 1

    Classifies task as high complexity using router.py rules

  2. 2

    Compresses the spec into a concise brief to reduce token count

  3. 3

    Spawns a sub-agent configured with the pro model (openai/gpt-4.1)

  4. 4

    Passes the brief and task instructions to the sub-agent

  5. 5

    Returns the sub-agent's findings to the main conversation

आउटपुट

Security gap report from the pro model, with the main agent staying on the cheap tier throughout

आवश्यकताएँ

  • OpenAI API key

इंस्टॉलेशन

clawhub install staratheris/staratheris-arya-model-router

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

लिंक