一键导入
add-imessage
Add iMessage channel integration via Chat SDK. Local (macOS) or remote (Photon API) mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add iMessage channel integration via Chat SDK. Local (macOS) or remote (Photon API) mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Distill a reusable skill from anything — a directory, a URL, pasted notes, or what you just did together — or refine an existing skill with new learnings. Use when the user says '/learn', 'learn this', 'turn this into a skill', 'capture this workflow', 'make a skill from <source>', or 'improve/update the <name> skill'. Produces or updates a .claude/skills/<name>/SKILL.md authored to NanoClaw's skill guidelines. (This CREATES or REFINES a skill from a source; it does not install existing skills from a registry.)
Add Discord bot channel integration via Chat SDK.
Add Google Chat channel integration via Chat SDK.
Add GitHub channel integration via Chat SDK. PR and issue comment threads as conversations.
Add Linear channel integration via Chat SDK. Issue comment threads as conversations.
Add Slack channel integration via Chat SDK.
| name | add-imessage |
| description | Add iMessage channel integration via Chat SDK. Local (macOS) or remote (Photon API) mode. |
Adds iMessage support via the Chat SDK bridge. Two modes: local (macOS with Full Disk Access) or remote (Photon API).
NanoClaw doesn't ship channels in trunk. This skill copies the iMessage adapter in from the channels branch.
Skip to Credentials if all of these are already in place:
src/channels/imessage.ts existssrc/channels/imessage-registration.test.ts existssrc/channels/index.ts contains import './imessage.js';chat-adapter-imessage is listed in package.json dependenciesOtherwise continue. Every step below is safe to re-run.
git fetch origin channels
git show origin/channels:src/channels/imessage.ts > src/channels/imessage.ts
git show origin/channels:src/channels/imessage-registration.test.ts > src/channels/imessage-registration.test.ts
Append to src/channels/index.ts (skip if the line is already present):
import './imessage.js';
pnpm install chat-adapter-imessage@0.1.1
pnpm run build
pnpm exec vitest run src/channels/imessage-registration.test.ts
Both must be clean before proceeding. imessage-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains imessage. It goes red if the import './imessage.js'; line is deleted or drifts, if the barrel fails to evaluate, or if chat-adapter-imessage isn't installed (the import throws) — so it also implicitly verifies the dependency from step 4. The adapter also calls core's createChatSdkBridge(...); that typed core-API consumption is guarded by pnpm run build.
End-to-end message delivery against a real iMessage account is verified manually once the service is running — see Next Steps.
Requirements: macOS with Full Disk Access granted to the Node.js binary.
The Node binary path is buried deep (e.g. ~/.nvm/versions/node/v22.x.x/bin/node). To make it easy, open the folder in Finder so the user can drag the file into System Settings:
open "$(dirname "$(which node)")"
Then tell the user:
node file from the Finder window that just openedStop and wait for the user to confirm before continuing.
Local mode -- add to .env:
IMESSAGE_ENABLED=true
IMESSAGE_LOCAL=true
Remote mode -- add to .env:
IMESSAGE_LOCAL=false
IMESSAGE_SERVER_URL=https://your-photon-server.com
IMESSAGE_API_KEY=your-api-key
Sync to container: mkdir -p data/env && cp .env data/env/env
If you're in the middle of /setup, return to the setup flow now.
Otherwise, run /manage-channels to wire this channel to an agent group.
imessage+15551234567) or email address. For group chats, the ID is assigned by iMessage internally.