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

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 ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗