Add OpenRouter Config skill

- 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
This commit is contained in:
Z User
2026-02-22 12:57:09 +00:00
Unverified
parent 9a05efe73a
commit 533c817b53
2 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
# 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