Expose built-in slash commands like /review to agent tool calls and sub-agents

Resolved 💬 2 comments Opened Mar 19, 2026 by Kl-11 Closed May 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

App

What feature would you like to see?

Codex desktop exposes a built-in Code review slash command in the UI, but agents cannot invoke that same built-in review workflow programmatically.

Current gap:

user can run /review manually
agent cannot call /review
spawned sub-agents cannot be told to run the built-in /review
the only workaround is to ask an agent to do a manual review, which is not necessarily the same as the built-in review flow
Requested:

expose built-in slash commands, especially /review, through the agent tool/runtime interface
ideally allow sub-agents to run the real built-in review flow, optionally with a model override
Important point:

this should trigger the actual built-in /review implementation, not a prompt approximation, so agent automation matches product behavior exactly
This would make it possible to automate real review loops:

implement
run built-in review
address findings
re-run review
merge

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13163

Powered by Codex Action

etraut-openai contributor · 3 months ago

This feature request hasn't received enough upvotes, so I'm going to close it.