Original Reddit post

Is there a way to queue slash commands in Claude Code CLI so that they are executed sequentially, with each command starting only after the previous one has finished? I’d like to do something roughly like this: /code-review … /clear /simplify … /clear /security-review … /clear … Ideally, I could submit the whole sequence at once and have Claude Code execute each command one after another. Is this currently possible, or is there a way to achieve something similar? submitted by /u/MapleStreetOne

Originally posted by u/MapleStreetOne on r/ClaudeCode