Opal Bridge — Development skill for Claude Code
Cross-agent session translator (Claude Code <-> Codex CLI).
How to install Opal Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 1va7/opal-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opal Bridge does
Cross-agent session translator (Claude Code <-> Codex CLI).
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
- Storybloq — Cross-session context for Claude Code 696 ★
README
opal-bridge
Part of [**OPAL**](https://github.com/1va7/opal) (**O**pen **P**ortable **A**ctivity **L**ayer) — the cross-agent CLI session translator subsystem.
**main after v0.6.0** — title sync across CC↔Codex twins, Codex picker/search DB title fixes, no duplicate files on rename. See [CHANGELOG.md](CHANGELOG.md) for full version history.
跨 agent 的 session 翻译与 resume 桥。
要解决的问题
不同 agent harness(Claude Code / Codex / Hermes / 公司内部 agent)各自把 session 存成自己的 jsonl 格式,且 tool schema 互不兼容。导致一个项目在某一个 agent 里做到一半,无法在另一个 agent 里 `--resume` 接着干,只能把人工摘要重新粘进去。
方案
中间走 canonical session format,每个 agent 配一对 adapter:
ingest: 该 agent 的 session jsonl → canonicalrender: canonical → 该 agent 可被--resume加载的 session 文件
Quick start
# 安装
python3 -m venv .venv && .venv/bin/pip install -e .
# 列出最近的 CC session
.venv/bin/python -m agent_bridge.cli list -n 10
# 双向翻译 + 一键 smoke 验证
# CC → Codex:
.venv/bin/python -m agent_bridge.cli smoke \
~/.claude/projects//.jsonl \
--prompt "Reply with: WORKS"
# Codex → CC:
.venv/bin/python -m agent_bridge.cli smoke --from codex \
~/.codex/sessions/YYYY/MM/DD/rollout-...UUIDv7.jsonl \
--prompt "Reply with: WORKS"
# 仅翻译(不 smoke),双向都支持:
.venv/bin/python -m agent_bridge.cli translate \
--from claude-code --to codex \
--subagent-strategy inline \
~/.claude/projects//.jsonl
.venv/bin/python -m agent_bridge.cli translate \
--from codex --to claude-code \
~/.codex/sessions/YYYY/MM/DD/rollout-...UUIDv7.jsonl
# 拿到结果后直接复制粘贴对应 resume 命令:
codex exec resume "你的新指令" # 翻成 Codex
claude --resume -p "你的新指令" # 翻成 CC(在原 cwd 下)
# 历史补同步 / 修复旧的短镜像:
.venv/bin/python -m agent_bridge.cli sync \
--direction both --days 365 --include-active --force
当前能力(main after v0.6.0)
✅ **双向翻译 + 自动镜像 + 共享标题** — 完整版本历史见 [CHANGELOG.md](CHANGELOG.md)
- 双向 CC ↔ Codex:live
claude --resume/codex resume都验证通过 - 共享标题:在
Related Skills
All Agent Shared Memory
Zero-dependency cross-agent memory + session bridge for Claude Code, Codex, opencode and ZCode: one auditable
Do SOUL Alaya
The local-first memory plane for CLI coding agents. Codex and Claude Code attach via MCP; SQLite-backed, evide
/sync-agents-md - Regenerate AGENTS.md From CLAUDE.md
Synchronize AGENTS.md with current CLAUDE.md using the codex-cli-bridge skill. ---
Claude Codex Nebius Proxy
A Claude Code + Codex CLI → Nebius bridge. Accepts Claude /v1/messages and Codex /v1/responses requests, conve
Cos Codex Bridge
Local MCP for Chief of Staff agents to run Codex and Claude Code CLI project sessions with scoped access and d
Hadamard
Hadamard is an independent, experimental agent for practical multi-tool, multi-session, and bridge-assisted ag
Related Agents
Codex Bridge
把指定工作外包給 gpt-5.5(codex)並忠實回傳其輸出。當需要 gpt-5.5 的批量實作或獨立第二審查視角時使用。這是 plugin 內第三種 codex 路徑:一次性 codex exec CLI 呼叫、輸出
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.