Agent Checklist

How to set up Claude Code hooks to send a notification to your phone

Claude Code runs a command at certain moments: Stop when its turn ends, Notification and PermissionRequest when it waits for you. Point those at a push service and your phone buzzes. Here are three ways, from hand-written to one command.

Option 1: ntfy (free, no account)

  1. Install the ntfy app and subscribe to a long random topic, for example claude-7f3k9q2x.
  2. Add to ~/.claude/settings.json:
{
  "hooks": {
    "Stop": [{ "hooks": [{ "type": "command",
      "command": "curl -s -d 'Claude Code finished' ntfy.sh/claude-7f3k9q2x" }] }],
    "Notification": [{ "hooks": [{ "type": "command",
      "command": "curl -s -d 'Claude Code needs you' ntfy.sh/claude-7f3k9q2x" }] }]
  }
}

Anyone who knows the topic can read it, so keep it random, or self-host ntfy.

Option 2: Pushover (paid once)

Same hooks, but the command posts to Pushover's API with your app token and user key:

curl -s -F token=APP_TOKEN -F user=USER_KEY -F message='Claude Code finished' https://api.pushover.net/1/messages.json

Pushover is $4.99 once per platform after a 30-day trial.

Option 3: Agent Checklist (one command)

curl -fsSL https://agent-checklist.com/install.sh | sh

Windows (PowerShell): irm https://agent-checklist.com/install.ps1 | iex. Then get the app for iPhone or Android and sign in with the same email.

The installer writes these hooks for you, including PermissionRequest for approvals, questions and plans, and adds a watcher for prompts the hooks miss.

What hand-written hooks miss

ntfy / Pushover hookAgent Checklist
Says which project and sessionOnly if you script it (the hook gets JSON on stdin with the session id and folder)Yes: computer, project, session name
Questions and plan approvalsOnly what Notification fires onYes, plus a log watcher
Alert you already answeredStill arrivesDropped, or cleared from your phone
Codex, Gemini CLI, opencode, CursorSeparate setup eachSame install
PriceFree / $4.99 onceFree for 1 computer + 1 phone; $6/month for more

Testing your hook: run claude, ask for something trivial, and wait for the turn to end. If nothing arrives, run the hook's command by hand in a terminal first.

More: Claude Code notifications, alerts for permission prompts.

Last updated 2026-12-03.