openrouter-load-balancing
在多个 OpenRouter 配置之间分配请求。在扩展或实施地理分布时使用。通过如 'openrouter 负载均衡'、'分配请求'、'openrouter 扩展'、'多键 openrouter' 等短语触发。
📖 中文导读:在多个 OpenRouter 配置之间分配请求。在扩展或实施地理分布时使用。通过如 'openrouter 负载均衡'、'分配请求'、'openrouter 扩展'、'多键 openrouter' 等短语触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: openrouter-load-balancing description: | Execute distribute requests across multiple OpenRouter configurations. Use when scaling or implementing geographic distribution. Trigger with phrases like 'openrouter load balance', 'distribute requests', 'openrouter scaling', 'multi-key openrouter'. allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Openrouter Load Balancing
Overview
This skill teaches load balancing patterns for distributing requests across multiple API keys or configurations.
Prerequisites
- Multiple OpenRouter API keys
- Understanding of your traffic patterns
Instructions
Follow these steps to implement this skill:
- Verify Prerequisites: Ensure all prerequisites listed above are met
- Review the Implementation: Study the code examples and patterns below
- Adapt to Your Environment: Modify configuration values for your setup
- Test the Integration: Run the verification steps to confirm functionality
- Monitor in Production: Set up appropriate logging and monitoring
Output
Successful execution produces:
- Working OpenRouter integration
- Verified API connectivity
- Example responses demonstrating functionality
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.