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

friday-router

بواسطة runeweaverstudios

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

موجز

Your AI's Smart Traffic Director—precisely matching OpenClaw tasks to the perfect LLM.

الوصف

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

IntentRouter classifies task descriptions by type and routes them to a specific LLM via OpenRouter. It runs as an orchestrator on Gemini 2.5 Flash, delegating code tasks to MiniMax 2.5, creative tasks to Kimi k2.5, and research tasks to Grok Fast. Router output contains only task parameters and model selection, no auth tokens or gateway credentials.

Instead of manually selecting a model per task in OpenClaw, the router classifies intent and spawns the right sub-agent automatically using a single OpenRouter auth profile.

متى تستخدمها

  • Routing a bug fix request to a code-specialized model without manual selection
  • Sending a creative writing prompt to Kimi k2.5 automatically
  • Delegating research queries to Grok Fast for web-search tasks
  • Handling mixed daily OpenClaw workflows without picking a model each time
  • Running image analysis tasks through a GPT-4o sub-agent

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

الإدخال

User asks: Write a poem about the ocean

الوكيل
  1. 1

    Run router.py spawn --json 'Write a poem about the ocean' to classify the task

  2. 2

    Receive JSON output specifying model openrouter/moonshotai/kimi-k2.5 and sessionTarget

  3. 3

    Call sessions_spawn with the exact task and model values from the router output

  4. 4

    Strip any internal orchestration metadata from the sub-agent response

  5. 5

    Forward the poem to the user labeled 'Using: Kimi k2.5'

الإخراج

A poem generated by the Kimi k2.5 sub-agent, presented cleanly without session metadata

المتطلبات

  • OpenRouter API key configured in OpenClaw auth profile

التثبيت

clawhub install runeweaverstudios/friday-router

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

الروابط