- Add README.md with user-facing documentation - Add SKILL.md with skill metadata and instructions - Configure OpenRouter as AI provider for Claude Code - Support arcee-ai/trinity-mini:free model by default
1.7 KiB
1.7 KiB
OpenRouter Config Skill
Description
This skill helps users configure and enable OpenRouter as the AI provider in Claude Code. It sets up the OpenRouter API key, configures the model, and ensures Claude Code uses OpenRouter exclusively.
Usage
To use this skill, simply ask Claude Code to configure OpenRouter. The skill will:
- Set up your OpenRouter API key
- Configure the default model (arcee-ai/trinity-mini:free)
- Ensure Claude Code uses OpenRouter exclusively
- Update the configuration file
Prerequisites
- An OpenRouter API key
- Claude Code installed
Configuration Steps
- The skill will prompt you for your OpenRouter API key
- It will update the Claude Code configuration file
- It will verify the configuration is working
- It will provide instructions for testing
Supported Models
The skill configures the following model by default:
- arcee-ai/trinity-mini:free
You can change this to any other OpenRouter model if needed.
Security
The skill handles your API key securely and stores it in the Claude Code configuration file with appropriate permissions.
Troubleshooting
If you encounter issues:
- Check that your API key is correct
- Verify the configuration file has been updated
- Ensure Claude Code has the necessary permissions
- Contact support if problems persist
Related Skills
- API Key Management
- Provider Configuration
- Model Selection
Example Commands
- "Configure OpenRouter with my API key"
- "Set up OpenRouter as my AI provider"
- "Enable OpenRouter in Claude Code"
Notes
- This skill only works with Claude Code
- It requires write access to the configuration file
- The skill ensures OpenRouter is used exclusively
- You can revert to other providers by modifying the configuration manually