← Back to Codello

Get a push notification when Claude Code finishes or needs you

Updated November 24, 2026

Claude Code runs a command you choose at the two moments that matter: the Stop hook when Claude finishes responding, and the Notification hook when Claude is waiting for your input or your permission. Point both at a command that sends a push, and your phone tells you when to come back. This page shows how to do that yourself, what Anthropic's Remote Control offers, and what Codello adds.

Do it yourself with a hook and ntfy

ntfy sends a push to every phone subscribed to a topic, and publishing to a topic is one curl command. Add this to ~/.claude/settings.json, which applies to all your projects, and replace your-topic with a name nobody can guess:

{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          { "type": "command", "command": "curl -s -d 'Claude finished' ntfy.sh/your-topic" }
        ]
      }
    ],
    "Notification": [
      {
        "matcher": "",
        "hooks": [
          { "type": "command", "command": "curl -s -d 'Claude needs you' ntfy.sh/your-topic" }
        ]
      }
    ]
  }
}

Then subscribe to the same topic in the ntfy app on your phone. There is no sign-up on ntfy.sh, so, in ntfy's words, "the topic is essentially a password". In Claude Code, run /hooks to check that both hooks are there.

For fewer pushes, give the Notification hook a matcher. permission_prompt fires when Claude has waited about six seconds for you to approve a tool, and idle_prompt fires when Claude finished about 60 seconds ago and you haven't typed since. The Claude Code hooks guide lists every event and matcher.

Codex CLI: the notify setting

Codex runs the program you name in notify in ~/.codex/config.toml, and passes it one JSON argument. Today it fires only for agent-turn-complete, so it tells you a turn ended, not that an approval is waiting. A short script can read last-assistant-message from the JSON and publish it to ntfy the same way. The Codex advanced configuration page has example scripts.

notify = ["python3", "/path/to/notify.py"]

Claude Code Remote Control

Anthropic's Remote Control connects the Claude mobile app to a Claude Code session on your computer. While it's active, Claude can send a push when a long task finishes or when it needs a decision from you. Turn these on in /config with Push when Claude decides and Push when actions required. Remote Control needs a Pro, Max, Ultra, Team, or Enterprise plan and doesn't support API keys, and your computer has to stay on with the claude process running.

Where a hook stops

With Codello, answer from the notification

Codello runs your agents in sessions you can reach from your phone, and it sets up the Claude Code hooks for you. You get a push when an agent asks for permission, asks a question, or finishes. On an iPhone paired with your computer, with full notification detail on, the Codello app lets you act on the push without opening anything:

Every session on every computer you connect is in one list, and the ones waiting on you sort to the top. A Codex permission prompt also sends a push, which opens the session so you can answer there.

Without the app, Codello sends Web Push to your browser. On an iPhone without the app, add codello.app to your Home Screen first, because iOS delivers Web Push only to an installed web app.

Set up Codello

  1. Install the command-line tool on your Mac or Linux server. It needs Node.js 18 or later.
    curl -fsSL https://codello.app/install.sh | bash
  2. Sign in and set up the hooks:
    codello setup
  3. Start Claude Code in a Codello session, or Codex with codello codex:
    codello claude
  4. Sign in on your phone, and allow notifications when Codello asks.

Get started freeRead the push notification docs

Questions

Does Codello work if I sign in to Claude Code with an API key?

Yes. Codello starts the Claude Code you already have installed and listens to its hooks, so it works however you sign in to Claude Code.

Do I have to keep my computer on?

Yes. Your agents run on your own Mac or Linux server, so it has to stay on and online for them to keep working and to reach you.

Which agents does Codello work with?

Claude Code, Codex, Cursor CLI, OpenCode, pi, and Hermes Agent.

Does Codello see my code?

Your agents run on your computer, not in Codello's cloud. Their terminal and chat are end-to-end encrypted to each device you pair.