tomzhu0225

Agent Session Relay — Development skill for Claude Code

Development community

Resume local coding-agent sessions across Codex, Grok, and Claude Code.

How to install Agent Session Relay

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

What Agent Session Relay does

Resume local coding-agent sessions across Codex, Grok, and Claude Code.

Alternatives in Development

  • Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★
  • Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★

README

Agent Session Relay

`relay` browses local coding-agent histories, shares applicable skills, and resumes a selected session with Codex, Grok, Claude Code, Antigravity CLI (`agy`), or a compatible custom target. It never requires the source agent to prepare a handoff.

The current MVP was built and tested against:

  • Codex CLI 0.149.0
  • Grok Build 1.0.4
  • Claude Code 2.1.220
  • Antigravity CLI (agy) 1.1.20
  • Python 3.12 (Python 3.10 or newer is supported)

It has no third-party Python dependencies.

Agent Session Relay is an independent, unofficial project and is not affiliated with OpenAI, xAI, Anthropic, or Google. CLI history formats are vendor-controlled and may change; version compatibility is tested rather than guaranteed.

Install

With `pipx`:

pipx install git+https://github.com/tomzhu0225/agent-session-relay.git

With `uv`:

uv tool install git+https://github.com/tomzhu0225/agent-session-relay.git

Or from a checkout:

git clone https://github.com/tomzhu0225/agent-session-relay.git
cd agent-session-relay
python3 -m pip install --user .

Relay is currently intended for POSIX environments, including Linux, WSL, and macOS. Python 3.10 or newer is required.

Quick start

relay setup
relay skills sync
relay agents
cd /path/to/project
relay sessions
relay resume

The setup is deliberately small enough to do manually. On a machine with several agents, custom homes, or existing skill collections, using a coding agent to inspect and configure Relay is convenient. See [Agent-assisted setup](docs/agent-assisted-setup.md) for a bounded prompt that does not let the installer modify histories or overwrite skill conflicts.

`relay resume` lists sessions for the current Git worktree, newest first. Its `Last agent` column distinguishes standard Codex (`codex-native`) from configured wrappers such as `codex-glm`. Relay uses the latest provider metadata in Codex history and retains the selected target for native resumes