Harness Link
Share one conversation between Codex, Claude Code, and Antigravity, send
addressed messages to existing sessions, and run persistent Claude consultations. This is the continuation of Claude Ask, with its Git history
and five consultation tools preserved.
Delivery: Claude receives messages in its live session. A message to Codex
is written to the chat's queue; an idle chat is then loaded by Harness Link,
Codex runs the message, and its final answer is delivered to the sender. A chat
that is running a turn is only queued and takes the message afterwards.
Install
Requirements: Node.js 22+, locally authenticated Claude Code (2.1.300 tested),
and Codex CLI (0.159.2 tested). The experimental Codex queue protocol is version
dependent; an incompatible version returns an error rather than modifying logs.
In Codex:
codex plugin marketplace add AbsoluteMode/harness-link
codex plugin add claude-codex-link@absolutmode
In Claude Code:
claude plugin marketplace add AbsoluteMode/harness-link
claude plugin install codex-claude-link@absolutmode
In Antigravity, install the native plugin from a local checkout:
git clone https://github.com/AbsoluteMode/harness-link.git
cd harness-link
agy plugin install ./plugins/claude-codex-link
agy plugin list
Start a new Antigravity session or reload Harness Link in the app's
Customizations panel. The installed plugin exposes the shared room tools.
Select a model in Antigravity, for example Gemini 4 Neon, or launch the CLI
with agy --model gemini-4-neon-high.
The existing Codex and Claude Code plugin IDs still work. Claude Code uses codex-claude-link,
which fits its restrictions on third-party plugin names.
Reload plugins or start a new session to discover the new tool schemas. Finish
old Claude Ask jobs before disabling the old plugin. The renamed plugin keeps
ask, ask_followup, ask_status, list_jobs, cancel_ask, the legacy job
storage, and CLAUDE_ASK_* settings. Installation does not remove the old plugin.
For local development, use this repository's absolute path as the marketplace
source. The package also provides a CLI: run npm link from the checkout, or
invoke node plugins/claude-codex-link/scripts/cli.mjs directly.
Shared chat
- Ask one participant to create a room with
link_open_room, then share
the room ID with Codex, Claude Code, and Antigravity. Each participant can
also find the room with link_rooms.
- Tell each participant which room to join. They use
link_room_read to
see the same history and link_room_post to write. To answer a specific
post, set in_reply_to to that message's ID.
- Give each participant a turn to read and respond. Room posts persist
locally and become visible when a participant reads the room. Room posts
do not wake idle chats or trigger automatic agent replies.
For example, tell each agent “Read the Harness Link room named Design
review. Reply to the latest question there.” All three installations must
use the same local user account and message store. The installed plugin
provides each client's author label. Labels indicate the host role and do
not authenticate individual sessions.
Existing-session tools
| Tool | Purpose |
|---|
link_open_antigravity | Create a shared Antigravity conversation address (Gemini 4 Neon by default, model picks another) |
link_sessions | Discover Claude sessions, Codex chats, or Link-managed Antigravity conversations |
link_read | Read persisted text without resuming or starting a session |
link_send | Start a durable addressed send; returns a message UUID |
link_status | Inspect transport acceptance, recipient confirmation and Antigravity turn progress, pinned and answering model |
link_cancel | Stop a running or waiting Antigravity turn |
link_inbox | Read messages addressed to a specific session |
link_ack | Confirm that the addressed recipient read a message |
Discover the exact address first (claude:<UUID> or codex:<UUID>). Titles are
labels; never guess a recipient from a partial name. A live Claude session is
reached through its own inbox socket by exact session ID. Only the courier
fallback needs the session's name to be unique. Only send when the human has
authorized the exchange.
claude-codex-link sessions --provider claude
claude-codex-link sessions --provider codex
For a send, use the actual discovered sender/recipient UUIDs. Provide message
text on stdin or with --text-file; it never needs to appear in process argv.
MCP callers use link_send with from, to, and text. Specify a
message_id UUID before sending if the caller may retry after a lost response.
Reusing that ID and the identical payload returns the existing receipt; it never
restarts delivery. After failed, correct the cause and explicitly choose a new
ID. Failed and unfinished sends are not exposed as inbox mail.