Get a text when your coding agent needs your approval

Yes. Homing Pigeon (homingpigeon.dev) adds hooks to Claude Code and Codex that text you when a long run stops to ask for your approval, so it does not sit waiting while you are away. The same hooks text you when the run finishes, and nothing in your project changes.

What to tell your agent

Use Homing Pigeon to text me when you are waiting on my approval.

Your agent asks for your number, you read back the six-digit code, and it does the rest.

How it works in code

Or set it up yourself. The first command texts you a six-digit code, which goes in the second. The third adds the hooks to Claude Code:

npx -y homingpigeondev verify +15551234567
npx -y homingpigeondev verify +15551234567 123456
npx -y homingpigeondev hook install claude-code

For Codex, run this too. Codex skips new hooks until you trust them, so then open Codex, run /hooks and trust the three Homing Pigeon hooks:

npx -y homingpigeondev hook install codex

Good to know

  • The text names the agent and the folder, such as "Claude Code is waiting on you in my-repo." Your prompts, its replies and the command it wants to run are never sent.
  • Claude Code texts you when it asks permission to use a tool, such as running a command or editing a file, and when an MCP server asks you for input. Codex texts you when it asks for your approval. Start a new Claude Code session after installing.
  • Cursor has no event for an agent waiting on approval, so its hook can only text you when a long run finishes. Install that with npx -y homingpigeondev hook install cursor.
  • A request only texts you once the turn has run for at least 5 minutes, because before that you are probably still watching. Add --after 15 to the install command to change that. The setting covers every agent and the finished text too.
  • After a waiting text, that session stays quiet about approvals for 10 minutes, so an agent that asks several times in a row does not text you for each one.
  • The hooks go in ~/.claude/settings.json and ~/.codex/hooks.json, not in your project. To remove them, run npx -y homingpigeondev hook uninstall claude-code or codex.

Get started

Add Homing Pigeon to Claude Code, then ask for what you want:

claude mcp add homingpigeondev -- npx -y homingpigeondev mcp

You get 50 free texts every month, on US mobile numbers. See more use cases.