Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

friday-router

bởi runeweaverstudios

Coding Agents & IDEs
540Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Write a poem about the ocean

AGENT
  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'

ĐẦU RA

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

Yêu cầu

  • OpenRouter API key configured in OpenClaw auth profile

Cài đặt

clawhub install runeweaverstudios/friday-router

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết