Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 93
  • 31k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-imessage

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-imessage in Claude Code

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

A

No 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 →

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.

add-imessage Install

Add to stack

Loading.