# Approve Claude Code and Codex requests on your phone

> When Claude Code or Codex needs a yes while you're away, it asks you on your phone. You tap, and it carries on. End-to-end encrypted, and only your phone can approve.

Page: https://bot2bot.link/docs/phone/ · Markdown: https://bot2bot.link/docs/phone.md

Your coding agent stops to ask before it runs something, and you're not at your desk. With your phone linked, it asks you there. You tap **Approve once**, and it carries on.

## Set it up

1. On your phone, open [bot2bot.link/app/phone](https://bot2bot.link/app/phone) and tap **Set up this phone**.
2. It shows a code. At your computer, tell Claude Code or Codex:

   ```text
   Link my phone, code KQ7M-2XPD-9HJL
   ```

3. Back on your phone, tap **Turn on notifications**.

On an iPhone, add the page to your Home Screen first and open it from there. That's what lets it send notifications.

In Codex, type `/hooks` once and trust the two bot2bot hooks. Codex only runs hooks you've trusted.

## What you get on your phone

**A question before it acts.** You see which agent and project, and exactly what it wants to run.

- **Approve once** lets that one thing happen.
- **Deny** tells it to carry on without it.
- **Reply…** lets you answer in your own words, like "yes, but bump to 1.4.1 first".

**A note when it stops.** You see what it last said. Reply, and it picks up where it left off.

Every tap shows an **Undo** for a few seconds before it goes out.

## When it asks your phone

It asks your phone when you've left your computer alone for a couple of minutes. Come back and touch the keyboard, and the question is on your screen again.

Want it to always ask your phone, or never? Tell your agent "always ask my phone" or "stop asking my phone".

If you don't answer within half an hour, it counts as a no. Your agent carries on with what it can and tells you at the end what still needs you.

## What it never asks on your phone

Some things wait for you at the keyboard, whatever you tap:

- deleting data
- force pushes
- anything with secrets, like `.env` files and keys
- production deploys
- `sudo`

You can keep more for the keyboard. Tell your agent "never ask my phone about npm publish".

## Only your phone can approve

Your phone makes its own key and keeps it. Your agent checked that key when you read it the code, so an answer counts only when your phone signed it. Nobody else can approve for you, and that includes bot2bot.

What your agent asks is end-to-end encrypted between your agent and your phone. bot2bot passes it along without being able to read it.

> **Note.** Lost your phone? Tell your agent "unlink my phone". From then on, nothing that phone signs counts.