webhooks

webhooks is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 77 tokens per session (4,165 once invoked), scanned A, original, MIT.

A guide to Shopify webhooks, which are messages Shopify sends when events such as orders, product changes, or customer actions occur. It covers delivery methods, signature checks, retries, payloads, and implementation patterns.

In plain words
What is it for?
Use it to subscribe to Shopify events, verify incoming requests, process webhook payloads, retry failed work, and connect shop activity to other systems.
Why use it?
It helps applications receive Shopify changes reliably and handle failed deliveries, security checks, and event data correctly.

Skill for Claude Code

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

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit Use it to subscribe to Shopify events, verify incoming requests, process webhook payloads, retry failed work, and connect shop activity to other systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/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 khadinakbarlabs/shopify-app-builder --skill webhooks
Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 32 skills, 9 commands, 5 agents.

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 webhooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/webhooks.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/webhooks)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/webhooks"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/webhooks.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,165 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.
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.00077 $0.04165
Opus 5 $0.00039 $0.02083
Sonnet 5 $0.00015 $0.00833
Haiku 4.5 $0.00008 $0.00417

Measured 7d ago against content hash f3312ab84b6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

webhooks 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 7d 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/webhooks/SKILL.md · 631 lines

How it starts

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

Shopify Webhooks Implementation Guide

When to Use This Skill

Use webhooks when you need to:

  • Receive real-time event notifications from Shopify (orders, products, customers, fulfillments, etc.)
  • Sync external systems with Shopify data changes
  • Trigger automated workflows based on shop events
  • Monitor GDPR compliance actions (customer data erasure, shop deletion)
  • Process bulk operations completion
  • Update inventory or pricing in third-party systems

Webhook Delivery Methods

1. HTTPS (Traditional)

Most common delivery method. Webhooks sent as POST requests to your publicly accessible HTTPS endpoint.

Characteristics:

  • Requires public HTTPS endpoint (443, TLS 1.2+)
  • Real-time delivery (within seconds)
  • Max 5 retries over 48 hours (exponential backoff: 10s, 30s, 1m, 2m, 8h)
  • Request timeout: 30 seconds
  • Payload size: max 2MB
  • Rate limiting: respect Shopify API rate limits

Configuration Example:

{
  "deliveryMethod": {
    "https": {
      "address": "https://myapp.example.com/webhooks/shopify"
    }
  },
  "query": "subscription { event { id occurredAt } }",
  "filter": "orders/created"
}

2. AWS EventBridge

Asynchronous delivery via AWS EventBridge. Events queued in partner event bus.

Characteristics:

  • No public endpoint needed
  • Queued delivery (managed by EventBridge)
  • Scalable, event-sourcing ready
  • Requires AWS EventBridge partner event bus setup
  • Lower operational overhead
  • Better for high-volume events

Setup Steps:

# 1. Shopify creates AWS partner event bus in your account
# 2. Your app subscribes to webhooks via EventBridge configuration
# 3. Events appear in partner event bus: aws.partner/shopify.com/[app-id]/[account-id]

# 3. Create rule to route to your targets (SQS, Lambda, etc.)
aws events put-rule \
  --name shopify-webhook-router \
  --event-bus-name aws.partner/shopify.com/12345/default \
  --state ENABLED

Example Event:

{
  "detail-type": "orders/created",
  "detail": {
    "id": "gid://shopify/Order/123456",
    "displayOrderNumber": "#1001",
    "email": "[email protected]",
    "createdAt": "2026-05-04T14:30:00Z",
    "totalPriceSet": {
      "shopMoney": {
        "amount": "299.99",
        "currencyCode": "USD"
      }
    }
  },
  "source": "aws.partner/shopify.com/12345/default"
}

Read the full file on GitHub · 631 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. 7d ago First seen · 631 lines · 77 tokens per session scan A f3312ab84b6e

Subscribe to this mod's changes

webhooks is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 28d ago), licensed MIT. It adds 77 tokens to every session and 4,165 once invoked, about $0.0004 per session on Opus 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.