add-imessage
Skill31k starsChanged 2 months agoMITView on GitHub
Add iMessage to NanoClaw — one channel, two backends. Local (this Mac's chat.db via the Chat SDK bridge; macOS + Full Disk Access) or Hosted iMessage (via photon.codes — native spectrum-ts with a device-login wizard; any OS, no Mac relay). Triggers on "add imessage", "connect imessage", "add photon", "imessage via photon", "native imessage".
- Reads credentials
- Installs packages
3 other projects use a version of this, 3 of them edited; most edited versions we compared are an older text (1 of 3).
How people change it
Most projects run an older version: 1 of 3 add nothing and lack rules this one has, most likely added since.
Of the 3 edited versions we compared: 2 keep every rule, 1 is an older text.
Not in older versions
- Run the device-login flow. It provisions the project, reuses its current secret (regenerating only when the API returns none), registers your number, prints the line to text and waits until that message opts the number in, and surfaces the iMessage number …missing from 1 of 1
- If the login times out, the code expired (~30 min) — re-run the step; a stored token is reused. Check state any time with
pnpm exec tsx scripts/photon-setup.ts status.missing from 1 of 1 - Adapter installed but silent. Run
pnpm exec vitest run src/channels/imessage-registration.test.ts— red means the barrel import or the package install drifted, so re-run the Apply steps. …missing from 1 of 1 - If green, confirm the backend connected (hosted:
grep "Photon channel connected" logs/nanoclaw.log), restart the service (bash setup/lib/restart.sh), then checklogs/nanoclaw.error.log.missing from 1 of 1
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- prathish-ks/isthmusedited, first seen Oct 6, 2026
- TomGranot/groupguardedited, first seen Sep 3, 2026
- microsoft/amplifier-app-nanoclawedited, first seen Jun 12, 2026
Who's talking about nanocoai/nanoclaw
- @github-trending-js.bsky.social“📦 nanocoai / nanoclaw ⭐ 29,631 (+44) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in …”Bluesky · Jun 2, 2026 · 2 likes
- mnemon-dev/mnemon“guide.md and skill.md not written under MNEMON_DATA_DIR — lost on container restart”GitHub · May 29, 2026 · 2 reactions
- socfortress/CoPilot“copilot-talon-improv”GitHub · Sep 2, 2026 · 1 reactions
- @githubfeed.bsky.social“🚀 GitHub Intelligence Drop nanoclaw (TypeScript • 🟢) ⭐ 30.6K → https://github.com/nanocoai/nanoclaw …”Bluesky · Aug 30, 2026 · 1 likes
- @github-trending-js.bsky.social“📦 nanocoai / nanoclaw ⭐ 28,995 (+59) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in …”Bluesky · May 20, 2026 · 1 likes
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub and Bluesky (54 times).
On GitHub · 50
- May 29, 2026guide.md and skill.md not written under MNEMON_DATA_DIR — lost on container restart — mnemon-dev/mnemon2 reactions · 1 comment
- Sep 2, 2026copilot-talon-improv — socfortress/CoPilot1 reaction · 5 comments
- Nov 30, 2026Staleness detected (2026-11-30) — msyvr/awesome-agent-sandboxes0 reactions
- Nov 20, 2026agent-skills.github.nanocoai.nanoclaw: 2026.10.0 → 2026.11.0 — sudosubin/agents.nix0 reactions
- Nov 18, 2026[review mirror] fix(agent-runner): drop queued turns the provider answered inside another turn — drsmk238/nanoclaw0 reactions · 21 comments
45 more on GitHub
- Nov 16, 2026مرشحون جدد للدليل (2026-11-16) — mgrd281/Skill-0 reactions
- Nov 13, 2026OO player rewrites batch 6: sim, hermes, nanoclaw, openclaw, squad, crewai, paperclip, agentrq, crewlet, openswarm — Agent-Analytics/awesome-multi-agent-orchestrators0 reactions · 1 comment
- Nov 1, 2026Script gate for scheduled agents: a cheap check decides whether to wake the brain — Icewater1337/fridolin0 reactions
- Oct 29, 2026fix(telegram): wrap actions with more than 8 buttons into rows of 8 — vercel/chat0 reactions · 1 comment
- Oct 29, 2026Telegram polling: idle getUpdates has no client-side deadline and hangs on a black-holed connection — vercel/chat0 reactions
- Oct 21, 2026docs(gchat): Workspace add-on and webhook verification keys (nanoclaw #4132, #4100) — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 16, 2026docs: add NanoClaw to client showcase — agentskills/agentskills0 reactions
- Oct 14, 2026Reposition README: a personable assistant with real memory — bbinoy/ted-personal-assistant0 reactions
- Oct 14, 2026agent-skills.github.nanocoai.nanoclaw: 2.4.0 → 2026.10.0 — sudosubin/agents.nix0 reactions
- Oct 13, 2026M19 stage 4: control-plane simplification decisions (containerized supervisor, embedded store, Hermes pin) — letya999/hermes-hub0 reactions · 2 comments
- Oct 12, 2026Add NanoClaw harness detection — auron-labs/harness-detect0 reactions
- Oct 11, 2026[App Request] NanoClaw — getumbrel/umbrel-apps0 reactions
- Oct 11, 2026Refresh latest contributions and organize profile projects — ogarciarevett/ogarciarevett0 reactions
- Oct 11, 2026docs(promotion): Step 9 — move the pin from v2.4.0 to v2026.10.0 — prathish-ks/isthmus0 reactions
- Oct 10, 2026chore(updates): weekly scan 2026-W41 — tiberiuarva/enterpriseaitools0 reactions · 1 comment
- Oct 4, 2026docs(env): CLAUDE_CODE_AUTO_COMPACT_WINDOW can be set on the host after v2.4.0 — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 4, 2026docs(upgrading): setup commits its own files; never stash installed skill files — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 4, 2026docs(upgrading): validation refreshes the selected gateway on gateway-skill changes — glifocat/nanoclaw-docs0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.nanocoai.nanoclaw: 2.3.0 → 2.4.0 — sudosubin/agents.nix0 reactions
- Oct 2, 2026fix(e2e): accept NanoClaw setup's own commits after the tested commit — nanocoai/nanoclaw-oss-dev-toolssays it tested it0 reactions
- Oct 1, 2026Dependency advisories still open on v0.52.0 (grpc, x/crypto, otel log, go-archive) — paradigmxyz/iron-proxy0 reactions
- Sep 30, 2026[Candidate] nanocoai/nanoclaw - large collection (63 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 30, 2026agent-skills.github.nanocoai.nanoclaw: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Sep 27, 2026[Plugin]: NanoClaw — omacom/omarchy-plugin-marketplace0 reactions · 11 comments
- Sep 27, 2026docs(promotion): G4 — move the pin from v2.3.0 to v2.4.0 — prathish-ks/isthmus0 reactions
- Sep 13, 2026feat(e2e): supervise provider authentication in the public wizard — nanocoai/nanoclaw-oss-dev-tools0 reactions
- Sep 2, 2026Suggest: nanocoai/nanoclaw — haggaishachar/awesomemap0 reactions · 1 comment
- Aug 31, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 30, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 29, 2026candidate: add-wechat — BigPengSays/awesome-creator-skills0 reactions
- Aug 25, 2026harvest: world watch — SaneSanders/noemium0 reactions
- Aug 24, 2026Upstream update detected: plan a sandbox refresh (2026-08-24) — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: chat SDK dependency bump 4.29.0 -> 4.38.1 — nanocoai/nanoclaw#3460 / #3461 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: send_message double-delivery with mid-turn message blocks — nanocoai/nanoclaw#3462 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: messages_in UNIQUE-constraint crash on retry — nanocoai/nanoclaw#3457 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: Discord approval button custom_id corruption — nanocoai/nanoclaw#3185 / #3458 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Upstream: claim-stuck watchdog kills busy (not stuck) turns — nanocoai/nanoclaw#3455 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 23, 2026Track: upstream nanoclaw fixes opened 2026-08-22/23 — DawoudIO/nanoclaw-community-agents0 reactions
- Aug 20, 2026AI Agent Ecosystem Daily 2026-08-21 — huang-yi-dae/agents-radar0 reactions
- Aug 19, 2026fix(pairing): accept spaced approval codes — NousResearch/hermes-agent0 reactions · 1 comment
- Aug 13, 2026Add NanoClaw to compatible clients — agentplugins/agent-plugins-site0 reactions · 2 comments
- Aug 2, 2026chore(sync): update upstream pins for nanoclaw-aio — JSONbored/nanoclaw-aio0 reactions · 1 comment
- Jul 24, 2026🦞 OpenClaw 生态日报 2026-07-24 — zx0828/big_model_radar0 reactions
- Jul 20, 2026🦞 OpenClaw 生态日报 2026-07-20 — 96loveslife/big_model_radar0 reactions
- Jul 19, 2026Add NanoClaw installation instructions to README — Kehillat-Eretz-Hemdah/keh-agent-plugins0 reactions
On Bluesky · 4
- Jun 2, 2026📦 nanocoai / nanoclaw ⭐ 29,631 (+44) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in containers for security. Connects to… — @github-trending-js.bsky.social2 likes and reposts
- Aug 30, 2026🚀 GitHub Intelligence Drop nanoclaw (TypeScript • 🟢) ⭐ 30.6K → https://github.com/nanocoai/nanoclaw heroui (TypeScript • 🟢) ⭐ 30.5K →… — @githubfeed.bsky.social1 likes and repost
- May 20, 2026📦 nanocoai / nanoclaw ⭐ 28,995 (+59) 🗒 TypeScript A lightweight alternative to OpenClaw that runs in containers for security. Connects to… — @github-trending-js.bsky.social1 likes and repost
- Aug 11, 2026My big gripe with a lot of those agent apps is that they basically just promote “go ask AI to configure x”. Like, if NanoClaw install… — @soulfire.jarexibackblaze.org0 likes and reposts · 3 replies
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- microsoft/amplifier-app-nanoclaw★ 420% same
- TomGranot/groupguard★ 4100% same
- prathish-ks/isthmus★ 2100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- container/CLAUDE.mdCLAUDE.md
- add-anydocSkill
- add-atomic-chat-toolSkill
- add-clidashSkill
- add-codexSkill
- add-dashboardSkill
- add-deltachatSkill
- add-dial-numberSkill
- add-dialSkill
- add-dial-toolSkill
- add-discordSkill
- add-emacsSkill
- add-gchatSkill
- add-githubSkill
- add-iron-proxySkill
- add-karpathy-llm-wikiSkill
- add-linearSkill
- add-macos-statusbarSkill
- add-matrixSkill
- add-mattermostSkill
- add-mnemonSkill
- add-ollama-providerSkill
- add-ollama-toolSkill
- add-onecliSkill
- add-opencodeSkill
- add-resendSkill
- add-rtkSkill
- add-signalSkill
- add-slackSkill
- add-tavily-toolSkill
- add-teamsSkill
- add-telegramSkill
- add-vercelSkill
- add-webexSkill
- add-wechatSkill
- add-whatsapp-cloudSkill
- add-whatsappSkill
- customizeSkill
- debugSkill
- init-first-agentSkill
- learnSkill
- manage-channelsSkill
- manage-mountsSkill
- migrate-from-openclawSkill
- migrate-from-v1Skill
- migrate-memorySkill
- migrate-nanoclawSkill
- migrate-slack-agentsSkill
- setupSkill
- slack-a2a-roomsSkill
- slack-agent-flowSkill
- update-nanoclawSkill
- update-skillsSkill
The file
We split this skill into the rules it gives an agent
6 rules. 2 are common, 0 are distinctive, and 4 are very specific to this project.
2
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 159
Stop and wait for the user to confirm Full Disk Access is granted before continuing.
- Common: line 190
Run the device-login flow.
- Very specific: line 201
If the login times out, the code expired (~30 min) — re-run the step.
- Very specific: line 260
If you're in the middle of /setup, return to the setup flow now.
- Very specific: line 326
Adapter installed but silent: Run pnpm exec vitest run src/channels/imessage-registration.test.ts — red means the barrel import or the …
- Very specific: line 329
If green, confirm the backend connected (hosted: grep "Photon channel connected" logs/nanoclaw.log), restart the service (bash …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add iMessage
NanoClaw talks to iMessage through a single imessage channel with two
pluggable backends:
- Local (this Mac) — the Chat SDK bridge over
chat-adapter-imessage, reading this Mac's signed-in iMessage account (chat.db). macOS only; the Node binary needs Full Disk Access. - Hosted iMessage (via photon.codes) — a native adapter over Photon's
spectrum-tsgRPC stream. The hosted service owns the iMessage line, so there's no Mac relay, webhook, or public URL. Works on any OS, and a device-login flow provisions everything for you.
Both register the same imessage channel type; only one runs per install.
NanoClaw doesn't ship channels in trunk — this skill copies the unified
imessage adapter in from the channels branch. Full reference:
docs/imessage.md.
The mechanical steps under Apply carry nc: directive fences: an agent reads
the prose and applies them, and a parser can apply them deterministically from
the same document. Every directive is idempotent, so the whole skill is safe to
re-run; anything a parser can't apply falls back to the prose beside it.
Apply
1. Choose a backend
Pick the backend first — it decides which package gets installed and which walkthrough runs below (the other backend's steps are skipped):
How should iMessage run — `local` (this Mac's signed-in iMessage account; macOS only, needs Full Disk Access) or `hosted` (a managed line via photon.codes; works on any OS)?The local backend only works on a Mac — it reads this machine's iMessage
chat.db directly, and there is no such database off macOS. On any other OS,
stop here and choose hosted instead; otherwise you'd write a local config
that can never receive a message:
[ "$(uname)" = Darwin ]2. Copy the adapter
Fetch the channels branch and copy the unified iMessage adapter and its tests
into src/channels/:
src/channels/imessage.ts
src/channels/imessage.test.ts
src/channels/imessage-registration.test.ts3. Register the adapter
Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:
import './imessage.js';4. Install the chosen backend's package
Pinned to an exact version — the supply-chain policy rejects ranges and
latest. Install only the chosen backend's package.
Local — the Chat SDK iMessage adapter. Its chat.db reader
(@photon-ai/imessage-kit) brings its own better-sqlite3 12.x, which ships no
prebuilt binary, and NanoClaw doesn't run dependency build scripts, so that
copy can't open the database. First point the reader at NanoClaw's own
prebuilt better-sqlite3 ($better-sqlite3 is pnpm's reference to the version
NanoClaw pins). The reinstall applies it to an install that already has the
adapter, since the step below skips a package that is already present:
pnpm pkg set 'pnpm.overrides[@photon-ai/imessage-kit>better-sqlite3]=$better-sqlite3'
pnpm install --no-frozen-lockfilechat-adapter-imessage@0.1.1Hosted — Photon's Spectrum SDK:
spectrum-ts@11.0.0Pin exactly.
spectrum-tsships breaking majors (v11 is what the adapter targets); don't@latest. NanoClaw's pnpm gate (minimumReleaseAge) requires a version ≥3 days old — both pins clear it. A fresher pin needs human sign-off before aminimumReleaseAgeExcludeentry (CLAUDE.md → Supply Chain Security).
5. Build and validate
Build guards the typed createChatSdkBridge(...) core call used by the local
backend, and the registration test proves the channel is wired:
pnpm run buildpnpm exec vitest run src/channels/imessage-registration.test.tsBoth must be clean. imessage-registration.test.ts imports the real channel
barrel and asserts the registry contains imessage — it goes red if the
import './imessage.js'; line is missing or the barrel fails to evaluate. The
adapter loads neither backend's SDK at import (hosted spectrum-ts only in
setup(), local chat-adapter-imessage only in the factory), so the test
needs no package.
For the hosted backend, also run the full adapter suite — it includes an
integration block that exercises the real installed spectrum-ts (version,
exports, builders) and auto-skips when the package is absent:
pnpm exec vitest run src/channels/imessage.test.tsFor the local backend, check that the chat.db reader's better-sqlite3
loads under Node. It fails with Could not locate the bindings file when that
copy has no binary, meaning step 4's override didn't land: re-run that
override step, then this check:
node --input-type=module -e 'import { createRequire } from "node:module"; const kit = createRequire(import.meta.resolve("chat-adapter-imessage")).resolve("@photon-ai/imessage-kit"); const Database = createRequire(kit)("better-sqlite3"); new Database(":memory:").close();'Local backend: Full Disk Access (macOS)
The adapter reads this Mac's chat.db, which requires Full Disk Access granted
to the Node binary the host runs under. The Node path is buried deep (e.g.
~/.nvm/versions/node/v22.x.x/bin/node), so open its folder in Finder to make
the drag-and-drop target obvious. Harmless off a desktop (SSH/headless) — it
just no-ops:
open "$(dirname "$(which node)")" 2>/dev/null || trueThen tell the user:
Grant Full Disk Access to Node so iMessage can read your chat history:
1. Open System Settings > Privacy & Security > Full Disk Access.
2. Click +, then drag the "node" file from the Finder window that just opened.
3. Toggle it on, then come back here.Stop and wait for the user to confirm Full Disk Access is granted before continuing.
Now select the local backend in .env. The configure script owns this
upsert-and-remove (a plain set-if-absent env write can neither replace a stale
value nor delete a key, and a lingering hosted selector would shadow the
choice):
bash setup/channels/imessage-configure.sh localHosted backend: device login (via photon.codes)
The provisioning flow needs the phone number you send iMessages from — it registers that number with your project so the hosted line recognises you:
The phone number you iMessage from, in E.164 format — + followed by country code and number, no spaces or dashes (e.g. +14155551234).Tell the user what's about to happen:
Connect your hosted iMessage line (photon.codes):
1. A login URL and a short code will print below.
2. Open the URL in a browser, approve the device, and enter the code.
3. Setup then registers your number and prints the iMessage line Photon assigned to it. Send one message from your phone to that line — a number only enters routing after it has texted its line once.
4. Once the opt-in lands, setup finishes on its own and confirms your agent's iMessage number.Run the device-login flow. It provisions the project, reuses its current secret
(regenerating only when the API returns none), registers your number, prints
the line to text and waits until that message opts the number in, and surfaces
the iMessage number you'll use — writing
PHOTON_PROJECT_ID + PHOTON_PROJECT_SECRET to .env and the assigned number
to data/photon-auth.json:
pnpm exec tsx scripts/photon-setup.ts setup --phone {{owner_handle}} --embeddedIf the login times out, the code expired (~30 min) — re-run the step; a stored
token is reused. Check state any time with
pnpm exec tsx scripts/photon-setup.ts status.
Then select the hosted backend in .env — the Photon credentials already imply
hosted, but the explicit selector avoids ambiguity if local keys linger:
bash setup/channels/imessage-configure.sh hostedRestart
Restart the service so it loads the iMessage adapter and the backend config you just wrote, and wait for its CLI socket before wiring:
bash setup/lib/restart.shFor the hosted backend, confirm the connection came up:
grep "Photon channel connected" logs/nanoclaw.log | tail -1.
Resolve your iMessage handle
The agent greets you in the iMessage conversation tied to the handle you message from — that handle is both your identity and the conversation address. The hosted flow already collected it above; for the local backend, resolve it now (email works too — whatever iMessage recognises):
The phone number or email you iMessage from — a +E.164 number (e.g. +14155551234) or an email / Apple ID (e.g. you@icloud.com).Hosted first contact: text your agent's iMessage number once (it was
printed above; also stored in data/photon-auth.json) before expecting any
message from it. This first text is required, not just convenient — the hosted
line can only message numbers that have already texted it (cold outbound is
rejected with Target not allowed for this project). Tell the user:
Send one text — anything — from your phone to your agent's iMessage number (printed above). The hosted line can only reply to numbers that have texted it first, so its welcome message needs yours to arrive first.iMessage is a native channel: it sends the raw handle as the conversation address, with no channel prefix — so the messaging-group platform id is that handle as-is:
echo "{{owner_handle}}"owner_handle and platform_id are what the owner-wiring step needs. The
welcome iMessage goes out through the adapter once the service is running — on
the local backend that needs Full Disk Access granted (above); on the hosted
backend it goes out via your photon.codes line after your first text.
Next Steps
If you're in the middle of /setup, return to the setup flow now. Otherwise
/init-first-agent stands up an agent on your iMessage DM, or /manage-channels
wires it to an existing agent group.
Channel Info
- type:
imessage(one channel; the backend is local or hosted) - terminology: iMessage has 1:1 "chats" (DMs) and group chats. Photon (hosted) calls each conversation a "space".
- platform-id-format: DM = your bare handle (E.164 phone, or email for
local) — direct-addressable; the user id is
imessage:<handle>. Group (hosted) = the opaque Spectrum space id. - how-to-find-id: DMs use the counterpart's phone/email. Groups (hosted) are
discovered on first message —
pnpm exec tsx scripts/q.ts data/v2.db "SELECT platform_id, name FROM messaging_groups WHERE channel_type='imessage'" - supports-threads: no
- typical-use: Interactive 1:1 chat — personal messaging
- default-isolation: One agent per install. Multiple DMs with the same
operator can share an agent group; groups with other people should typically
use
isolatedsession mode.
Hosted features
Markdown (native; PHOTON_MARKDOWN=false for plain text), file attachments in
and out (inbound staged into the session inbox, capped by
PHOTON_MAX_INLINE_ATTACHMENT_BYTES, default 20 MB), tapback reactions, read
receipts, typing indicators, and ask_user_question via /approve / /reject
slash replies. Optional .env: PHOTON_MARKDOWN, PHOTON_TELEMETRY,
PHOTON_MAX_INLINE_ATTACHMENT_BYTES, PHOTON_DASHBOARD_HOST,
PHOTON_SPECTRUM_HOST. Full table in docs/imessage.md.
Troubleshooting
The backend answer is rejected. It must be exactly local or hosted,
lowercase. Local only exists on macOS — it reads this Mac's chat.db directly —
so on any other OS the platform check stops you and hosted is the only path.
Local: outgoing works but nothing ever arrives. Full Disk Access wasn't
granted to the actual Node binary the service runs under — with nvm the path
changes per Node version (~/.nvm/versions/node/v22.x.x/bin/node), so an old
grant silently stops covering a new binary. Re-open System Settings → Privacy &
Security → Full Disk Access, add the binary at $(which node), then restart
the service.
Local: Failed to open database … Could not locate the bindings file. The
chat.db reader is on a better-sqlite3 copy with no native binary, from an
install made before step 4 set its override. Re-run /add-imessage with the
local backend: step 4 sets the override and reinstalls, and the skill
restarts the service.
spectrum-ts not installed (hosted) — re-run step 4
(pnpm install spectrum-ts@11.0.0) and restart.
Device login times out (hosted) — the code expires in ~30 min; re-run the login step (a stored token is reused).
Target not allowed for this project (hosted) — intended: the line only
messages numbers that have texted it first. Text the agent's number once, then
retry (a welcome DM queued before that first text simply fails delivery).
Your handle is rejected at the resolve step. It must be a bare +E.164
number (+14155551234 — no spaces, dashes, or parentheses) or, on the local
backend, an email/Apple ID. Use the exact handle you actually send iMessages
from — a number-vs-email mismatch means your messages never map to the wired
conversation.
Adapter installed but silent. Run
pnpm exec vitest run src/channels/imessage-registration.test.ts — red means
the barrel import or the package install drifted, so re-run the Apply steps.
If green, confirm the backend connected (hosted:
grep "Photon channel connected" logs/nanoclaw.log), restart the service
(bash setup/lib/restart.sh), then check logs/nanoclaw.error.log.
More in docs/imessage.md.
Upgrading spectrum-ts (hosted)
spectrum-ts is pinned exactly because it ships breaking majors. To upgrade,
read the release notes for
every version between the pins, bump the pin, reconcile
src/channels/imessage.ts against the new typings, then pnpm run build and
pnpm exec vitest run src/channels/imessage.test.ts. See
docs/imessage.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

