Comprehensive .aider.conf.yml template showing all available configuration options for Aider AI pair programming tool. Includes settings for models, API keys, git integration, output customization, testing, linting, and voice features.
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.
This skill provides a comprehensive template for configuring Aider, the AI pair programming tool. The `.aider.conf.yml` file can be placed in your home directory or at the root of your git repository to customize Aider's behavior.
Aider is an AI-powered coding assistant that works directly in your terminal and integrates with git. This configuration file allows you to customize every aspect of Aider's behavior, from model selection to output colors.
Place `.aider.conf.yml` in one of these locations:
Configure your AI provider credentials and choose models:
```yaml
openai-api-key: your-key-here
anthropic-api-key: your-key-here
model: gpt-4o # Specify any supported model
sonnet: true # Claude 3.5 Sonnet
4o: true # GPT-4o
opus: true # Claude Opus
```
Advanced model configuration:
```yaml
openai-api-base: https://your-endpoint.com
openai-api-type: azure
openai-api-version: 2023-05-15
edit-format: whole # or diff, udiff, whole
architect: false # Use architect edit format
max-chat-history-tokens: 4096
model-settings-file: .aider.model.settings.yml
model-metadata-file: .aider.model.metadata.json
```
Control how Aider interacts with git:
```yaml
git: true # Enable git integration
gitignore: true # Add .aider* to .gitignore
auto-commits: true # Auto-commit changes
dirty-commits: true # Allow commits in dirty repo
attribute-author: true # Show aider as author
attribute-committer: true # Show aider as committer
commit-prompt: "Custom prompt for commit messages"
```
Configure the intelligent code context system:
```yaml
map-tokens: 1024 # Tokens for repo map
map-refresh: auto # auto, always, files, manual
map-multiplier-no-files: 2 # Increase context when no files specified
```
Personalize the terminal interface:
```yaml
dark-mode: true
pretty: true
stream: true
user-input-color: "#00cc00"
assistant-output-color: "#0088ff"
tool-error-color: "#FF2222"
tool-warning-color: "#FFA500"
code-theme: monokai # default, monokai, solarized-dark, solarized-light
```
Automated code quality checks:
```yaml
auto-lint: true
lint-cmd:
- "python: flake8 --select=E,W"
- "javascript: eslint"
- "typescript: eslint --ext .ts,.tsx"
auto-test: false
test-cmd: "pytest tests/"
```
Specify files to work with:
```yaml
file:
- src/main.py
- src/utils.py
read:
- docs/README.md
- config/settings.json
aiderignore: .aiderignore # Custom ignore file
subtree-only: false # Only consider current subtree
```
Track your AI pair programming sessions:
```yaml
input-history-file: .aider.input.history
chat-history-file: .aider.chat.history.md
restore-chat-history: false
llm-history-file: .aider.llm.history
```
Improve performance and reduce costs:
```yaml
cache-prompts: true
cache-keepalive-pings: 12 # Ping every 5min to keep cache warm
```
Configure voice input:
```yaml
voice-format: wav # wav, webm, mp3 (webm/mp3 require ffmpeg)
voice-language: en # ISO 639-1 code
```
```yaml
model: gpt-4o
dark-mode: true
auto-commits: true
auto-lint: true
```
```yaml
model: gpt-4o
edit-format: whole
auto-commits: true
dirty-commits: false
commit-prompt: "feat: AI-assisted changes"
lint-cmd:
- "python: ruff check"
test-cmd: "pytest"
auto-test: true
code-theme: monokai
```
```yaml
model: gpt-4o-mini
weak-model: gpt-3.5-turbo
map-tokens: 512
cache-prompts: true
cache-keepalive-pings: 24
```
1. **Project-specific config**: Place `.aider.conf.yml` in repo root for team consistency
2. **Global defaults**: Use home directory config for personal preferences
3. **Git integration**: Enable `auto-commits` and `attribute-author` for clear history
4. **Testing**: Set up `lint-cmd` and `test-cmd` for quality assurance
5. **Color scheme**: Match terminal theme with `dark-mode` or `light-mode`
If Aider isn't using your config:
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-0zxoj2/raw