Complete configuration template for Aider AI pair programming. Includes model selection, API keys, git settings, output customization, and all available options.
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 AI pair programming tool. This template covers all available configuration options including model selection, API settings, git integration, output customization, and workflow preferences.
Provides a complete `.aider.conf.yml` configuration file template that can be placed in your home directory or at the root of your git repository. Includes settings for:
1. **Identify the configuration location**
- For global settings: `~/.aider.conf.yml`
- For project-specific settings: `.aider.conf.yml` at git repository root
2. **Create the base configuration file** with this template:
```yaml
##########################################################
##########################################################
#############
model: openrouter/openai/gpt-4.1
########################
#openai-api-key: xxx
#anthropic-api-key: xxx
#openai-api-base: xxx
#set-env:
#api-key:
#################
#model-settings-file: .aider.model.settings.yml
#model-metadata-file: .aider.model.metadata.json
#alias:
#reasoning-effort: medium
#verify-ssl: true
#timeout: 120
#edit-format: diff
#architect: false
#weak-model: gpt-4o-mini
#editor-model: gpt-4o
#################
#cache-prompts: false
#cache-keepalive-pings: 0
###################
#map-tokens: 1024
#map-refresh: auto
#map-multiplier-no-files: 2
################
#input-history-file: .aider.input.history
#chat-history-file: .aider.chat.history.md
#restore-chat-history: false
#llm-history-file: .aider.llm.history
##################
#dark-mode: false
#light-mode: false
#pretty: true
#stream: true
#user-input-color: "#00cc00"
#assistant-output-color: "#0088ff"
#code-theme: default
#show-diffs: false
###############
#git: true
#gitignore: true
#aiderignore: .aiderignore
subtree-only: true
#auto-commits: true
#dirty-commits: true
#attribute-author: true
#attribute-committer: true
#attribute-co-authored-by: true
#attribute-commit-message-author: false
#git-commit-verify: false
#commit-prompt: "Write a concise commit message"
########################
#lint-cmd:
#auto-lint: true
#test-cmd: pytest
#auto-test: false
############
#analytics-disable: false
############
#check-update: true
#################
#voice-format: wav
#voice-language: en
#################
vim: true
#chat-language: en
#yes-always: false
#verbose: false
#encoding: utf-8
#line-endings: platform
#env-file: .env
#suggest-shell-commands: true
#fancy-input: true
#multiline: false
#notifications: false
#detect-urls: true
#editor: vim
```
3. **Customize key settings** based on your needs:
**For model selection:**
- Set `model:` to your preferred AI model
- Configure `weak-model:` for faster operations
- Set `editor-model:` for code editing tasks
**For API authentication:**
- Add API keys directly or use environment variables
- Configure `openai-api-base:` for custom endpoints
- Use `api-key:` for provider-specific keys
**For git integration:**
- Enable/disable `auto-commits` for automatic commits
- Configure `attribute-author` and `attribute-committer`
- Set `subtree-only: true` to limit scope to current directory
**For linting and testing:**
- Define `lint-cmd:` for your languages
- Set `test-cmd:` for your test runner
- Enable `auto-lint` and `auto-test` as needed
4. **Set up environment variables** (optional)
- Create a `.env` file in your git root for API keys
- Reference it with `env-file: .env`
- Use `set-env:` to configure API settings
5. **Test the configuration**
- Run `aider` in your project directory
- Verify settings with `aider --verbose`
- Check model selection with `/model`
**Minimal configuration for OpenRouter:**
```yaml
model: openrouter/anthropic/claude-3.5-sonnet
subtree-only: true
auto-commits: true
vim: true
```
**Configuration for team projects:**
```yaml
model: gpt-4o
weak-model: gpt-4o-mini
auto-lint: true
lint-cmd:
- "python: ruff check --fix"
- "typescript: eslint --fix"
test-cmd: npm test
auto-test: false
attribute-co-authored-by: true
```
**Configuration with custom colors:**
```yaml
model: claude-3-5-sonnet-20241022
dark-mode: true
user-input-color: "#00ff00"
assistant-output-color: "#00aaff"
code-theme: monokai
show-diffs: true
```
After creating your config file:
1. Run `aider --verbose` to see which settings are active
2. Use `aider --show-prompts` to verify model configuration
3. Check `aider --help` to see all available options
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-template-ooazdx/raw