webhooks

webhooks is a skill for Claude Code from beel-es/claude-plugins. It costs 63 tokens per session (1,160 once invoked), scanned A, original, MIT.

A guided setup for receiving BeeL event notifications, called webhooks, in an application. It verifies that events really came from BeeL and prevents the same event from being processed twice.

In plain words
What is it for?
Use it to receive events such as issued or voided invoices and VeriFactu status updates, manage subscriptions, or troubleshoot webhook signatures and delivery.
Why use it?
It reduces the risk of accepting forged events or creating duplicate work when BeeL retries delivery. It also accounts for raw request bodies, signatures, event changes, and delivery retries.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the beel-api plugin — 6 skills, 1 MCP server shipped together

Good fit Use it to receive events such as issued or voided invoices and VeriFactu status updates, manage subscriptions, or troubleshoot webhook signatures and delivery.

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

Made for: Claude Code.

Or install beel-api, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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/beel-es/claude-plugins/webhooks/github.svg)](https://agentmods.dev/skills/beel-es/claude-plugins/webhooks)
Your own site
<a href="https://agentmods.dev/skills/beel-es/claude-plugins/webhooks"><img src="https://agentmods.dev/badge/skills/beel-es/claude-plugins/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 webhooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-es/claude-plugins/webhooks"><img src="https://agentmods.dev/badge/skills/beel-es/claude-plugins/webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,160 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00063 $0.01160
Opus 5.5 $0.00025 $0.00464
Sonnet 5.5 $0.00013 $0.00232
Haiku 4.5 $0.00006 $0.00116

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

Security

Grade A, and why

webhooks scanned grade A with 1 finding 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.

Makes network callslowCapability

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

curl -s https://docs.beel.es/llms.txt | grep -i webhook
plugins/beel-api/skills/webhooks/SKILL.md · 77 lines

How it starts

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

BeeL Webhook Receiver

Build or fix a webhook receiver that BeeL can deliver to safely. An unverified or non-idempotent receiver is worse than polling — it can be fed a fake invoice.issued from anyone, or double-process events.

The base pattern (Express example) lives in ../beel-api/recipes/webhook-handler.md. This skill adds the full procedure around it: live event catalog, framework gotchas, subscription management and end-to-end verification.

Procedure

1. Fetch the current event catalog

Event types and payload schemas change — discover and fetch the webhook doc pages before writing handlers:

curl -s https://docs.beel.es/llms.txt | grep -i webhook

Fetch the events page (types + payloads) and, if anything below fails, the signatures/deduplication/retries pages.

2. Implement verification (non-negotiable, first middleware)

Stable invariants (re-verify against the live signature docs if anything fails):

  • Header: BeeL-Signature: t=<unix_ts>,v1=<hex_digest>
  • Digest: HMAC-SHA256 over the string "<timestamp>.<raw_body>", hex-encoded, keyed with the webhook secret (provided at subscription creation; store in an env var)
  • Reject when |now - t| > 300 seconds (replay window)
  • Compare with a constant-time function (crypto.timingSafeEqual), never === — and guard buffer lengths first, since timingSafeEqual throws on mismatched lengths
  • Return 401 on verification failure, before touching the payload

In Node, check whether the official SDK (@beel_es/sdk) verification helper fits before hand-rolling — fetch the live SDK docs for its current API.

The #1 pitfall — raw body. The HMAC covers the raw bytes. JSON middleware that parses before verification breaks it:

  • Express: use express.raw({ type: 'application/json' }) on the webhook route, parse JSON only after verifying (and keep any global express.json() off this route)
  • Next.js (App Router): use await req.text() for verification, then JSON.parse
  • Fastify: use a content-type parser that preserves the raw buffer

Read the full file on GitHub · 77 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 · 77 lines · 63 tokens per session scan A 6b3499475979

Subscribe to this mod's changes

webhooks is a skill published in the GitHub repository beel-es/claude-plugins (4 stars, last pushed 11d ago), licensed MIT. It adds 63 tokens to every session and 1,160 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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