Aider AI coding assistant configuration optimized for multi-model development workflow with Gemini, DeepSeek, and Claude models via OpenRouter. Features extensive model aliases, diff-based editing, and customized history tracking.
A comprehensive Aider configuration file optimized for multi-model AI-assisted development workflow. This configuration leverages OpenRouter for model access and includes extensive model aliases for quick switching between providers.
This configuration uses a two-tier model approach:
Quick-switch aliases for different models:
1. **Performance Optimizations**
- Prompt caching enabled
- Map tokens set to 1024 for controlled repo scanning
- Stream disabled for stability
- Cache keepalive pings enabled
2. **Workflow Settings**
- Auto-commits disabled (manual control)
- Auto-lint disabled
- Diff-fenced edit format
- Diffs shown on commit
3. **History Tracking**
- Centralized input history: `~/.aider.input.history`
- Centralized chat history: `~/.aider.chat.history.md`
4. **UI/UX**
- Dark mode with Monokai code theme
- Voice notifications ("say aider is ready")
- Terminal bell notifications enabled
When applying this configuration:
1. **Set up the configuration file**:
- Create `.aider.conf.yml` in the project root or user home directory
- Copy the full configuration content
2. **Update file paths**:
- Replace `/Users/williamnguyen/` with the appropriate user home directory
- Adjust paths for: `input-history-file`, `chat-history-file`, `env-file`
3. **Configure environment file**:
- Create `~/.env.aider` (or path specified in `env-file`)
- Add required API keys:
```
OPENROUTER_API_KEY=your_openrouter_key
GEMINI_API_KEY=your_gemini_key
ANTHROPIC_API_KEY=your_anthropic_key
```
4. **Optional: Add convention documents**:
- Uncomment the `read:` section if you have convention/guide documents
- Place documents in `~/dotfiles/aider_config/` or adjust paths
5. **Customize model selection**:
- Switch main model by changing `model:` value
- Use aliases in chat: `aider --model flash` or `aider --model sonnet`
- Swap editor model by changing `editor-model:` value
6. **Adjust token limits**:
- Increase `map-tokens` for larger repos (costs more)
- Decrease to 0 to disable repo scanning entirely
7. **Notification customization**:
- macOS: Uses `say` command (built-in)
- Linux: Replace with `notify-send` or similar
- Windows: Replace with appropriate notification command
**Start with default configuration**:
```bash
aider
```
**Use specific model alias**:
```bash
aider --model flash
aider --model r1
aider --model sonnet
```
**Override map tokens for large repo**:
```bash
aider --map-tokens 4096
```
**Check token usage**:
```
/tokens
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-neo-picasso/raw