Skip to content
AI Coding & Workflows· 7 min read

AI Coding from the Couch or On the Go: Driving Claude Code & Custom Action Pads from Your iPhone

With AI coding agents running on your Mac, mobile development is no longer about typing semicolons on a glass keyboard – it is about directing tasks, reviewing diffs, and running tests. Here is how Duomote turns your iPhone into a command deck for Claude Code.

Illustration: The loop between the Claude console, ~/.duomote/actions.json, and context-aware Action Pads on iPhone.
Claude Code · duomote-deck
Claude-Konsole & Zero-Click-Prompts

❯ “Build a pad for our database migration checks”

→ ~/.duomote/actions.json updated (+4 buttons)

Context-aware action pads

Switches automatically with the frontmost app on your Mac and transparently highlights any modified button actions.

Illustration: The loop between the Claude console, ~/.duomote/actions.json, and context-aware Action Pads on iPhone.

Why AI agents change what coding from a phone actually looks like

For years, trying to code from a phone meant fighting tiny touch keyboards for brackets and indentation while squinting at a desktop IDE. Today, when an agent like Claude Code runs on your Mac, your role shifts to high-level direction: describing the change, reviewing the diff, running the test suite, and approving the commit.

Duomote for iPhone, iPhone Duo, and iPad is built around that exact workflow. Your heavy build tools, local databases, and repositories stay right on your Mac, while you steer the session comfortably from the couch or on the go.

The native Claude console: live streaming output without terminal pinch-zooming

Instead of peering into a tiny desktop terminal window over screen sharing, Duomote’s Claude console lets you send prompts straight to Claude Code on your Mac and watch the output stream back live in crisp, native typography. If a command exits with an error code, all streamed output stays visible right alongside the status.

Pair it with Duomote’s on-device Read Aloud mode and your iPhone can even speak Claude’s explanations as they arrive – while automatically redacting any API keys, tokens, or verification codes.

One sentence to a new pad: ~/.duomote/actions.json and the duomote-deck skill

Every project has recurring actions: running unit tests, asking Claude to review the current git diff, bumping a version, or opening a pull request. In Duomote, all of your custom pads live in a single readable file on your Mac: `~/.duomote/actions.json`.

With the official `duomote-deck` agent skill, you do not even have to edit that JSON file by hand. Just tell your coding agent on the Mac: “Build me a Duomote pad for my release workflow.” The agent writes the buttons atomically, and within seconds the finished pad appears on your iPhone.

  • Zero-click prompts: paste saved prompts straight into your target Mac app without hunting for the text field with a cursor first.
  • Auto-context “This app” pad: automatically switches buttons based on whichever app (Claude, Xcode, Safari, Final Cut Pro) is in front on your Mac.
  • Repository-level .duomote.json files: carry project-specific actions right alongside your code.

Safety guardrails when an AI agent edits your controls

Allowing an agent or a repository file to define buttons requires thoughtful security boundaries. Duomote enforces two strict rules.

First, whenever a sync modifies any action-defining field of an existing button in `~/.duomote/actions.json` (such as its command, prompt, shortcut, or target directory), Duomote shows a transparent notice comparing the old → new values. Second, buttons defined in a repository’s `.duomote.json` may only add buttons (never override home button IDs), are visually badged, and require your explicit approval per host, directory, file SHA-256 hash, and button ID before they can run.

How to create custom AI Action Pads via ~/.duomote/actions.json

Let your coding agent on the Mac build a custom Action Pad for your iPhone in seconds.

  1. 1

    Open the Claude Console in Duomote

    Connect to your Mac and open the built-in Claude Console on your iPhone, iPhone Duo, or iPad.

  2. 2

    Describe your workflow in plain language

    Ask your agent with the duomote-deck skill: “Build me a Duomote pad for my release workflow.”

  3. 3

    Tap your new pad buttons immediately

    The agent writes ~/.duomote/actions.json atomically on your Mac and the new pad appears on your iPhone within seconds.

Key takeaways

  • Drive Claude Code on your Mac natively from your iPhone, iPhone Duo, or iPad without zooming into a desktop terminal.
  • Let your coding agent build custom pads for you via ~/.duomote/actions.json and the duomote-deck skill.
  • Stay protected with mutation notices on home buttons and strict per-button SHA-256 confirmation on project files.

Frequently asked questions

Where do Duomote’s custom Action Pads live?

Your personal pads live in ~/.duomote/actions.json on your Mac. Individual repositories can also ship additive buttons in a project-level .duomote.json file.

How does Duomote prevent untrusted repository buttons from running silently?

Buttons from a repository’s .duomote.json cannot override existing button IDs, carry a clear project badge, and require your explicit approval bound to the host, directory, SHA-256 hash, and button ID before executing.

Can Duomote read Claude Code’s responses aloud while I walk?

Yes. On-device Read Aloud speaks streaming responses directly on your iPhone while automatically redacting API keys, tokens, and secrets.

Related Duomote features

More articles from the blog

Duomote is coming soon to the App Store.

Join the waitlist to get notified at launch and reserve the early adopter launch price.

We only use your email to tell you when Duomote launches. Details in the privacy policy.

Join the public beta on TestFlight

Requires an iPhone with current iOS