Advanced Aider setup with multi-model routing, auto-linting, Vim mode, and file watching for power users
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.
Advanced Aider configuration optimized for professional development workflows with multi-model support, automatic linting, and productivity features.
This configuration sets up Aider with:
1. **Create the configuration file** at `~/.aider.conf.yml` (or `.aider.conf.yml` in your project root):
```yaml
dark-mode: true
model: gemini
editor-model: gemini
weak-model: flash
vim: true
watch-files: true
lint-cmd:
- "cpp: gccdiag"
- "c: gccdiag"
auto-lint: true
notifications: true
alias:
- "deepseek:openrouter/deepseek/deepseek-chat-v3-0324"
- "flash:openrouter/google/gemini-2.0-flash-001"
- "gem:openrouter/google/gemini-2.5-pro-preview-03-25"
- "gemini:openrouter/google/gemini-2.5-pro-preview-03-25"
- "r1:openrouter/deepseek/deepseek-reasoner"
- "claude:openrouter/anthropic/claude-3.7-sonnet"
- "sonnet:openrouter/anthropic/claude-3.7-sonnet"
- "freeseek:openrouter/deepseek/deepseek-chat-v3-0324:free"
- "flashlite:openrouter/google/gemini-2.0-flash-lite-001"
- "freegem:openrouter/google/gemini-2.5-pro-preview-03-25:free"
- "r1f:openrouter/deepseek/deepseek-r1:free,openrouter/deepseek/deepseek-r1"
- "optimus:openrouter/openrouter/optimus-alpha"
- "deepcoder:lmstudio/agentica-org_deepcoder-14b-preview@q6_k_l"
- "qwen:lmstudio/qwen2.5-coder-32b-instruct"
```
2. **Set up OpenRouter API key**:
```bash
export OPENROUTER_API_KEY="your-key-here"
```
3. **Install linting tools** (for C/C++ auto-lint):
```bash
brew install gcc
sudo apt-get install gcc g++
```
4. **Launch Aider**:
```bash
aider
```
5. **Switch models on the fly** using aliases:
```
/model claude # Switch to Claude 3.7 Sonnet
/model r1 # Switch to DeepSeek R1 (reasoning model)
/model flash # Switch to Gemini Flash (fast/cheap)
```
Quick shortcuts for switching between models without typing full provider paths:
Automatically runs `gccdiag` on C/C++ files after edits to catch compilation errors immediately.
Full Vim keybindings for navigation and editing within the Aider interface.
Automatically detects when files are modified externally and reloads them in the session.
**Change primary model:**
```yaml
model: claude # or deepseek, r1, etc.
```
**Add your own alias:**
```yaml
alias:
- "mymodel:openrouter/provider/model-name"
```
**Add linting for other languages:**
```yaml
lint-cmd:
- "python: flake8"
- "javascript: eslint"
```
**Disable Vim mode:**
```yaml
vim: false
```
1. Use `flash` (Gemini Flash) for quick iterations, then switch to `gemini` or `claude` for complex refactoring
2. Use `r1` (DeepSeek Reasoner) for algorithmic problems or debugging logic
3. Combine with `/architect` mode for larger architectural changes
4. The `weak-model` setting uses a cheaper model for simple operations like code completion
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/production-aider-configuration/raw