検証: OpenAI公式Claude Codeプラグインの中身を読む — CodexはJSON-RPCで呼ばれていた

00:01:49 ・ source: https://zenn.dev/mskbhd/articles/lab-029-openai-claude-code

Transcript

hostenToday we verify: OpenAI released an official Claude Code plugin that runs Codex inside Claude.
guestja今日は、OpenAIが公式のClaudeプラグインを出して、Claude Code内でCodexを動かしているという話を検証していきます。
hostenThe plugin isn't just UI—it's actually three layers: Markdown instructions, a Node CLI, and JSON-RPC calls to Codex's app-server.
guestjaこのプラグインは、Markdownの指示書、Node CLIコマンド、そしてCodexのサーバーとJSON-RPCで通信する3層構造になっているんです。
hostenThe original tweet claimed 'just shipped' with 22,700 stars, but the repo was actually created in March—three months earlier.
guestja元のツイートは『つい先ほど公開』と言ってたんですが、実際には3月末のリリースで、ツイート時点で既に3ヶ月前だったんです。
hostenInterestingly, the rescue subagent explicitly uses Anthropic's Sonnet model, not OpenAI's—and that decision is intentional in the code.
guestja興味深いのは、リスキューを担当するサブエージェントが、OpenAIのモデルではなくAnthropicのSonnetを指定していることです。
hostenWhen tested headless without authentication, the JSON-RPC layer worked perfectly—only the final OpenAI API call failed with 401.
guestjaログインなしでコマンドラインから直接実行してみたところ、JSON-RPCの層は完全に動作して、最後のOpenAI API呼び出しだけが認証エラーで失敗しました。
hostenSo the plugin is really Anthropic's Claude being orchestrated by OpenAI's carefully-designed prompts—a fascinating reversal.
guestjaつまり、このプラグインはOpenAIの精密に設計されたプロンプトでAnthropicのClaudeを操る、という興味深い関係になってるわけです。