By evgenygurin
Marketplace for codex-bridge — delegates research and documentation tasks to OpenAI Codex CLI
npx claudepluginhub evgenygurin/codex-bridgeDelegates research and documentation tasks to Codex CLI, freeing the orchestrator's context window.
Claude Code plugin that delegates research and documentation tasks to Codex CLI, freeing the orchestrator's context window.
/codex <prompt> — run a read-only task via Codex CLI/codex-research <question> — deep codebase research (read-only)/codex-docs <file> <instructions> — update documentation (writable)/codex-collab <task> — start a research → implement → verify collaboration flow with the codex-collab skillcodex-researcher subagent automatically delegates qualifying taskscodex-collab skill — auto-activating methodology for Claude-Code ↔ Codex collaboration on non-trivial featuresclaude plugin add evgenygurin/codex-bridge
$PATHThe plugin provides a thin FastMCP server with three MCP tools:
| Tool | Mode | Use case |
|---|---|---|
codex_run | read-only | General Codex CLI tasks |
codex_research | read-only | Deep research with file references |
codex_update_docs | writable (full-auto) | Documentation updates |
Each tool invokes Codex CLI via asyncio.create_subprocess_exec (no shell=True) with configurable model and timeout. The writable tool (codex_update_docs) requires that file_path points to an existing file and scopes Codex to the file's containing git repo (or its parent directory).
Since v0.2.0 all three tools are registered as FastMCP background tasks (task=True, mode='optional'). They stream Codex output event-by-event through the executor's stream_run() async generator, mirroring each agent message, reasoning step and tool call to the MCP client via Context.info() / Context.debug() log notifications and Progress.set_message() updates.
Clients can call the tools in two ways:
result, session_id, usage. Streaming still runs under the hood; clients that subscribe to log notifications see live output.task=True on the client side. The call returns immediately with a task id; the orchestrator keeps working while Codex runs in a pydocket worker, and can poll status updates or await the final result later.Background-task support requires fastmcp[tasks]>=3.2 (pulled in automatically by this plugin's dependencies).
# Install dependencies
uv sync --group dev
# Run tests
uv run pytest
# Lint
uv run ruff check .
# Start MCP server locally (stdio)
uv run python -m runner
commands/ — slash commands (/codex, /codex-research, /codex-docs, /codex-collab)
agents/ — subagent (codex-researcher)
skills/ — auto-activating skills
codex-collab/ — research → implement → verify collaboration methodology
runner/ — FastMCP server + Codex CLI executor
server.py — 3 MCP tools
executor.py — async subprocess runner (sync `run` + streaming `stream_run`)
_pathfix.py — PYTHONPATH sanitizer for pyenv/uv environments
tests/ — executor (incl. stream_run), server, pathfix, scaffold
.claude-plugin/ — plugin manifest + marketplace metadata
.mcp.json — MCP server discovery
7-day visitors to each marketplace page
Knowledge graph and codebase architecture intelligence for AI coding assistants
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Context7 plugins for coding agents.