Comprehensive .aider.conf.yml configuration template with all available options for the Aider AI pair programming tool
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 complete reference configuration file for Aider, the AI pair programming tool. This template includes all valid configuration entries that can be placed in your home directory or at the root of your git repository.
This skill provides a comprehensive `.aider.conf.yml` configuration template that covers:
Create a file named `.aider.conf.yml` in one of these locations:
Uncomment and set one of the main model options:
```yaml
sonnet: true
4o: true
opus: true
model: claude-3-5-sonnet-20241022
```
**Option A: In the YAML file (OpenAI/Anthropic only)**
```yaml
openai-api-key: sk-...
anthropic-api-key: sk-ant-...
```
**Option B: In a .env file (recommended for all providers)**
Create a `.env` file in your git root:
```
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
```
```yaml
auto-commits: true
dark-mode: true # or light-mode: true
map-tokens: 2048
weak-model: claude-3-5-haiku-20241022
```
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
- "typescript: eslint --fix"
```
```yaml
auto-test: true
test-cmd: pytest tests/
```
```yaml
sonnet: true
anthropic-api-key: sk-ant-...
dark-mode: true
```
```yaml
model: claude-3-5-sonnet-20241022
weak-model: claude-3-5-haiku-20241022
dark-mode: true
auto-commits: true
auto-lint: true
map-tokens: 2048
pretty: true
stream: true
```
```yaml
model: claude-3-5-sonnet-20241022
weak-model: claude-3-5-haiku-20241022
editor-model: claude-3-5-haiku-20241022
cache-prompts: true
map-tokens: 4096
map-refresh: auto
auto-commits: true
auto-lint: true
auto-test: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
test-cmd: pytest tests/ -v
show-diffs: true
dark-mode: true
```
You can set provider API keys via environment variables:
```bash
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
export PROVIDER_API_KEY=...
```
Or use the `--set-env` option in the config:
```yaml
set-env:
- OPENAI_API_TYPE=azure
- OPENAI_API_VERSION=2024-02-15-preview
```
Test your configuration:
```bash
aider --verbose
aider --list-models claude
aider --show-prompts
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-5bc8q6/raw