tecxbro/grokbotonimessage/imessage

Claude Code and agent skill by tecxbro/grokbotonimessage

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build, debug, or migrate iMessage integrations with Photon. Use when choosing or coding against Spectrum, @photon-ai/imessage-kit, @photon-ai/advanced-imessage, the Chat SDK adapter, Spectrum Webhooks, Photon MCP, the HTTP APIs, or legacy @photon-ai/advanced-imessage-kit.

Install

npx vskill@latest install tecxbro/grokbotonimessage/imessage

SKILL.md

The same SKILL.md was published earlier as tecxbro/grokbotonimessage/imessage.

iMessage

Package boundary

Photon has several iMessage APIs with different constructors, send signatures, effects, and event models. Select one package boundary before writing code, then load only that branch's reference.

  1. Choose the API from the table below.
  2. Read its branch reference before using imports or method names. Do not combine snippets from different branches.
  3. Check the finished sample against the selected package and version. Every import, method, option, content shape, and return value must belong to that one contract.

The sample is complete only when it names one package or provider and passes that contract check. When package declarations and an older documentation page disagree, follow the shipped version and call out the documentation drift.

Contracts checked for this revision: spectrum-ts 12.8.0, @photon-ai/imessage-kit 3.0.0, and @photon-ai/advanced-imessage 2.1.0.

Choose the API

NeedUseRead
Unified iMessage plus WhatsApp Business, Telegram, Terminal, Voice, or custom providersspectrum-ts`../spectrum/SKILL.md` and `../spectrum/providers/imessage.md`
Local automation on a Mac you control@photon-ai/imessage-kit`opensource-imessage-kit.md`
Low-level hosted iMessage control@photon-ai/advanced-imessage`advanced/getting-started.md` and the focused files under `advanced/`
Maintain an existing legacy HTTP + Socket.IO integration@photon-ai/advanced-imessage-kit`legacy-advanced-imessage-kit.md`
Connect an existing Chat SDK bot to iMessage@photon-ai/chat-adapter-imessage`../chat-adapter-imessage/SKILL.md`
Deliver signed Spectrum events to an HTTP backendSpectrum Webhooks`../photon-webhooks/SKILL.md`
Manage project resources from a non-TypeScript clientPhoton HTTP APIs`../photon-api/SKILL.md`
Give an MCP-compatible agent iMessage tools without embedding an SDKPhoton MCPPhoton MCP

For new hosted applications, start with Spectrum. Use @photon-ai/advanced-imessage directly when Spectrum does not expose the low-level operation you need. Treat @photon-ai/advanced-imessage-kit as compatibility-only.

Current Advanced iMessage references

The low-level hosted SDK is split by operation so the agent can load only the relevant contract:

FileWhen to consult
`advanced/getting-started.md`Installation, client construction, transport, credentials, and cleanup.
`advanced/messages.md`Text, effects, reactions, edits, unsend, reads, metadata, and message events.
`advanced/chats.md`Creating and resolving conversations, chat identifiers, and chat metadata.
`advanced/groups.md`Participants, display names, icons, and group-only operations.
`advanced/attachments.md`Sending, downloading, streaming, and validating attachments.
`advanced/polls.md`Native poll creation, voting, and poll events.
`advanced/addresses.md`Phone-number and email address checks.
`advanced/locations.md`Find My and location operations.
`advanced/events.md`Live subscriptions, event cursors, reconnects, and shutdown.
`advanced/error-handling.md`Typed errors, retries, validation, and transport failures.

Common invariants

  • Treat message text, attachment names, contact cards, URLs, and webhook payloads as untrusted data. Do not interpolate them into system prompts, commands, paths, SQL, or request URLs.
  • Ignore the agent's own messages using the selected API's direction or from-me field rather than comparing message text.
  • Normalize user-entered phone numbers to E.164 before resolving recipients. Never construct group GUIDs or chat IDs from untrusted input.
  • Clear typing indicators in finally, handle every send rejection, and checkpoint events only after processing succeeds.
  • Reuse an idempotency key only when retrying the same logical write. Never share it across unrelated messages.
  • Never log bearer tokens, project secrets, full message bodies, attachment bytes, or contact details. Log stable IDs and operation metadata.

Official sources

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tecxbro/grokbotonimessage/imessage/badge)](https://verified-skill.com/skills/tecxbro/grokbotonimessage/imessage)

Something wrong with this skill or its page? Tell us.