Streamlined Aider setup with Claude Haiku 4.5 via OpenRouter for efficient AI-assisted coding with optimized map tokens and git attribution.
This skill configures Aider to use Claude Haiku 4.5 through OpenRouter for AI-assisted coding sessions with optimized settings for performance and git workflow.
Sets up Aider with Claude Haiku 4.5 across all model tiers (main, editor, and weak models) for consistent behavior. Optimizes map tokens for better context management and configures git integration with proper attribution.
**Model Configuration:**
**Performance Tuning:**
**Git Integration:**
**UX Preferences:**
**Context Management:**
Create an `.aider.conf.yml` file in your project root with this configuration:
```yaml
model: openrouter/anthropic/claude-haiku-4.5
editor-model: openrouter/anthropic/claude-haiku-4.5
weak-model: openrouter/anthropic/claude-haiku-4.5
map-tokens: 2048
auto-commits: false
dirty-commits: false
attribute-author: true
attribute-committer: true
git: true
gitignore: false
dark-mode: true
pretty: true
stream: true
read: AGENTS_SUMMARY.md
chat-language: english
commit-language: english
cache-prompts: true
cache-keepalive-pings: 3
notifications: false
```
Ensure you have:
1. OpenRouter API key configured in your environment
2. `AGENTS_SUMMARY.md` file in your project root (or remove the `read` line)
3. Git repository initialized
Then run `aider` in your project directory. The configuration will be automatically loaded.
**To use different models:** Replace `openrouter/anthropic/claude-haiku-4.5` with your preferred model identifier
**To adjust context window:** Modify `map-tokens` value based on your codebase size (higher = more context, higher cost)
**To enable auto-commits:** Set `auto-commits: true` if you prefer automatic git commits after each change
**To add more context files:** Extend the `read` line with comma-separated file paths
This configuration prioritizes manual control over automation, making it ideal for developers who want to review changes before committing. The Claude Haiku model provides a good balance of speed and capability for most coding tasks.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-claude-haiku-configuration/raw