Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

photon

FreeRuns bundled scriptsNot checked

Photon 2.0: messaging infrastructure for AI agents on iMessage, SMS, WhatsApp Business, Telegram, email and voice. Use this skill whenever someone wants an…

photon-hqby photon-hq★ 15 GitHub stars

About this skill

Photon

Photon is messaging infrastructure for AI agents. One project and one API connect an agent to iMessage, SMS, WhatsApp Business, Telegram, email on your own domain, and phone calls routed to a voice agent over SIP. Photon runs the lines and numbers; the developer writes the agent.

This skill covers Photon 2.0 (the docs label it Beta): the Photon API and its clients, Photon CLI 3.x and the Photon MCP server. Docs: https://photon.codes/docs/beta (any page also has a .md version).

Item Photon 2.0
API https://api.photon.codes, every endpoint under /v1. Send Photon-Version: 2026-07-01 on every request
Hosted MCP server https://mcp.photon.codes/mcp (Streamable HTTP, OAuth, nothing to install)
Local MCP server npm @photon-ai/mcp (stdio, Node.js 22+, account service key)
CLI npm @photon-ai/cli 3.x, command photon (Node.js 22+, or a standalone binary)
Clients TypeScript @photon-ai/api; Python and Rust photonhq-api; Go github.com/photon-hq/api/packages/go
Chat SDK adapter npm @photon-ai/chat-adapter
IDs organization pho_org_, project pho_prj_, user pho_usr_, space pho_spc_, message pho_msg_
Dashboard https://app.beta.photon.codes

On 2.0, iMessage supports text, attachments, voice messages, replies, read receipts and typing indicators. Tapbacks, polls and message effects are 1.0 only for now: if the user needs them, say so before they buy anything.

Is this a 1.0 project?

Photon 1.0 (Spectrum) is a different product with different packages, hosts and credentials. Signs of 1.0: spectrum-ts or @spectrum-ts/*, @photon-ai/advanced-imessage*, @photon-ai/imessage-kit, @photon-ai/chat-adapter-imessage, the host spectrum.photon.codes, SPECTRUM_PROJECT_ID, a project secret sent with HTTP Basic auth, PHOTON_TOKEN or DASHBOARD_TOKEN, and photon projects ... or photon spectrum ... commands. If you see them, don't edit that code with this skill and don't mix the two: read migrate-from-1.md and ask the user what they want.

Route by job

The user wants to Read
Set Photon up, or follow a dashboard prompt or photon.codes/setup.md first-agent.md
Get an agent answering messages on a channel, end to end first-agent.md
Send a message, start a conversation, attachments, typing, read receipts api-and-sdks.md
Receive messages (webhook or event stream), verify signatures events.md
Connect or compare channels, numbers, lines, 10DLC, costs channels.md, then the channel's own file
A message didn't arrive, the agent gets nothing, an error code debugging.md
Manage projects, numbers, keys or webhooks from the terminal, or in CI cli.md
Let an AI client work on their account through MCP mcp.md
Build a Chat SDK bot, or use Convex or Dify chat-sdk.md
Build a product that other organizations install apps.md
Move a 1.0 (Spectrum) integration to 2.0 migrate-from-1.md

What each surface can do

Pick the surface by the job; none of them does everything. Steps only a person can take (approving a sign-in, adding a payment card, Meta's WhatsApp signup, a 10DLC brand's code) happen in the dashboard.

Job CLI 3.x Hosted MCP API and SDK clients
Sign in, list organizations and projects Yes Yes, one organization per connection Needs an account service key or a service identity key
Send, list or read messages; typing; read receipts No Yes Yes
Start a conversation (users and spaces) No Yes Yes
Upload or download attachments No No Yes
Create, list or revoke project API keys Yes No Account service key only
Create a webhook destination, rotate its secret Yes No (list, view, edit, delete only) Yes
Retry a failed webhook delivery No No Yes (retryWebhookDelivery)
Buy an SMS number or dedicated line, assign a shared line Yes Yes Yes
10DLC brands and campaigns No Yes, except entering a brand's verification code Only the brand verification code and assigning a campaign to a number
Voice: inbound SIP destination, outbound SIP credentials Yes No (profiles and line assignments only) Yes
Developer logs, traces, message metrics SQL No Yes Metrics SQL only
Change a plan, payment method, members, SSO, OAuth clients Yes, except SSO No (billing reads only) Partly; prefer the dashboard

There is no photon message command: never invent one. To send from a terminal, use the MCP sendMessage tool or a short script with an SDK client. Hosted MCP tool names are th

Full SKILL.md on GitHub

Install photon in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

assets/setup.mdreferences/api-and-sdks.mdreferences/apps.mdreferences/channels.mdreferences/channels/email.mdreferences/channels/imessage.mdreferences/channels/sms.mdreferences/channels/telegram.mdreferences/channels/voice.mdreferences/channels/whatsapp-business.mdreferences/chat-sdk.mdreferences/cli.mdreferences/debugging.mdreferences/events.mdreferences/first-agent.mdreferences/mcp.mdreferences/migrate-from-1.mdscripts/store-secret.mjs

FAQ

What does the photon skill do?

Photon 2.0: messaging infrastructure for AI agents on iMessage, SMS, WhatsApp Business, Telegram, email and voice. Use this skill whenever someone wants an agent or app to send or answer text messages, an iMessage, SMS, WhatsApp or Telegram bot, a phone number to text from, 10DLC registration, Photon webhooks or the event stream, or to set Photon up from a dashboard prompt or photon.codes/setup.md. Also use it for anything touching the Photon CLI (photon, @photon-ai/cli 3.x), the Photon MCP server (mcp.photon.codes, @photon-ai/mcp), the Photon API (api.photon.codes, @photon-ai/api, photonhq-api), @photon-ai/chat-adapter, Photon Apps, or IDs starting with pho_prj_, pho_sk_ or pho_ask_. Covers setup end to end, sending and receiving, channels, costs, debugging delivery and moving off 1.0. Not for Photon 1.0 code (spectrum-ts, Spectrum, @photon-ai/cli@legacy): that is photon-hq/skill-legacy.

How do I install the photon skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the photon skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare photon with