promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Aider

/ok

Shorthand to confirm proposed changes in code mode.

/ok is shorthand for '/code Ok, please go ahead and make those changes.'. Any extra text typed after it is appended to that prompt.

โœ… WHEN TO USE IT?

Quickly approve a proposal from an ask/architect discussion

/ok โ€” instead of typing out the whole confirmation sentence yourself

โ›” WHEN NOT TO?

You still want to add change requests, not just agree

/ok only appends your text to a fixed agreement sentence, it doesn't replace a precise instruction of your own.

Better: Use /code <your own, concrete instruction>

SOURCES