Professional Aider AI coding assistant configuration with Opus main model, Sonnet editor, and optimized settings for terminal-based AI pair programming
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.
Professional configuration for Aider AI coding assistant optimized for terminal-based AI pair programming with Claude models.
This skill provides a production-ready `.aider.conf.yml` configuration that:
1. **Create the configuration file** in your project root or home directory:
- Project-specific: `<project>/.aider.conf.yml`
- Global: `~/.aider.conf.yml`
2. **Set required environment variables** in your shell profile or `.env`:
```bash
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
```
3. **Copy the configuration**:
```yaml
model: opus
openai-api-key: ${OPENAI_API_KEY}
anthropic-api-key: ${ANTHROPIC_API_KEY}
weak-model: 35-turbo
editor-model: sonnet
editor-edit-format: diff
auto-accept-architect: false
verify-ssl: true
input-history-file: .aider.input.history
chat-history-file: .aider.chat.history.md
restore-chat-history: true
dark-mode: true
pretty: true
stream: true
git: true
gitignore: true
aiderignore: .aiderignore
subtree-only: false
auto-commits: false
dirty-commits: false
attribute-author: true
attribute-committer: true
dry-run: false
auto-test: false
env-file: .env
```
4. **Launch Aider** in your project:
```bash
cd your-project
aider
```
5. **Verify configuration** by checking the model in use:
```
Model: claude-3-opus-20240229 with diff edit format
Weak model: gpt-3.5-turbo
Editor model: claude-3-7-sonnet-20250219
```
**Model Strategy:**
**History Management:**
**Git Integration:**
**Terminal Experience:**
**Basic coding session:**
```bash
aider src/main.py
```
**Multiple files:**
```bash
aider src/**/*.py tests/**/*.py
```
**Read-only context:**
```bash
aider src/main.py --read docs/API.md
```
**Change main model:**
```yaml
model: sonnet # Faster, cheaper for routine work
```
**Enable auto-commits:**
```yaml
auto-commits: true # Commit every LLM change immediately
```
**Add linting:**
```yaml
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "javascript: eslint --fix"
```
**Add testing:**
```yaml
auto-test: true
test-cmd: pytest tests/
```
**High quality (expensive):**
```yaml
model: opus
editor-model: sonnet
```
**Balanced (recommended):**
```yaml
model: sonnet
editor-model: sonnet
weak-model: 35-turbo
```
**Budget (fast iteration):**
```yaml
model: haiku
editor-model: haiku
weak-model: 35-turbo
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-j52an8/raw