Skip to content

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

@Kl-11

Description

@Kl-11

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureUser RequestappIssues related to the Codex desktop appcode-reviewIssues relating to code reviews performed by codexenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions