friday-router
由 runeweaverstudios 提供
Coding Agents & IDEs简介
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
Run
router.py spawn --json 'Write a poem about the ocean'to classify the task - 2
Receive JSON output specifying model
openrouter/moonshotai/kimi-k2.5and sessionTarget - 3
Call
sessions_spawnwith the exact task and model values from the router output - 4
Strip any internal orchestration metadata from the sub-agent response
- 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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。