Production-ready Aider configuration optimized for cost-effective development with multi-model workflow, file watching, and auto-commit disabled for manual control.
A battle-tested Aider configuration from a production dotfiles repository, optimized for cost-effective AI-assisted development with a multi-model workflow.
Sets up Aider with a carefully chosen model stack that balances cost and capability:
Enables power-user features like architect mode, file watching, and LLM history tracking while keeping manual control over commits.
```yaml
model: gemini/gemini-2.5-flash-preview-04-17
editor-model: openrouter/anthropic/claude-3.5-sonnet
dark-mode: true
show-model-warnings: false
auto-commits: false # Manual commit control
architect: true # Enable architect mode for complex tasks
yes-always: true # Skip confirmation prompts
watch-files: true # Auto-reload changed files
llm-history-file: .aider.llm.history
analytics-disable: true
```
1. **Save configuration**:
```bash
cat > .aider.conf.yml <<EOF
model: gemini/gemini-2.5-flash-preview-04-17
editor-model: openrouter/anthropic/claude-3.5-sonnet
dark-mode: true
auto-commits: false
show-model-warnings: false
architect: true
yes-always: true
llm-history-file: .aider.llm.history
analytics-disable: true
watch-files: true
EOF
```
2. **Set up API keys** (add to `~/.bashrc` or `~/.zshrc`):
```bash
export GEMINI_API_KEY="your-key-here"
export OPENROUTER_API_KEY="your-key-here"
```
3. **Launch Aider**:
```bash
aider
aider src/main.py tests/test_main.py
```
**Model choice reasoning**:
**Workflow optimizations**:
**Privacy & tracking**:
1. **Use Gemini for iteration**: Let the cheap model handle back-and-forth, exploratory work
2. **Use Claude for final polish**: Switch to editor model for critical refactoring
3. **Try DeepSeek for bulk work**: Uncomment the alternative model line for high-volume tasks
4. **Monitor usage**: Check `.aider.llm.history` to see token consumption patterns
**Standard development**:
```bash
aider src/
```
**Critical refactoring**:
```bash
aider --model openrouter/anthropic/claude-3.5-sonnet src/core.py
```
**Ultra-cheap mode**:
```bash
aider --model openrouter/deepseek/deepseek-r1 src/
```
**Models not found**:
```bash
aider --models
aider --model gemini/gemini-2.5-flash-preview-04-17 --test
```
**API key issues**:
```bash
echo $GEMINI_API_KEY
echo $OPENROUTER_API_KEY
aider --test-cmd "echo hello"
```
**File watching conflicts**:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-power-user-config/raw