receiving-webhooks

receiving-webhooks is a skill for Claude Code from svix/ai. It costs 56 tokens per session (1,552 once invoked), scanned C, original, MIT.

Guidance for receiving webhooks, which are HTTP requests sent to your application by an outside service.

In plain words
What is it for?
Verifying signatures, reading the original request body, preventing replay attacks, processing asynchronously, handling retries, and disabling failing endpoints.
Why use it?
It helps protect handlers from forged, repeated, malformed, or unreliable requests while keeping processing and retries manageable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the svix plugin — 2 skills shipped together , and of svix

Good fit Verifying signatures, reading the original request body, preventing replay attacks, processing asynchronously, handling retries, and disabling failing endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/svix/ai/receiving-webhooks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add svix/ai --skill receiving-webhooks
Clone the repo
git clone --depth 1 https://github.com/svix/ai

Made for: Claude Code.

Or install svix, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for receiving-webhooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/svix/ai/receiving-webhooks/github.svg)](https://agentmods.dev/skills/svix/ai/receiving-webhooks)
Your own site
<a href="https://agentmods.dev/skills/svix/ai/receiving-webhooks"><img src="https://agentmods.dev/badge/skills/svix/ai/receiving-webhooks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for receiving-webhooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/svix/ai/receiving-webhooks"><img src="https://agentmods.dev/badge/skills/svix/ai/receiving-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,552 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01552
Opus 5.5 $0.00022 $0.00621
Sonnet 5.5 $0.00011 $0.00310
Haiku 4.5 $0.00006 $0.00155

Measured 1mo ago against content hash 62ee939641e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

receiving-webhooks scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

1. **Extract the secret bytes.** The signing secret is prefixed with `whsec_`;

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Replaying old captured payloads with curl.** Verification rejects stale
skills/receiving-webhooks/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Receiving Webhooks

A webhook is just an HTTP POST from a source you don't control. Treat every request as untrusted until its signature is verified. These guidelines apply to any handler consuming webhooks, regardless of which provider or platform sends them.

Header names, secret formats, and tolerances vary by provider. The names below follow the Standard Webhooks specification; always confirm the exact header names, signing scheme, and replay window against your provider's documentation before writing code.

Standard Webhooks

Standard Webhooks is an open specification plus reference libraries in most major languages for sending and verifying webhooks securely and consistently. Instead of every provider inventing its own header names and signing scheme, it defines a single, interoperable format. When your provider supports it, prefer the official standardwebhooks library over hand-rolled verification, it validates the signature, enforces the timestamp tolerance, and guards against replay attacks for you. The examples below use it.

If your provider sends webhooks through Svix (the svix-id, svix-timestamp, and svix-signature headers are the tell), use the official Svix SDK instead.

The non-negotiables

  1. Verify the signature on every request. An unverified webhook is an anonymous internet POST. Anyone who learns your URL can forge events. Only act on payloads that pass verification.
  2. Verify against the raw request body. The signature is computed over the exact bytes sent. Any framework that parses JSON and re-stringifies it breaks verification. Read the unprocessed body.
  3. Return a 2xx within seconds. Anything else, including 3xx redirects, is typically treated as a failure and retried. Push heavy work async.

Handler shape

  1. Read the raw body. Do not parse JSON before verification.
  2. Verify the signature using the provider's official library (or its documented scheme), passing the signature headers and your signing secret. On failure, return 400.
  3. Acknowledge fast. Return 2xx (e.g. 204) immediately; do real work in a background job/queue if it can exceed a second or two.
  4. Branch on the payload (event type) and process.

Read the full file on GitHub · 146 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 146 lines · 56 tokens per session scan C 62ee939641e9

Subscribe to this mod's changes

receiving-webhooks is a skill published in the GitHub repository svix/ai (18 stars, last pushed 22d ago), licensed MIT. It adds 56 tokens to every session and 1,552 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (harvests environment variables, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

suap-api

Consume the SUAP (Sistema Unificado de Administração Pública) REST API v2 used by Brazilian federal institutes (IFRN, IFF, IFS, etc.) — obtain a JWT via /api/v2/autenticacao/token/, discover real endpoints via /api/openapi.json, and pull student data (boletim, períodos letivos, dados do aluno). Covers the WAF…

pedroiff0/awesome-skills · 154 tokens

financas-app

Corrigir, estender e validar o app de finanças pessoais (Node/Express + EJS + MongoDB + Docker). Cobre a arquitetura de porta única 4460 com demo via /demo, o fluxo de correção de UI (rebuild de AMBOS os containers + ASSETVERSION), validação por browser headless no IP docker, verificação ad-hoc e o padrão…

pedroiff0/awesome-skills · 125 tokens

suap-iff-api

Authenticate to and consume the SUAP IFF (Instituto Federal Fluminense) API v2 from the CLI — obtain the JWT access/refresh token via matricula+senha, then fetch student data (periodos letivos, dados do aluno, boletim). Use when the user has a suap.iff.edu.br matricula+senha and wants to extract academic data…

pedroiff0/awesome-skills · 102 tokens

express-csp-runtime-config

How to pass server-side runtime config (API prefix, feature flags, user id, CSRF token) from an Express/EJS app to client JS when a strict Content-Security-Policy is in force (helmet default scriptSrc self, with no unsafe-inline). Use this whenever you need to inject a value the browser JS must read at runtime, but…

pedroiff0/awesome-skills · 87 tokens

nextjs-app-router-patterns

Architect and implement modern Next.js App Router applications with Server Components (RSC), Server Actions, Parallel/Intercepting Routes, and Streaming SSR.

pedroiff0/awesome-skills · 36 tokens

serving-llms-vllm

Use when deploying production LLM APIs, optimizing inference latency/throughput, or serving models with limited GPU memory. Supports OpenAI-compatible endpoints, quantization (GPTQ/AWQ/FP8), and tensor parallelism.

pedroiff0/awesome-skills · 27 tokens