tecxbro/grokbotonimessage/spectrum
Claude Code and agent skill by tecxbro/grokbotonimessage
- community
Checking that the SKILL.md file is still in the repository.
Build or review messaging agents with Photon Spectrum (`spectrum-ts`). Use for Spectrum setup, messages and content, spaces and users, provider capabilities, iMessage/WhatsApp/Telegram/Terminal/Voice integrations, webhooks, Chat SDK or eve integrations, custom platforms, lifecycle, or production message-processing architecture.
Install
npx vskill@latest install tecxbro/grokbotonimessage/spectrumSKILL.md
The same SKILL.md was published earlier as tecxbro/grokbotxphoton/spectrum.
Spectrum
Spectrum is Photon's unified messaging SDK. Write handler logic against one app.messages stream and deliver it through iMessage, WhatsApp Business, Telegram, Terminal, Voice, or a custom provider. This skill targets [`spectrum-ts`](https://github.com/photon-hq/spectrum-ts) 12.8.0; its code samples are TypeScript.
Contract gate
Identify the provider and load its topic file before writing provider-specific code. A sample is complete only when every import, method, content shape, platform ID, fallback, and thrown error belongs to the installed spectrum-ts contract and the selected provider.
The universal method existing does not prove that every provider implements it. Read `capability-semantics.md` whenever support affects correctness. When the installed package is newer than the version documented here, inspect the installed package and the smallest relevant page from Photon's `llms.txt` before completing the implementation.
How this skill is organized
Each topic lives in its own file in this directory. Read the file relevant to the user's question.
| File | When to consult | |
|---|---|---|
| `getting-started.md` | Installation, the Spectrum() app instance, credentials, telemetry, multi-platform setup, and the core primitives. | |
| `messages.md` | Receiving messages, the Message shape, narrowing on content.type, and filtering the agent's own messages. | |
| `content.md` | Index of outgoing content builders and message actions. Each larger content family has a focused file under content/. | |
| `spaces-and-users.md` | The Space and User interfaces, typing indicators, responding, and creating or resolving conversations. | |
| `reactions-and-replies.md` | Reactions, threaded replies, edits, unsend, their builders, and provider fallback behavior. | |
| `capability-semantics.md` | Native support vs fallback, warn-and-skip, accepted no-op, and thrown errors. | |
| `platform-narrowing.md` | Recovering platform-specific types from generic Spectrum primitives. | |
| `webhooks.md` | Adapting signed HTTP requests into Spectrum events and choosing SDK webhooks vs the standalone webhook service. | |
| `providers/imessage.md` | iMessage cloud/local providers, line allocation, routing, quotas, and the provider-specific feature index. | |
| `providers/whatsapp-business.md` | WhatsApp Business setup, 1:1 conversations, templates, and provider limitations. | |
| `providers/telegram.md` | Telegram setup, conversations, files, reactions, replies, and provider metadata. | |
| `providers/terminal.md` | Terminal TUI setup, interactions, attachments, reactions, replies, and slash commands. | |
| `providers/voice.md` | Spectrum Voice over SIP, inbound and outbound calls, routing, TLS, RTP, and troubleshooting. | |
| `providers/slack.md` | Supplemental guidance for the shipped Slack provider package. | |
| `integrations/chat-sdk.md` | Connecting an existing Chat SDK bot to iMessage through the official adapter. | |
| `integrations/eve.md` | Connecting an eve agent to Photon with the Photon channel, Vercel Connect, portable credentials, and a webhook route. | |
| `custom-events-and-lifecycle.md` | Per-provider event streams, app.stop(), signal handling, and graceful shutdown. | |
| `custom-platforms.md` | Authoring a provider with definePlatform and implementing the required platform contract. | |
| `best-practices.md` | Production architecture patterns: inbound pipelines, recovery and state, idempotent retries, and iMessage deliverability. |
See also
- Spectrum documentation
- `spectrum-ts` on GitHub
- The
photon-cliskill in this repository for project and Spectrum resource administration - The
imessageandwhatsapp-businessskills for low-level platform behavior not exposed by Spectrum
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
- SKILL.md in the repositoryCheckingdocs/worktrees/wt-08/references/skill/github.com/tecxbro/photon-skills/blob/main/skills/spectrum/SKILL.md
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
[](https://verified-skill.com/skills/tecxbro/grokbotonimessage/spectrum)