
Send iPhone screenshots to Codex Desktop through a private relay on your Mac.
cmd+cmd is an independent companion utility and is not affiliated with OpenAI.
Install cmd+cmd from the App Store.
On the Mac running Codex Desktop, install the native relay:
curl -fsSL https://www.cmdcmd.click/install.sh | bashOpen cmd+cmd on iPhone, go to Settings, tap
Scan Desktop QR, and scan the QR printed by the installer.Grant Accessibility permission when macOS asks so the relay can attach files to the visible Codex Desktop composer.
The installer registers a per-user LaunchAgent so the relay starts at login and
automatically restarts if it exits. Its logs are written to
~/Library/Logs/cmdcmd-relay.log and ~/Library/Logs/cmdcmd-relay.err.log.
The relay uses a private per-user token. Do not expose it on a shared or public network.
CmdCmd/: SwiftUI iOS app and App Intent.ShareExtension/: iOS Share Extension.macos/CmdCmdRelay/: native macOS relay.site/: public setup and privacy site.appstore/: App Store metadata and screenshot assets.
Run the complete repository check:
./scripts/check.shUse ./scripts/check.sh --fast while iterating on the native relay. The full
check runs native tests plus the iOS simulator test/build harness with one reused
DerivedData directory.
Build or test only the native relay:
swift build --package-path macos/CmdCmdRelay
swift test --package-path macos/CmdCmdRelayOpen CmdCmd.xcodeproj in Xcode for interactive iOS work.
- Screenshots travel directly from the iPhone to the paired Mac relay.
- Screenshots and metadata remain under the user's local Application Support directory.
- The relay never reads Codex credentials, sessions, cookies, or private app files.
- Accessibility is used only to focus Codex Desktop and attach the selected screenshot and context sidecar.
See macos/CmdCmdRelay/README.md for native relay development and packaging details. The public privacy policy is at www.cmdcmd.click/privacy.