Slash Commands

Slash Commands

Powerful In-Chat Controls

Essential Commands

File Management

  • /add file.py - Add a file to the chat
  • /drop file.py - Remove a file from the chat
  • /ls - List all known files

Chat Modes

  • /ask - Discuss code without making changes
  • /code - Make changes to your code (default mode)
  • /architect - Use two models: one to plan, one to implement

Git Integration

  • /diff - Show changes since last message
  • /undo - Revert the last change
  • /commit - Commit pending changes

Utilities

  • /run command - Execute a shell command
  • /test - Run tests and fix failures
  • /model modelname - Switch to a different LLM
  • /help topic - Get help on using Aider
6 | 9