From rafayels-engineering
Delegate coding tasks to the OpenAI Codex CLI agent. Use when the user explicitly asks to use Codex, for quick code generation spikes, or when parallelizing implementation work across multiple AI agents.
npx claudepluginhub rafayelgardishyan/rafayels-engineeringThis skill uses the workspace's default tool permissions.
Use the Codex Bridge MCP server to hand off coding tasks to OpenAI Codex.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Use the Codex Bridge MCP server to hand off coding tasks to OpenAI Codex. This enables Claude and Codex to communicate: Claude delegates, Codex executes, and Codex returns structured results so Claude can review, iterate, or ship.
delegate_coding_taskPrimary tool for implementation work.
{
"task_description": "Implement a retry wrapper around fetch with exponential backoff",
"working_directory": ".",
"file_paths": ["src/api/client.ts"],
"context": "Use the existing logger in src/utils/logger.ts",
"full_auto": true,
"sandbox_mode": "workspace-write"
}
Response fields:
status: success, error, or needs_approvalfinal_message: Codex's summary of what it didfile_changes: List of files Codex touchedevents: Structured JSONL events from Codex (last 50)approval_requests: Any prompts Codex emitted (rare in full-auto mode)codex_review_codeAsk Codex to review specific files or the whole repo.
{
"file_paths": ["src/auth/middleware.ts"],
"review_focus": "Check for timing attacks and secure session handling"
}
codex_answer_questionNon-mutating Q&A. Great for quick clarifications.
{
"question": "What is the difference between these two patterns in this codebase?",
"file_paths": ["src/pattern-a.ts", "src/pattern-b.ts"]
}
This is bidirectional: Codex's output becomes part of Claude's context, and Claude can follow up with refined prompts or additional tasks.
file_paths so Codex knows what to readfull_auto: true for autonomous coding; set to false only if you want Codex to pause for approvalsfile_changes in the response before telling the user it's done// 1. Delegate implementation
MCP({
server: "codex-bridge",
tool: "delegate_coding_task",
arguments: {
task_description: "Add input validation to the signup form using zod",
file_paths: ["app/routes/signup.tsx"],
context: "Follow the validation pattern used in app/routes/login.tsx"
}
})
// 2. Review what Codex changed
// (file_changes will list modified files)
// 3. If needed, follow up with fixes
MCP({
server: "codex-bridge",
tool: "delegate_coding_task",
arguments: {
task_description: "Also add a unit test for the email validation schema",
file_paths: ["app/routes/signup.tsx", "app/lib/validation.test.ts"]
}
})