add-imessage
Skill by nanocoai
Adds iMessage to NanoClaw as one channel with two backends: a local Mac backend or a hosted photon.codes backend. Written for NanoClaw users who want their agent to message over iMessage.
Install add-imessage
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/add-imessage ~/.claude/skills/add-imessageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nanoclaw/.claude/skills/add-imessage ~/.gemini/antigravity-cli/skills/add-imessageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill adds iMessage to NanoClaw as a single imessage channel with two backends. The local backend reads the signed-in iMessage account on a Mac through chat.db, using the chat-adapter-imessage package and Full Disk Access. The hosted backend connects through photon.codes using Photon's spectrum-ts package and a device-login wizard. It works on any OS and needs no Mac relay, webhook, or public URL.
The skill copies the unified adapter from the channels branch, registers it in the channel barrel, and installs a pinned package for the chosen backend. It then runs build and tests, walks the user through Full Disk Access or the photon.codes login, selects the backend in .env, restarts the service, and resolves the owner's iMessage handle. It is for NanoClaw users who want their agent to chat over iMessage.
Written from the project's SKILL.md and checked against it.
What it can do
- Backend selectionLets the user choose the local Mac backend or the hosted photon.codes backend at the start.
- Adapter copyCopies the unified imessage adapter and its tests from the channels branch into src/channels.
- Channel registrationAppends the self-registration import to the channel barrel so the imessage channel is wired.
- Pinned package installInstalls an exact-version package for the chosen backend, as required by the supply-chain policy.
- Build and test checksRuns the build and registration tests, plus backend-specific checks for the installed packages.
- Full Disk Access setupGuides the user to grant Full Disk Access to Node for the local backend on macOS.
- Photon device loginRuns a device-login flow that provisions a photon.codes project and registers the user's phone number.
- Owner handle resolutionCollects the phone number or email the user iMessages from and sets it as the conversation address.
What you need
- A Mac with Full Disk Access granted to Node for the local backend
- Any OS for the hosted backend
- A photon.codes account, created through the device-login flow
- A phone number in E.164 format for the hosted backend
- A NanoClaw install with access to its channels branch
Try asking
- Add iMessage to NanoClaw using the local backend on this Mac.
- Connect my NanoClaw agent to iMessage through photon.codes.
- Set up native iMessage for my agent and resolve my iMessage handle.
Good to know
- The local backend only works on macOS and needs Full Disk Access for Node.
- The hosted line can only message numbers that have already texted it first.
- Only one iMessage backend runs per install.
- The photon.codes device-login code expires after about 30 minutes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/add-imessage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
REMOVE.md2 KB -
SKILL.md15 KB -
apply-fixtures.json847 B -
docs.md13 KB
Alternatives to add-imessage
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
add-imessage: common questions
Does the iMessage skill work on Windows or Linux?
The local backend only works on macOS. The hosted photon.codes backend works on any OS, according to the source.
Why does the local backend need Full Disk Access?
The adapter reads this Mac's chat.db, which requires Full Disk Access granted to the Node binary the host runs under.
Why must I text my agent's number before it can reply?
The hosted line can only message numbers that have already texted it. Cold outbound messages are rejected with 'Target not allowed for this project'.
How do I install add-imessage?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-imessage free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is add-imessage safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-imessage?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
