From synapse-review
Bridge for calling Codex and Cursor from Claude Code. Provides MCP call format and shell fallbacks. Use when you need to delegate work to Codex or Cursor, or when plan-review/plan-execute/code-review need to invoke external agents.
How this skill is triggered — by the user, by Claude, or both
Slash command
/synapse-review:codex-bridgeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provides two methods for Claude Code to call Codex and Cursor: MCP (preferred) and Shell fallback.
Provides two methods for Claude Code to call Codex and Cursor: MCP (preferred) and Shell fallback.
Use the codex MCP tool with these parameters:
| Parameter | Required | Description |
|---|---|---|
PROMPT | Yes | The instruction/prompt to send to Codex |
cd | Yes | Working directory for Codex to operate in |
sandbox | No | "read-only" for review, "workspace-write" for execution |
return_all_messages | No | true to get full conversation history |
SESSION_ID | No | Reuse to continue a previous conversation |
Tool: mcp__codex__codex
PROMPT: "Review this code for security issues..."
cd: "/path/to/project"
sandbox: "read-only"
return_all_messages: true
Tool: mcp__codex__codex
PROMPT: "Implement the authentication module as specified..."
cd: "/path/to/project"
sandbox: "workspace-write"
return_all_messages: true
Save the SESSION_ID from the first response. Pass it in subsequent calls to continue the conversation (e.g., for fix instructions after a failed review).
When MCP is unavailable, use the shell scripts in this plugin's scripts/ directory.
bash <plugin-scripts-dir>/ask_codex.sh "<prompt>" <sandbox-mode> "<working-dir>"
Arguments:
prompt (required): The instruction to sendsandbox-mode (optional): read-only or workspace-write (default: read-only)working-dir (optional): Directory to run in (default: current directory)bash <plugin-scripts-dir>/ask_cursor.sh "<prompt>" "<working-dir>"
Arguments:
prompt (required): The instruction to sendworking-dir (optional): Directory to run in (default: current directory)Before calling MCP, you can check availability:
claude mcp list 2>/dev/null | grep codex
If the codex MCP is not listed, fall back to shell scripts.
| Agent | Role in Synapse Workflow |
|---|---|
| Claude Code | Orchestrator — plans, reviews, adjudicates, commits |
| Codex | Executor/Reviewer — generates code, adversarial review |
| Cursor | Alternative executor — works in worktrees independently |
To install Codex MCP (one-time):
claude mcp add codex -s user --transport stdio -- uvx --from git+https://github.com/GuDaStudio/codexmcp.git codexmcp
To verify:
claude mcp list
npx claudepluginhub chosenx-gpu/synapse --plugin synapse-reviewCoordinates Claude with OpenAI Codex via MCP for paired coding, code review, and parallel implementation. Three collaboration modes: Solo+Review (Claude implements, Codex reviews), Sequential (Claude designs, Codex implements+tests), and Parallel (simultaneous work on separate files). Requires codex MCP server setup.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.