On first use, read setup.md to align activation boundaries, reliability goals, and routing preferences before making configuration changes.
Use this skill when the user wants to connect an OpenAI-compatible workflow to OpenRouter, choose models by task type, set safe fallbacks, and control cost drift over time.
Memory lives in ~/open-router/. See memory-template.md for structure.
~/open-router/
├── memory.md # Active routing profile and constraints
├── providers.md # Confirmed provider and auth choices
├── routing-rules.md # Task -> model and fallback policy
├── incidents.md # Outages, rate limits, and recovery notes
└── budgets.md # Spend guardrails and optimization actions
Use the smallest relevant file for the current task.
| Topic | File |
|---|---|
| ------- | ------ |
| Setup and activation preferences | setup.md |
| Memory template | memory-template.md |
| Authentication and provider wiring | auth-and-provider.md |
| Routing patterns by workload | routing-playbooks.md |
| Reliability and fallback handling | fallback-reliability.md |
| Cost controls and spend reviews | cost-guardrails.md |
OPENROUTER_API_KEY from the local environment, never pasted into logs or chat memory.These endpoints are used only to discover model metadata and execute routed inference requests under explicit user task intent.
| Endpoint | Data Sent | Purpose |
|---|---|---|
| ---------- | ----------- | --------- |
| https://openrouter.ai/api/v1/models | none or auth header only | Discover current model catalog and metadata |
| https://openrouter.ai/api/v1/chat/completions | user prompt content and selected model id | Execute routed inference requests |
No other data is sent externally.
Data that leaves your machine:
Data that stays local:
~/open-router/.This skill does NOT:
~/open-router/ for its own state.By using this skill, prompt content is sent to OpenRouter for model execution.
Only install if you trust this service with your data.
Install with clawhub install if user confirms:
api — API request design, payload shaping, and response validation patternsauth — credential handling and auth troubleshooting workflowsmodels — model comparison and selection guidancemonitoring — runtime health checks and incident tracking practicesclawhub star open-routerclawhub sync共 1 个版本