Configure and manage Aider AI pair programming assistant settings for optimal coding workflows. Control models, git behavior, output formatting, and advanced features through YAML configuration.
This skill has safety concerns that you should review before use. Some patterns were detected that may pose a risk.Safety score: 60/100.
KillerSkills scans all public content for safety. Use caution before installing or executing flagged content.
Configure Aider's behavior through YAML configuration files to optimize your AI pair programming experience.
Helps you create and manage `.aider.conf.yml` configuration files to control Aider's model selection, git integration, output formatting, caching, and advanced features. Configuration files can be placed in your home directory (global) or git repository root (project-specific).
Decide where to place your configuration:
Start with essential configurations:
**Model Selection:**
```yaml
model: claude-3-7-sonnet-20250219
weak-model: claude-3-5-haiku-20241022
editor-model: claude-3-7-sonnet-20250219
```
**API Keys (OpenAI/Anthropic only in YAML, others in .env):**
```yaml
anthropic-api-key: your-key-here
openai-api-key: your-key-here
```
**Git Behavior:**
```yaml
auto-commits: true
dirty-commits: true
gitignore: true
attribute-author: true
attribute-commit-message-author: false
```
**Repository Context (Repomap):**
```yaml
map-tokens: 2048
map-refresh: auto
```
**Output Preferences:**
```yaml
dark-mode: true
stream: true
pretty: true
show-diffs: true
```
**Code Quality Automation:**
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
test-cmd: pytest
auto-test: false
```
**Prompt Caching (reduces costs):**
```yaml
cache-prompts: true
cache-keepalive-pings: 3
```
**Chat History:**
```yaml
restore-chat-history: true
chat-history-file: .aider.chat.history.md
```
**Voice Input:**
```yaml
voice-format: wav
voice-language: en
```
**Multi-Model Setup:**
```yaml
architect: true
auto-accept-architect: true
alias:
- "fast=claude-3-5-haiku-20241022"
- "powerful=claude-3-opus-20240229"
```
1. **Create the config file** at chosen location
2. **Run Aider** to verify settings are applied
3. **Check for warnings** about model metadata or settings
4. **Test key features**: commits, linting, model responses
5. **Adjust** based on your workflow needs
```yaml
model: claude-3-5-haiku-20241022
auto-commits: true
stream: true
dark-mode: true
```
```yaml
model: claude-3-7-sonnet-20250219
editor-model: claude-3-7-sonnet-20250219
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "typescript: eslint --fix"
test-cmd: npm test
show-diffs: true
cache-prompts: true
```
```yaml
model: claude-3-5-haiku-20241022
weak-model: claude-3-5-haiku-20241022
cache-prompts: true
cache-keepalive-pings: 5
map-tokens: 1024
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-management/raw