tecxbro/grokbotonimessage/photon-webhooks
Claude Code and agent skill by tecxbro/grokbotonimessage
- community
Checking that the SKILL.md file is still in the repository.
Build or review Spectrum Webhook consumers. Use for public HTTPS endpoints, serverless routes, raw request bodies, HMAC-SHA256 verification, `X-Spectrum-*` headers, timestamp freshness, webhook registration, one-time signing secrets, retries, at-least-once delivery, duplicate events, queues, rotation, lost secrets, and troubleshooting.
Install
npx vskill@latest install tecxbro/grokbotonimessage/photon-webhooksSKILL.md
The same SKILL.md was published earlier as tecxbro/grokbotxphoton/photon-webhooks.
Photon Webhooks
Spectrum Webhooks deliver project events to an existing HTTPS backend. Use them when an application needs signed inbound HTTP delivery instead of a long-lived Spectrum message stream.
Delivery contract
A correct webhook consumer preserves the original request bytes, verifies the signature before parsing JSON, checks timestamp freshness, acknowledges quickly, and makes downstream processing idempotent.
Keep these boundaries explicit:
- Every registered URL has its own signing secret.
- The signing secret is returned once; store it in a secret manager.
- Delivery is at least once, so duplicate events are expected.
- Return a successful response quickly and move slow work to a queue.
- A webhook is an inbound delivery mechanism, not a general public HTTP send-message endpoint. Use Spectrum or a low-level SDK for outbound messaging.
Implementation procedure
When asked to add Spectrum Webhooks to an application:
- Register a public HTTPS URL through the current Spectrum API.
- Capture the one-time signing secret without printing or committing it.
- Configure the framework to preserve the raw request body.
- Verify the timestamp and HMAC before parsing or acting on the payload.
- Deduplicate by the delivery identifier and the underlying event or message identifier.
- Return
2xxbefore slow application work begins. - Process the verified event in a queue or background task.
- Exercise a duplicate delivery and a failed-delivery retry before calling the integration complete.
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 | |
|---|---|---|
| `quickstart.md` | Registering a webhook, capturing the secret, creating a minimal endpoint, and validating the first delivery. | |
| `events.md` | Event envelopes, headers, identifiers, content types, and forward-compatible event handling. | |
| `verifying-signatures.md` | Raw-body HMAC verification, timestamp freshness, constant-time comparison, and examples for common runtimes. | |
| `delivery-and-retries.md` | At-least-once delivery, acknowledgement, retry behavior, idempotency, queues, and poison events. | |
| `managing.md` | Listing, registering, deleting, and rotating webhooks through the Spectrum API. | |
| `troubleshooting.md` | Reachability, body mutation, signature failures, duplicate processing, missing secrets, and retry diagnosis. |
See also
- Spectrum Webhooks documentation
- The
spectrumskill forapp.webhook(...)and runtime message handling - The
photon-apiskill for webhook registration and management over HTTPS - The
chat-adapter-imessageskill when Chat SDK should receive iMessage webhook deliveries directly
Security
- Security scanPassed, 95 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-00/references/raw.githubusercontent.com/tecxbro/photon-skills/main/skills/photon-webhooks/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/photon-webhooks)