
Two mods for Claude Code
Let Claude use Codex’s computer controls. Give one chat a team of real Claude sessions.
This is the source behind the two mods in the video. Take the working pieces, understand how they fit together, and adapt them to your setup. The complete build prompts are included, so you can also ask Claude to rebuild or extend them.
Start here · Quick-start PDF · Install · Try the demos · How it works · Troubleshooting
| Computer Use | Threads |
|---|
| Claude decides what to do. Codex’s local controls click and type in your Mac apps. | Your lead chat starts separate Claude sessions on the models you choose. |
| Per-app approval panel, saved choices, on/off command. | Live status, messages, returned answers, sequential plans and separate project copies. |
| Start with Calculator → TextEdit. | Start with two read-only helpers in a scratch project. |
| Build prompt · Source | Build prompt · Source |
Pick your starting point
I want to understand it. Read How it works. No installation needed. The interactive prompt breakdown is another way to explore the build prompts.
I want the existing mods. Check the requirements below, download or clone this repository, then follow Install. The included setup script checks your machine before it changes anything.
I want to build my own version. Give Claude one of the complete prompts. Ask it to inspect the tools your installation actually provides, build one piece at a time, and show each test. These prompts capture the lessons from an iterative build, not a guarantee of a one-shot result.
Before you install
This is an unofficial, experimental integration, captured on 5 October 2026. It needs the mod-enabled Claude Code runtime, including the claude-code hook API. A regular plugin installation without that API is not enough.
- Both mods: Claude Code with working mod support. Local tests were run with CLI 2.1.289.
- Computer Use: macOS, the ChatGPT Mac app at its expected installation path, and Codex computer use already set up locally. The proprietary computer-use runtime is not included.
- Threads:
tmux, a signed-in Claude terminal session and a trusted working folder. Desktop sidebar access depends on Remote Control availability for your account.
- Setup helper: Python 3. The computer-use bridge uses the Node runtime shipped inside the ChatGPT app.
No extra API key is required by this code. Your existing account access, usage limits and provider terms still apply. The cost shown by Threads is an API-equivalent estimate, not your bill.
Install, then prove one small thing
From a permanent copy of this repository:
python3 scripts/setup.py
That only checks prerequisites and prints the planned commands. If the checks pass, read the installation notes, then run:
python3 scripts/setup.py --apply
Open a new Claude Code chat afterward. In that chat:
/codex-cu status
/threads setup
Then use the exact Calculator → TextEdit prompt or the two-helper prompt. The full demo checklist tells you what success looks like.
Permissions are part of the setup. Computer Use starts with no shared app approvals and auto-approve off. Threads preserves the filmed bypassPermissions default for new sessions. For a more restrictive mode, run /threads mode default before starting helpers. Use a disposable project for your first run.
What is actually inside
plugins/
codex-computer-use/ The routing tool, commands and approval panel
threads/ The lead chat, sessions, panel, plans and tests
bridge/
launch.mjs Starts the installed Codex computer-use server
daemon.mjs Keeps connections open and handles app approvals
prompts/ Complete build prompts and copy-ready demos
scripts/setup.py Read-only checks, then explicit installation
examples/ A small project for the Threads demo
Your login, app approvals, chat history and personal files do not come with this repository. The setup creates new empty approval settings on your machine. See privacy and permissions for what the mods read and save once running.
The controls you will use