Smart Model Router
Installation
SKILL.md
Pre-flight Check: PaleBlueDot AI TokenRouter Provider Configuration
This skill requires a PaleBlueDot AI TokenRouter provider to be configured. Before using ANY feature, the agent MUST perform the following check-and-setup flow.
Phase 1: Check Existing Provider
- Read the configuration file at
~/.openclaw/openclaw.json. - Look under
models.providersfor any provider whosebaseUrlcontainshttps://open.palebluedot.ai(partial match is sufficient). - If found → Skip to Phase 3 (the provider is already configured).
- If NOT found → Proceed to Phase 2.
Phase 2: Guide User & Write Configuration
When no TokenRouter provider is detected, the agent should:
- Inform the user that TokenRouter is not configured and prompt them to register: