Configure Aider AI coding assistant with model aliases, caching, and display preferences for optimal development experience
Configure Aider AI coding assistant with custom model aliases, caching settings, and display preferences.
This skill sets up an Aider configuration file (`.aider.conf.yaml`) with:
When the user asks to configure Aider or set up their Aider config:
1. **Create or update `.aider.conf.yaml`** in the project root or user's home directory with the following configuration:
2. **Model Aliases Section**
- Set up aliases for Claude models:
- `lazer-sonnet` → Claude Sonnet 4.5 (most capable)
- `lazer-haiku` → Claude 3.5 Haiku (fast and efficient)
- Set up aliases for Gemini models:
- `lazer-gemini-flash` → Gemini 3 Flash Preview
- `lazer-gemini-weak` → Gemini 2.0 Flash
- Set up alias for Grok:
- `lazer-grok` → Grok Code Fast 1
- All aliases use the `openai/` prefix format for compatibility
3. **Caching Configuration**
- Enable `cache-prompts: true` to cache system prompts for faster responses
- Set `cache-keepalive-pings: 6` to maintain cache with periodic keepalive pings
4. **Display Preferences**
- Enable `dark-mode: true` for dark theme
- Enable `pretty: true` for formatted output
- Enable `stream: true` for streaming responses
5. **File Location**
- Default location: `~/.aider.conf.yaml` (user-level config)
- Alternative: `.aider.conf.yaml` in project root (project-specific config)
```yaml
alias:
# Claude
- "lazer-sonnet:openai/anthropic/claude-sonnet-4-5"
- "lazer-haiku:openai/anthropic/claude-3-5-haiku-20241022"
# Gemini
- "lazer-gemini-flash:openai/gemini/gemini-3-flash-preview"
- "lazer-gemini-weak:openai/gemini/gemini-2.0-flash"
# Grok Code Fast
- "lazer-grok:openai/xai/grok-code-fast-1"
cache-prompts: true
cache-keepalive-pings: 6
dark-mode: true
pretty: true
stream: true
```
After configuration, users can launch Aider with any aliased model:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-9c3gb9/raw