Code Review
User wants an external AI agent to review code.
Instructions
- •
Parse the user's input to extract:
- •agent: the agent to use (
codex,gemini, orcopilot) - •focus (optional):
bugs,security,performance, orclarity - •If no agent is specified, ask the user which agent to use
- •agent: the agent to use (
- •
Gather the code to review:
- •If the user referenced a specific file, read it and use as the
codeparameter - •If code was provided inline in the conversation, use that
- •If no code context is available, ask the user what code to review
- •If the user referenced a specific file, read it and use as the
- •
Call the MCP tool
mcp__all-agents-mcp__review_codewith:- •
agent: target agent ID - •
code: the code content to review - •
filePath(optional): the file path for context - •
focus(optional): specific review focus area
- •
- •
Display the review result as-is.
Examples
- •
/all-agents-mcp:review codex security— review current code with Codex focusing on security - •
/all-agents-mcp:review gemini— general review with Gemini