Comprehensive Aider AI pair programming configuration template with all available options for customizing model selection, git integration, output styling, and workflow automation
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.
A comprehensive configuration template for Aider, the AI pair programming tool. This template covers all available options for customizing your Aider workflow, from model selection and API settings to git integration and output styling.
This is a complete `.aider.conf.yml` configuration file that documents every available Aider setting. It serves as both a reference and a starting point for customizing Aider's behavior to match your development workflow.
Key configuration areas:
Follow these steps to set up and customize your Aider configuration:
Create `.aider.conf.yml` in one of these locations (Aider searches in order):
Begin by uncommenting and configuring these critical options:
**Model Selection:**
```yaml
model: anthropic/claude-3-7-sonnet-20250219
weak-model: claude-3-5-haiku-20241022
```
**API Keys** (alternative: use `.env` file):
```yaml
anthropic-api-key: your-api-key-here
```
**Commit Settings:**
```yaml
auto-commits: false
show-diffs: true
attribute-commit-message-author: true
```
**Git Integration:**
```yaml
git: true
gitignore: true
git-commit-verify: true
```
**Theme Selection:**
```yaml
dark-mode: true
code-theme: gruvbox-dark
```
**Color Customization:**
```yaml
user-input-color: "#00cc00"
assistant-output-color: "#0088ff"
tool-error-color: "#FF2222"
```
**Linting:**
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
- "typescript: eslint --fix"
```
**Testing:**
```yaml
test-cmd: pytest
auto-test: true
```
```yaml
map-tokens: 1024
map-refresh: auto # Options: auto, always, files, manual
```
**Caching** (reduce API costs):
```yaml
cache-prompts: true
cache-keepalive-pings: 3 # Keep cache warm
```
**Chat History:**
```yaml
restore-chat-history: true
chat-history-file: .aider.chat.history.md
```
**Editor Integration:**
```yaml
editor: code # or vim, emacs, etc.
vim: true
```
**IMPORTANT**: Never commit API keys to version control.
**Recommended approach:**
1. Store keys in `.env` file (git-ignored)
2. Reference in config:
```yaml
env-file: .env
```
3. In `.env`:
```
ANTHROPIC_API_KEY=your-key-here
OPENAI_API_KEY=your-key-here
```
Test your configuration:
```bash
aider --config
aider --exit
aider --verbose --exit
```
**Minimal Setup** (quick start):
```yaml
model: anthropic/claude-3-7-sonnet-20250219
dark-mode: true
auto-commits: false
```
**Quality-Focused** (with automation):
```yaml
model: anthropic/claude-3-7-sonnet-20250219
auto-lint: true
auto-test: true
show-diffs: true
lint-cmd:
- "python: ruff check --fix"
```
**Performance-Optimized** (with caching):
```yaml
model: anthropic/claude-3-7-sonnet-20250219
weak-model: claude-3-5-haiku-20241022
cache-prompts: true
map-tokens: 2048
```
After setting up your config, verify it works:
```bash
aider --model anthropic/claude-3-7-sonnet-20250219 --message "test" --yes-always
aider --show-repo-map
aider --lint
```
**Config not loading:**
**API errors:**
**Git issues:**
Full documentation: https://aider.chat/docs/config/options.html
Common model identifiers:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-3y7165/raw