routerbase-api-integration
Installation
SKILL.md
RouterBase API Integration
Overview
Integrate applications with routerbase as an OpenAI-compatible model gateway. This skill covers SDK migration, base URL configuration, streaming, tool calling, JSON mode, vision inputs, request validation, error handling, and safe credential handling.
When to Use
Use this skill when the user asks for:
- Migrating OpenAI-compatible SDK calls to RouterBase
- Setting
base_urlorbaseURLtohttps://routerbase.com/v1 - Configuring RouterBase API keys without exposing secrets
- Implementing chat completions, streaming, tool calling, JSON mode, or vision inputs
- Writing concise RouterBase integration examples for Python, JavaScript, curl, LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, or similar clients