stokaro

Codex Claude Peer — Communication skill for Claude Code

Communication community

Local Codex and Claude Code peer messaging over Unix sockets, with a session relay, skill, protocol, and tests.

How to install Codex Claude Peer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open stokaro/codex-claude-peer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codex Claude Peer does

Local Codex and Claude Code peer messaging over Unix sockets, with a session relay, skill, protocol, and tests.

Alternatives in Communication

  • Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
  • MulmoChat — Research prototype for chat that is not a text stream: keep talking while images, maps and playable games appe 176 ★
  • Pokegents — Pokegents is a local, Pokémon-inspired dashboard that turns Claude Code and Codex sessions into a local team d 95 ★

README

Codex ↔ Claude peer relay

A small local bridge between a Codex conversation and a Claude Code session. Codex can discover and message live Claude agents. Claude can reply to the current Codex thread through a Unix socket. The relay runs in a background command session, not as a system service.

The repository contains a [Codex skill](claude-peer/SKILL.md), a dependency-free [Python CLI](claude-peer/scripts/peer.py), [unit tests](tests/), and a [protocol reference](claude-peer/references/protocol.md).

Why

Codex and Claude Code can work on related tasks in separate conversations. An agent may need a finding, status update, or API decision from the other. The relay lets them ask and answer directly while keeping each conversation and its task ownership intact. Several Codex threads can have separate relays.

A peer message is still external data. The receiving agent checks its claims and follows the user's instructions.

Try it

Tested with

A live exchange on November 15, 2026 used:

  • macOS 26.5 and Python 3.15.0;
  • Codex CLI 0.167.0 from the @openai/codex npm package, run through Volta;
  • a Claude Code session advertising version 2.1.322.

The relay script in this repository sent to that Claude session and received a reply after rejecting a malformed authentication frame. CI also runs the unit tests on Ubuntu and macOS with Python 3.11 and 3.13. Those CI runs do not start Claude Code.

Install the tested CLI versions using the official [Codex](https://github.com/openai/codex#readme) and [Claude Code](https://code.claude.com/docs/en/setup) instructions. Their installers accept version pins:

npm install -g @openai/codex@0.167.0
curl -fsSL https://claude.ai/install.sh | bash -s 2.1.322

Claude Code documents its inbox socket, but the relay also depends on internal session-registry and peer-key file conventions. A version number alone does not guarantee that the bridge works in every build or configuration. Check both CLIs before trying the b