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

router

gigabit-eth द्वारा

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

संक्षिप्त

Cost-optimize AI agent operations by routing tasks to appropriate models based on complexity.

विवरण

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

Routes AI agent tasks to the cheapest model capable of handling them. Classifies work into routine, moderate, and complex tiers, then maps each to free through premium model options with pricing tables. Includes a decision algorithm and OpenClaw configuration for mid-session model switching and sub-agent spawning.

Reduces AI API costs 6-10x by matching task complexity to model capability instead of running everything on a premium model.

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

  • Switching to a cheap model mid-session for bulk file reformatting
  • Spawning a DeepSeek sub-agent to fetch and parse 50 URLs
  • Escalating to Opus when a Sonnet-level model gets stuck on a multi-step bug
  • Running overnight endpoint health checks on free-tier models at zero cost
  • Batching agentic coding sub-tasks through Qwen3 Coder to cut monthly API spend

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

इनपुट

User asks: refactor these 30 test files to use the new shared helper

एजेंट
  1. 1

    Classify the task as routine file operations, targeting Tier 1

  2. 2

    Select deepseek/deepseek-chat or qwen/qwen3-coder-next as the dispatch model

  3. 3

    Spawn a sub-agent with an explicit model field set to the Tier 1 choice

  4. 4

    Sub-agent executes refactoring and reports results back to the parent session

  5. 5

    Parent session resumes on its original model without cost bleed from routine work

आउटपुट

30 test files refactored at roughly $0.03 instead of $0.45 on Claude Sonnet

आवश्यकताएँ

  • OpenRouter API key from openrouter.ai/keys

इंस्टॉलेशन

clawhub install gigabit-eth/router

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

लिंक