Let Claude Code control your Mac in the background with Codex's computer use
A developer exposed Codex's computer-use ability to other agents and plugged it into Claude Code, which has no built-in way to drive a Mac from the CLI. Claude Code can now click and type in Mac apps in the background while you keep working.
Source
@nidhisinghattri on X · 2026-10-21
Written in our own words. Credit to the original author. Link checked 2026-10-21.
What they did
A developer exposed Codex's computer-use ability to other agents and plugged it into Claude Code, which has no built-in way to drive a Mac from the CLI. Claude Code can now click and type in Mac apps in the background while you keep working.
Result (as claimed)
She shared the setup so any agent can borrow Codex's computer use.
Tools they used
Cost: Claude Code: from $17/mo; OpenAI Codex: free plan, paid from $8/mo.
Set it up
Map the task
Write the trigger, the inputs, the decisions and the output. Note which steps need a human yes.
Connect the tools
Set up Claude Code, OpenAI Codex, macOS with the narrowest permissions that work. Use a test account or sandbox first.
Build the workflow
Create the steps in order. Add an approval step before anything sends, pays or deletes.
Run it on real but low-stakes data
Run a few times, read every output, and fix prompts or rules that misfire.
Schedule and monitor
Turn on the schedule or trigger, and add a daily summary or alert so you notice failures.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Let Claude Code control your Mac in the background with Codex's computer use What the original author did: A developer exposed Codex's computer-use ability to other agents and plugged it into Claude Code, which has no built-in way to drive a Mac from the CLI. Claude Code can now click and type in Mac apps in the background while you keep working. Reported result (as claimed by the author): She shared the setup so any agent can borrow Codex's computer use. Source: https://x.com/nidhisinghattri/status/2112873994429088021 Tools they used: Claude Code, OpenAI Codex, macOS Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Let Claude Code control your Mac in the background with Codex's computer use What the original author did: A developer exposed Codex's computer-use ability to other agents and plugged it into Claude Code, which has no built-in way to drive a Mac from the CLI. Claude Code can now click and type in Mac apps in the background while you keep working. Reported result (as claimed by the author): She shared the setup so any agent can borrow Codex's computer use. Source: https://x.com/nidhisinghattri/status/2112873994429088021 Tools they used: Claude Code, OpenAI Codex, macOS Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Let Claude Code control your Mac in the background with Codex's computer use What the original author did: A developer exposed Codex's computer-use ability to other agents and plugged it into Claude Code, which has no built-in way to drive a Mac from the CLI. Claude Code can now click and type in Mac apps in the background while you keep working. Reported result (as claimed by the author): She shared the setup so any agent can borrow Codex's computer use. Source: https://x.com/nidhisinghattri/status/2112873994429088021 Tools they used: Claude Code, OpenAI Codex, macOS Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to let AI control your computer (computer use) · How to run multiple coding agents together · How to vibe code an app with Claude Code · How to use Claude Code and Codex together
Related use cases
See your Claude Code and Codex limits in your Mac menu bar
Tired of hitting limits mid-task, he built Pikori, a small Mac menu bar app showing Claude Code and Codex 5-hour and weekly limits and reset times, with a pixel buddy that gets nervous as you run low.
Put Claude Code, Codex and a local model in one group chat you control from your phone
RAPR AI puts Claude Code, Codex and Ollama in one group chat on your own machine, controlled from your browser, Telegram or WhatsApp.
Turn a spare Mac into throwaway macOS desktops for your agents
A developer built desktop-plane, an open-source tool that turns a spare Mac into fresh macOS virtual machines agents can use. Each VM starts in about 6 seconds and is deleted after use, and it works with Claude Code, Codex, Hermes or any agent.
Paste spoken prompts with screenshots into Claude Code or Cursor
Built Tack, a free Mac app that combines talk + screenshots into one prompt and pastes it into Claude Code, Codex, Cursor or any app with screenshots at the right spots.