# How to let Claude Code write the code and Codex review it, in one app

> In HB Code a Claude Code session can send its change to a Codex session for a review, and the review comes back in the Claude thread. No copy and paste.

Sessions in HB Code can message each other. Ask Claude Code to send its change to a Codex session for a review. That's a second pair of eyes from another model. Codex reads the files in the same project, and its answer lands in the Claude thread.

HB Code is a desktop app for Mac and Windows. It runs Claude Code and Codex on your own computer with your own Claude and ChatGPT plans.

Updated November 20, 2026

## Steps

1. Press Add project in the sidebar. Choose the project folder.
2. Press New session. Choose Claude. Press Start Claude session. This session writes the code.
3. Press New session again. Choose Codex. Press Start Codex session. This session does the review.
4. To see both threads at once, press Open session in new window on one of the sessions.
5. Give Claude the task. End it with a line like this: When you're done, send the change to the Codex session for a review and ask it to send the review back.
6. The Claude thread shows a row Message to with the name of the Codex session. Codex starts a turn with the message.
7. The review arrives in the Claude thread as a row Message from. If Claude still runs, the review joins the running turn. If not, it starts a new turn.
8. If the review waits in the queue of the Claude session, press Send now.

## Notes

- Codex can't see the Claude conversation. The message must say what changed and why. The files Codex reads itself, in the project.
- A review comes back only when Codex sends one. HB Code doesn't wait for an answer.
- A message waits for you when the receiving session has more access than the sending one. With the starting levels, Auto mode for Claude and Full auto for Codex, the review from Codex waits until you press Send now in the Claude session.
- It works the other way round too. Codex can write and Claude can review.
- Two agents can keep going back and forth. Say in the task how many rounds of review you want.
- The iPhone and Android apps show the same message rows, and Send now.

## Questions

### Can Codex review what Claude Code wrote without copy and paste?

Yes. Claude sends the message to the Codex session with HB Code's session message tool. You only ask for it in the task.

### Is there a review button?

No. You ask the writing agent in plain words. A Codex session also has the /review command for a review of the uncommitted changes.

### Do both sessions need the same project?

A session can send to any session on the same desktop. For a review, start both in the same project folder, so that Codex reads the same files.

### Can I put both chats side by side in one window?

Not in one window. Open one session in a window of its own and put the two windows next to each other.

### Which plan pays for the review?

Each run uses its own agent account. The Claude turn uses your Claude plan and the Codex review uses your ChatGPT plan.

## Details in the handbook

- [Messages between sessions](https://www.hbcode.ai/docs/message-delivery.md#session-messages): Message delivery: outbox, turn, history
- [Messages to another session](https://www.hbcode.ai/docs/tools/agent-tools.md#session-messages): Documents, speech, video, alerts, sessions, and session messages
- [Projects, worktrees, and sessions](https://www.hbcode.ai/docs/architecture.md#sessions): Process boundaries

## Guides

- [How to check usage limits and use more than one account](https://www.hbcode.ai/claude-code-usage-limits.md)
- [How to check what Claude Code or Codex did](https://www.hbcode.ai/claude-code-ui.md)
- [How to run several Claude Code and Codex sessions](https://www.hbcode.ai/claude-code-sessions.md)
- [How to use Claude Code or Codex on your phone](https://www.hbcode.ai/claude-code-mobile.md)
- [How to see what the subagents of Claude Code do](https://www.hbcode.ai/claude-code-subagents.md)
- [How to try Claude Code and Codex on the same task](https://www.hbcode.ai/claude-code-vs-codex.md)
- [How to run Codex in a desktop app on Mac and Windows](https://www.hbcode.ai/codex-desktop-app.md)
- [How to switch Claude Code and Codex accounts without logging out](https://www.hbcode.ai/switch-claude-code-codex-accounts.md)
- [How to use Claude Code and Codex on Windows](https://www.hbcode.ai/claude-code-windows.md)
- [How to use Claude Code and Codex from an Android phone](https://www.hbcode.ai/claude-code-android.md)
- [How to run Claude Code in a desktop app on Mac and Windows](https://www.hbcode.ai/claude-code-desktop-app.md)
- [How to get a phone alert when Claude Code or Codex needs you](https://www.hbcode.ai/claude-code-notifications.md)
- [How to continue a Claude Code terminal session on your phone](https://www.hbcode.ai/claude-code-resume-session.md)
- [How to keep your computer awake while Claude Code or Codex works](https://www.hbcode.ai/claude-code-keep-computer-awake.md)
- [How to monitor your Claude Code and Codex usage over time](https://www.hbcode.ai/claude-code-usage-monitor.md)
- [Download HB Code](https://www.hbcode.ai/downloads)
