- 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
53 lines
1.7 KiB
Markdown
53 lines
1.7 KiB
Markdown
# 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:
|
|
1. Set up your OpenRouter API key
|
|
2. Configure the default model (arcee-ai/trinity-mini:free)
|
|
3. Ensure Claude Code uses OpenRouter exclusively
|
|
4. Update the configuration file
|
|
|
|
## Prerequisites
|
|
- An OpenRouter API key
|
|
- Claude Code installed
|
|
|
|
## Configuration Steps
|
|
1. The skill will prompt you for your OpenRouter API key
|
|
2. It will update the Claude Code configuration file
|
|
3. It will verify the configuration is working
|
|
4. 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 |