Answer Claude Code's permission prompts and questions from Signal when you're away from your Mac.
It works in any Claude Code session (desktop app, terminal, IDE) because it is a set of hooks, not a CLI mode.
Permission prompts: the bot sends you the tool and its command or file. React 👍 or reply y to allow;
react 👎 or reply n to deny, or reply anything else to deny and tell Claude why ("use the test database").
Questions (AskUserQuestion): the bot sends the questions with their options, plus a poll per question.
Tap the poll, quote a question's poll with an option number, its label or your own answer, or reply one line
per open question. Answers can come in any order; after the last one you get a ✓ receipt and the polls close.
Plan approval (ExitPlanMode): the bot sends the plan (the first 1500 characters of a longer one, with its
length) and a poll: approve and keep asking before each edit, approve and auto-accept edits, or keep planning.
React 👍 or reply y to approve with edits still asked; react 👎 or reply n to keep planning, or reply what to
change and Claude keeps planning with your reply as feedback.
Conversation: when a session finishes a turn while you're away, its last message comes to Signal. Reply
(quote it if several sessions wrote) and the session wakes with your reply as its next instruction, then
answers you the same way. Typing at the Mac or closing the session stops it listening, and Signal gets a short
notice that replies to that message no longer reach the session.
It only relays while you're away: if your Mac has had keyboard or mouse input in the last 60 seconds, Claude Code
shows its normal prompt. If you come back while a prompt is waiting on Signal, it hands the prompt back to the Mac.
No reply within 5 minutes also hands it back. Without a config file the plugin does nothing.
In a meeting at the Mac? Send away: prompts then go to Signal whatever the idle time, and touching the Mac
doesn't hand them back. Send back, or type a prompt at the Mac, to let idle time decide again.
Requirements
macOS, with Python 3.9 or later (the system python3 will do). Linux works without idle detection (see
Limits); Windows is not supported, and there the hooks do nothing. In a headless run (claude -p)
a finished turn is not sent, because nobody can continue it; permission prompts and questions still are.
Setup
Install signal-cli (it brings Java) and qrencode:
brew install signal-cli qrencode
Link signal-cli to Signal. Pick one:
Your own number (simplest). signal-cli becomes a linked device on your account, and prompts arrive in
Note to Self, sent so that your phone still notifies. Like any linked device, signal-cli then receives your
messages and stores them in ~/.local/share/signal-cli. This opens the QR code in Preview; scan it from
Signal → Settings → Linked devices → Link new device:
L="$TMPDIR/signal-link.txt"; signal-cli link -n "Claude relay" > "$L" 2>&1 & until grep -q sgnl:// "$L" 2>/dev/null; do sleep 1; done; qrencode -o "$TMPDIR/signal-link.png" "$(grep -o 'sgnl://[^ ]*' "$L")" && open "$TMPDIR/signal-link.png"; wait; cat "$L"
A separate bot number. The bot messages you like any contact and never sees your own messages. You need
a second number that can receive an SMS (a prepaid SIM) or a call (a landline); Signal blocks many VoIP
numbers. Signal requires a captcha: open https://signalcaptchas.org/registration/generate.html, solve it,
then right-click "Open Signal" and copy the link (clicking it hands the token to Signal Desktop instead).
signal-cli -a +BOTNUMBER register --captcha 'signalcaptcha://...'
signal-cli -a +BOTNUMBER verify CODE
signal-cli -a +BOTNUMBER setPin YOUR-PIN
signal-cli -a +BOTNUMBER updateProfile --given-name Claude