Configure Aider AI pair programming tool with custom models, API endpoints, and editor preferences. Supports OpenRouter, Ollama, and other providers.
Configure Aider's default settings for AI-powered pair programming, including model selection, API endpoints, and editor preferences.
This skill helps you set up and customize your `.aider.conf.yaml` file to configure:
When the user requests Aider configuration:
1. **Read existing configuration** (if present):
- Check for `.aider.conf.yaml` in the current directory
- Note any existing settings to preserve user preferences
2. **Determine provider requirements**:
- Ask which provider they want to use (OpenRouter, Ollama, OpenAI, Anthropic, etc.)
- For OpenRouter: Use format `openrouter/provider/model-name`
- For Ollama: Use format `ollama/model-name` and set `api_base: http://host.docker.internal:11434/v1`
- For other providers: Use their specific model naming conventions
3. **Set editor preference**:
- Default to `nano` for simplicity
- Offer alternatives: `vim`, `emacs`, `code`, `subl` if user prefers
4. **Create or update `.aider.conf.yaml`**:
- Use clean YAML format with comments
- Include example configurations for common providers
- Comment out unused provider examples
5. **Validate configuration**:
- Ensure YAML syntax is correct
- Verify model format matches provider requirements
- Check that api_base is set if using local/custom endpoints
```yaml
model: openrouter/anthropic/claude-3.5-sonnet
editor: nano
```
```yaml
model: ollama/llama3
api_base: http://host.docker.internal:11434/v1
editor: nano
```
```yaml
model: gpt-4-turbo
editor: nano
```
```yaml
model: claude-3-5-sonnet-20241022
editor: nano
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-16gqrt/raw