Watch Notes
by maxvbuda
README.md
# Handoff for Claude Code
[](https://github.com/maxvbuda/handoff/actions/workflows/test.yml) [](LICENSE)   
Jot ideas on your Apple Watch. Claude Code works on them while you're away. **The watch never shows Claude's response**, so there's nothing to get pulled into. It's a scratchpad that hands off and goes quiet. The only things that come back are Claude's one-line suggestion for what to do next, which you can send with **Accept suggestion**, and a screenshot when Claude changed something you can look at.
```
Watch (dictate/scribble) ──AES-GCM──▶ ntfy topic ──▶ handoff plugin ──channel──▶ Claude Code session
```
- **Watch app**: one SwiftUI file, watch-only (no iPhone app), no assets or dependencies. It builds for watchOS 26 / Apple Watch SE 3 with `-Osize`, whole-module optimization, and dead-code stripping. It works on a watch on its own, with no iPhone nearby, over the watch's Wi-Fi or cellular. Notes queue offline and retry when the app comes back to the foreground, and a note still sending when you lower your wrist gets a little extra time to finish.
- **`handoff` command** (`cli/`, `server/`): plain Node with zero dependencies, installed with npm. `handoff start` runs Handoff's server for the Claude Code session it opens. The server decrypts notes on your Mac and drops anything that doesn't decrypt with your key (prompt-injection gate), then pushes each note into the session as a [channel](https://code.claude.com/docs/en/channels-reference) event.
- **Plugin** (`plugin/`): skills only (`/handoff:setup`, `/handoff:pair`, `/handoff:inbox`), with no code. They run the `handoff` command, which you install separately.
- **Privacy**: notes are end-to-end encrypted on the watch with a per-device key (stored in the Keychain). The relay only sees ciphertext on a random topic.
## Setup
**1. Install the `handoff` command** (in Terminal; needs Node.js 20 or newer):
```sh
npm install -g github:maxvbuda/handoff
```
**2. Install the plugin** (in Claude Code). It's optional but handy: it adds `/handoff:pair`, `/handoff:inbox` and `/handoff:setup`, which run the `handoff` command for you.
```
/plugin marketplace add maxvbuda/handoff
/plugin install handoff@handoff
```
**3. Install the watch app**: open the App Store on your Apple Watch and search for **Hand-Off**. To build it yourself instead: `cd watch && xcodegen generate && open ClaudeNotes.xcodeproj`, pick your team, then Run.
**4. Pair (once):** open Hand-Off on the watch. It shows a code like `K7QX-M2PA`; run `handoff pair` (or `/handoff:pair` inside Claude Code) and type it on the Mac. Hand-Off 1.0 works the other way around: press Return at the prompt, and `handoff pair` shows a code to type on the watch. The watch generates its own topic and key, sends them sealed with a key derived from the code, and waits for the Mac's acknowledgement. Nothing secret is built into the app, so one build works for anyone. Running Claude Code sessions pick up a new pairing automatically. To pair again, tap **Settings** at the bottom of the list, then **Unpair**. To make the Mac forget the watch, run `handoff unpair`.
## Use
Before you leave, start a session in the project you want Claude to work on. There are two ways.
**Instant (channel mode):**
```sh
handoff start # add --continue to pick up your last conversation
```
Ideas arrive in the session within seconds. Only sessions opened with `handoff start` take notes, so other Claude Code windows you have open won't grab them.
**Several chats:** run `handoff start` in as many projects as you like. Each one shows up on the watch by its folder name, or by a name you choose with `handoff start --name "Website"`. Pick one in the **To** row at the top of the app, and your notes go only to that chat. **Any chat** lets whichever one is open take it. A note for a chat that's closed waits until it opens again.
**New chats from the watch:** run `handoff host ~/GitHub` (or any folder of projects) and leave it running. The watch then shows **New chat**, a browser for the folders inside it. Tap into any folder, then choose **Start chat here**, or type a name under **New folder…** to make a folder there and start in it. Then name the chat (it starts as the folder's name) and tap **Start chat**. The new chat is selected on the watch, so the next note goes straight to it. Only folders inside the one you gave can be opened (no `..` or symlinks out), and `node_modules` and hidden folders aren't listed.
Chats started from the watch run **headless** inside `handoff host`: each note runs `claude -p --permission-mode auto` in that folder, continuing the same Claude Code session, one note at a time. There's no channel, so there's no development-channel warning to click, and nothing runs while the chat is idle. A Terminal window shows each chat's log live. To open the conversation as a normal Claude Code window, choose that chat in **To** and tap **Open on computer** on the watch: a Terminal window opens on the Mac running `claude --resume` for it. Or run the `claude --resume …` command the host prints for that chat. (A chat that hasn't had a note yet opens as a new conversation in its folder.) Keep `handoff host` running while you're away: it is what starts those Claude runs, without anyone at the Mac to approve them.
**Every few minutes (no warning):** in a normal `claude --permission-mode auto` session, run
```
/loop 5m /handoff:inbox
```
`--permission-mode auto` lets Claude work without you there to approve each step: a safety classifier reviews every action instead. If it blocks 3 actions in a row, Claude Code goes back to asking in the terminal, so the server tells Claude to skip blocked steps and list them in its summary instead of retrying.
On the watch, tap **Jot an idea…** and add as many lines as you like. Swipe a line to delete it, then tap the orange send button in the corner. A ✓ means the note was delivered.
When Claude finishes a note it can suggest a next step, like Claude Code's prompt suggestions. The suggestion shows at the top of the watch app. Tap **Accept suggestion** to send it to Claude as a new note, or swipe it away. To turn suggestions off, go to **Settings → Suggestions**.
When a note changes something you can look at, like a web page, Claude can send a **screenshot** of it, or a short **video clip** when it moves (Claude records the video and makes it into an MP4 with ffmpeg), which plays on the watch. (Hand-Off 1.3 and the Wear OS app get a GIF instead.) It shows at the top of the app; tap it to see it full screen, and tap again to zoom in. The watch keeps the last 5; tap **Save** on one to keep it for good, and **Ship it** to have Claude commit, push and deploy that work.
When Claude reaches a choice only you can make, it can **ask you** on the watch: tap one of the answers. Under **Projects**, **Stop** halts the note a chat is working on, and **Ship it** appears on chats with changes to commit. **Quick reply** has one-tap notes; add your own there. Each evening at 6 PM, the watch shows a **recap** of the notes each chat finished that day.
**Siri:** say "Tell Handoff" and Siri asks what Claude should do. "Tell Handoff in website" sends it to that chat. "Ask Handoff what's going on" reads out what each chat is working on. **Widgets:** add Hand-Off to a watch face to open it ready to dictate, or add **Claude's status** to the Smart Stack to see Claude's suggestion and what your chats are doing.
When you get home, the work is done. Claude calls `watch_note_done` with a summary for each note; the summaries are in `~/.claude-watch-notes/notes/`. Notes that arrive while no session is running are handed to the next session that starts, exactly once even with several sessions open.
## Mac extras
Optional, off unless you install them: let the chats Handoff opens use your Mac's screen while you're
away, even with the lid closed. `handoff extras install all` sets up screen control,
[Deskhand](extras/deskhand/) (Karam Lamba) as Claude's `computer` tool, a [fake lock screen](extras/cover/)
that opens with your real password and gets out of Claude's way, and
[LidWake](https://github.com/aaryanbindage/Lidwake) to keep running with the lid closed. See
[extras/](extras/) for what each one changes and what macOS still asks you.
## Email (optional)
You can also email Claude, from your phone, a school computer, or anywhere you have Gmail. It uses the Mail app on your Mac, so you don't need a Google Script or any new account permissions. Your email account just has to be set up in Mail.
```sh
handoff mail you@icloud.com # any account in Mail; remembered, so next time just: handoff mail
```
With no address the first time, it uses your Gmail account if Mail has exactly one. It only listens to that one account. Keep it running next to a `handoff start` session. Then send an email from that account to its +claude address, like **you+claude@icloud.com**. The subject and body are the note, and the session works on it like a note from the watch. When Claude is done, the summary comes back as a reply in the same thread from "Claude (Handoff)". Reply to that to send the next note.
- Only emails you sent count. `handoff mail` reads them from your account's **Sent** mailbox, so nobody else can email Claude instructions, even by faking your address.
- Quoted text from earlier in the thread and your signature are left out of the note.
- The first time, macOS asks whether your terminal can control Mail. Click **OK**, or turn it on later in System Settings → Privacy & Security → Automation.
- It checks Mail once a minute and looks back two days. Your Mac has to be awake, which `handoff start` already takes care of.
## Your own relay (optional)
You don't need this. Out of the box, the watch and your Mac talk through [ntfy.sh](https://ntfy.sh), a free public relay, and everything works without zrok or any account.
ntfy.sh does have limits: 250 messages a day for each internet connection, and files up to 2 MB. If your home connection uses up its messages, the watch says the relay is busy until the next day, and GIFs bigger than about 1 MB can't get through. If you hit those, run Handoff's own relay on your Mac instead:
```sh
brew install zrok # an open-source tunnel (zrok 2; its own docs call the command zrok2)
# sign up free at https://myzrok.io, open the zrok console, and copy your account token, then:
zrok enable YOUR_TOKEN
handoff relay setup
```
Setup starts the relay on your Mac (and again at every login), and zrok gives it a fixed https address like `https://handoff-1a2b3c4d5e.shares.zrok.io`, so the watch reaches it from anywhere, on Wi-Fi or cellular. zrok's free plan allows 5 GB a day, far more than Handoff uses. Then pair again: on the watch, **Settings → Unpair**, open Hand-Off and run `handoff pair CODE`. Pairing still starts on ntfy.sh (one message each way); after that nothing uses ntfy.sh.
- **Only your watch uses it.** Your relay is yours: other people's Handoff keeps using ntfy.sh, or their own relay if they set one up.
- **Without zrok,** `handoff relay setup` just tells you how to install it, and nothing changes: you stay on ntfy.sh.
- **Older watch apps** (before Hand-Off 1.3) can't move, so they stay on ntfy.sh even after you set it up.
- **Private, like ntfy.sh:** the relay only ever sees encrypted messages, and only accepts Handoff's. It keeps them for 12 hours in `~/.claude-watch-notes/relay`.
- **Your Mac has to be on.** While it's off or asleep the watch can't send notes, but no Claude session could work on them then anyway. A MacBook sleeps when you close the lid, even while `handoff start` runs; keep it open, or use [LidWake](https://github.com/aaryanbindage/Lidwake) (`lidwake start -b --max 0`, with no time limit), which `handoff start` suggests when it's installed.
- `handoff relay status` checks it, and `handoff relay off` goes back to ntfy.sh (pair again afterwards).
## Notes
- ntfy.sh keeps messages for about 12 hours. The server saves them to disk as soon as they arrive, so this only matters if no Claude session is running for that whole time.
- ntfy turns messages of 4 KB or more into file attachments, which ntfy.sh keeps for only about 3 hours. The server handles those, but a very long note (roughly 2,900+ characters) needs a session running within that window.
## Tests
```sh
node --test test/server.test.mjs # server: 76 tests against a mock relay (protocol, crypto, dedupe,
# multi-session races, reconnects, stalls, re-pairing, pair command)
node test/watch-e2e.mjs # watch app in the SE 3 simulator + real pair/MCP server, via mock relay
node test/watch-e2e.mjs --real-relay # same UI flow through the public ntfy.sh
```
The watch end-to-end run unpairs the simulator. Afterwards, run `pair` again.
See [PRIVACY.md](PRIVACY.md) for exactly what data goes where, [SECURITY.md](SECURITY.md) for how notes stay yours and how to report a problem, [CHANGELOG.md](CHANGELOG.md) for what changed, and [docs/official-listing.md](docs/official-listing.md) for the plan to get Handoff on Anthropic's approved channel list.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues