webhook-development

webhook-development is a skill for Claude Code, Codex from soulcodex/agentic. It costs 56 tokens per session (1,053 once invoked), scanned A, original, MIT.

A guide for building webhook systems. Webhooks are HTTP messages that let one service notify another when an event happens.

In plain words
What is it for?
Use it to receive or send webhooks with HMAC signature checks, immediate acknowledgement, queued processing, idempotency, retries with backoff, and dead-letter handling.
Why use it?
It addresses common delivery and security problems, including forged requests, duplicate events, temporary failures, and events that cannot be processed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to receive or send webhooks with HMAC signature checks, immediate acknowledgement, queued processing, idempotency, retries with backoff, and dead-letter handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soulcodex/agentic/webhook-development
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 soulcodex/agentic --skill webhook-development
Clone the repo
git clone --depth 1 https://github.com/soulcodex/agentic

Made for: Claude Code, Codex.

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 webhook-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/soulcodex/agentic/webhook-development/github.svg)](https://agentmods.dev/skills/soulcodex/agentic/webhook-development)
Your own site
<a href="https://agentmods.dev/skills/soulcodex/agentic/webhook-development"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/webhook-development/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 webhook-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/soulcodex/agentic/webhook-development"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/webhook-development.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,053 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.01053
Opus 5.5 $0.00022 $0.00421
Sonnet 5.5 $0.00011 $0.00211
Haiku 4.5 $0.00006 $0.00105

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

Security

Grade A, and why

webhook-development scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/backend/webhook-development/SKILL.md · 126 lines

How it starts

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

Webhook Development Skill

Step 1 — Receiving Webhooks

Verify the signature first — before any processing:

// HMAC-SHA256 verification (Go)
func verifySignature(body []byte, signatureHeader, secret string) bool {
    mac := hmac.New(sha256.New, []byte(secret))
    mac.Write(body)
    expected := "sha256=" + hex.EncodeToString(mac.Sum(nil))
    return hmac.Equal([]byte(expected), []byte(signatureHeader))
}
// HMAC-SHA256 verification (TypeScript)
async function verifySignature(body: string, signature: string, secret: string): Promise<boolean> {
  const key = await crypto.subtle.importKey('raw', new TextEncoder().encode(secret),
    { name: 'HMAC', hash: 'SHA-256' }, false, ['sign'])
  const mac = await crypto.subtle.sign('HMAC', key, new TextEncoder().encode(body))
  const expected = 'sha256=' + Array.from(new Uint8Array(mac)).map(b => b.toString(16).padStart(2, '0')).join('')
  return expected === signature
}

Respond immediately — enqueue for async processing:

POST /webhooks/stripe
  1. Read raw body (before any parsing)
  2. Verify HMAC-SHA256 signature → 401 if invalid
  3. Return HTTP 200 immediately
  4. Enqueue event → message queue (SQS, RabbitMQ, etc.)

Never do database writes or downstream API calls inside the HTTP handler — the sender's retry logic will time out.

Step 2 — Processing Webhooks (Idempotent Consumer)

Worker loop:
  1. Dequeue event
  2. Check idempotency key (event_id) in processed_events table
     → if found: ack and skip
  3. Begin transaction
     4. Process business logic
     5. Insert event_id into processed_events
  6. Commit
  7. Ack message

Idempotency key: use the sender's event ID (e.g., Stripe's evt_xxx, GitHub's X-GitHub-Delivery header). If the sender does not provide one, derive it from a hash of the payload.

Retry with exponential backoff:

Attempt 1: immediate
Attempt 2: +1 second
Attempt 3: +5 seconds
Attempt 4: +30 seconds
Attempt 5: → dead-letter queue

Read the full file on GitHub · 126 lines

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 · 126 lines · 56 tokens per session scan A 403636ceda45

Subscribe to this mod's changes

webhook-development is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 28d ago), licensed MIT. It adds 56 tokens to every session and 1,053 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

write-microflows

Microflow syntax reference in MDL — every activity type, control flow, expressions, and the mistakes that fail mxcli check. Use before writing any CREATE MICROFLOW, and when debugging a microflow syntax error.

mendixlabs/mxcli · 49 tokens

java-actions

Create and call custom Java actions — extending Mendix with server-side Java, and invoking those actions from microflows in MDL. Use when logic needs a Java library, an algorithm microflows cannot express, or an integration only available in Java.

mendixlabs/mxcli · 52 tokens

json-structures-and-mappings

Create and manage JSON structures, import mappings and export mappings in MDL, plus the domain-model shapes they map onto. Use when turning a JSON payload into entities, mapping a REST or queue response, or exporting objects as JSON.

mendixlabs/mxcli · 53 tokens

database-connections

Connect a Mendix app to an external database over JDBC with the External Database Connector, and define the queries microflows run against it. Use when the app must read or write Oracle, PostgreSQL, MySQL or SQL Server directly from a microflow.

mendixlabs/mxcli · 55 tokens

migrate-k2-nintex

Assess and migrate K2 / Nintex K2 applications to Mendix — SmartObjects to domain models, SmartForms to pages, K2 workflows to microflows and Mendix workflows. Use when analysing or converting a K2 application.

mendixlabs/mxcli · 55 tokens

rest-client

Call external REST APIs from Mendix — the three approaches (inline REST CALL, consumed REST client document, generated from OpenAPI) and how to choose. Use when integrating with any external REST API, or when a published REST service's custom-authentication microflow reads a token from a header or the query string.

mendixlabs/mxcli · 66 tokens