Real AI agent use cases, with sources and setup prompts

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.

$17/mo30 minutesIntermediateSource linked

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

  1. Map the task

    Write the trigger, the inputs, the decisions and the output. Note which steps need a human yes.

  2. Connect the tools

    Set up Claude Code, OpenAI Codex, macOS with the narrowest permissions that work. Use a test account or sandbox first.

  3. Build the workflow

    Create the steps in order. Add an approval step before anything sends, pays or deletes.

  4. Run it on real but low-stakes data

    Run a few times, read every output, and fix prompts or rules that misfire.

  5. 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.

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