aider-clilisted
Install: claude install-skill afkbot-io/afkbotio
# aider-cli
Use this skill when AFKBOT should drive the external `aider` CLI through `bash.exec`.
## Default mode
- Prefer one-shot automation:
- `aider --message "<prompt>" <files...>`
- `aider --message-file <file> <files...>`
- Run aider from the target git repository.
- Default to `--no-auto-commits` unless the user explicitly asked aider to commit.
- Use `--dry-run` when the user asked only for a preview or planning run.
## What to pass
Build each `bash.exec` command from these inputs:
1. model:
- `--model <provider/model-or-alias>`
2. authentication:
- provider env vars or `--api-key provider=value`
3. task:
- `--message "<prompt>"` or `--message-file <path>`
4. scope:
- explicit file paths at the end of the command
5. safety controls:
- `--no-auto-commits`
- `--dry-run`
- `--yes` only when the user clearly approved unattended execution
## Common commands
```bash
aider --version
aider --model o3-mini --api-key openai="$OPENAI_API_KEY" --no-auto-commits --message "Refactor this parser" src/parser.py
aider --model sonnet --api-key anthropic="$ANTHROPIC_API_KEY" --dry-run --message "Review this module and propose fixes" src/service.py
aider --model openrouter/anthropic/claude-3.7-sonnet --api-key openrouter="$OPENROUTER_API_KEY" --message-file prompt.txt src/
```
## Installation
Official aider docs describe several supported installation paths:
```bash
curl -LsSf https://aider.chat/install.sh | sh
uv tool install --force --python python3.