webhooks

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 CodeCodex

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

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.

agentmods
npx agentmods add skills/beel-es/claude-plugins/webhooks
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, Codex.

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

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. Scan, not verified.
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 $0.00063 $0.01160
Opus 5 $0.00032 $0.00580
Sonnet 5 $0.00013 $0.00232
Haiku 4.5 $0.00006 $0.00116

Measured 2d ago against content hash 6b3499475979, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 7d ago), licensed MIT. It adds 63 tokens to every session and 1,160 once invoked, about $0.0003 per session on Opus 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

upgrading-golang

Upgrades Go version across the entire Chainloop codebase including source files, Docker images, CI/CD workflows, and documentation. Use when the user mentions upgrading Go, golang version, or updating Go compiler version.

chainloop-dev/chainloop · 48 tokens

custom-builtin-functions

Create a custom builtin function to be used in the Rego policy engine.

chainloop-dev/chainloop · 19 tokens

dora

Expert DORA (Regulation (EU) 2022/2554 — Digital Operational Resilience Act) compliance advisor for EU financial entities. Use this skill whenever a user asks about DORA compliance, ICT risk management frameworks, ICT incident classification or reporting, threat-led penetration testing (TLPT), ICT third-party risk…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 207 tokens

catalyst-center-readonly

Query Cisco Catalyst Center read-only — device inventory, site hierarchy, wireless, assurance health, compliance, software images, events. All 514 read-only API operations reachable through 8 grouped dispatchers. Use when asked what Catalyst Center manages, where a device sits, what its health or compliance state is…

automateyournetwork/netclaw · 78 tokens

turbo

Repository guidance for using Turborepo to orchestrate workspace tasks, builds, validation, testing, and development workflows within the hr-skills monorepo.

tuanductran/hr-skills · 35 tokens

stp-automation

Measure and raise straight-through processing (STP) rates in securities operations through zero-touch, exception-based processing. Use when measuring STP rates and analyzing manual touchpoints in an existing process, replacing review-all workflows with exception-based processing, evaluating RPA vs API-based vs hybrid…

JoelLewis/finance_skills · 118 tokens