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.
npx skills add hookdeck/webhook-skills --skill configcat-webhooksgit clone --depth 1 https://github.com/hookdeck/webhook-skillsWrote 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.
[](https://agentmods.dev/skills/hookdeck/webhook-skills/configcat-webhooks)<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/configcat-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/configcat-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.
<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/configcat-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/configcat-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.02013 |
| Opus 5.5 | $0.00020 | $0.00805 |
| Sonnet 5.5 | $0.00010 | $0.00403 |
| Haiku 4.5 | $0.00005 | $0.00201 |
Grade A, and why
configcat-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 9d 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.
This is a copy
80% identical to adyen-webhooks — 171 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ConfigCat Webhooks
When to Use This Skill
- How do I receive ConfigCat webhooks?
- How do I verify the ConfigCat
X-ConfigCat-Webhook-Signature-V1header? - Why is my ConfigCat webhook signature verification failing?
- How do I react when a feature flag or setting changes in ConfigCat?
- Why does my ConfigCat webhook fail with two signing keys, or when it uses GET?
Verification (core)
ConfigCat sends X-ConfigCat-Webhook-ID, X-ConfigCat-Webhook-Timestamp (Unix seconds) and X-ConfigCat-Webhook-Signature-V1. The signature is the standard base64 (padded) HMAC-SHA256 of the webhook ID, the timestamp and the raw body, concatenated with no separators. The key is the whole signing key (configcat_whsk_...) as UTF-8 bytes, not decoded. The body may be empty (GET), then only ID + timestamp are signed.
const crypto = require('crypto');
function verify(rawBody, id, timestamp, signature, secret) {
if (!id || !timestamp || !/^[A-Za-z0-9+\/]{43}=$/.test(signature || '')) return false;
const message = Buffer.concat([Buffer.from(id, 'latin1'), Buffer.from(timestamp, 'latin1'), rawBody]);
const expected = Buffer.from(crypto.createHmac('sha256', Buffer.from(secret, 'utf8')).update(message).digest('base64'));
const received = Buffer.from(signature);
return expected.length === received.length && crypto.timingSafeEqual(expected, received);
}
import base64, hashlib, hmac, re
def verify(raw_body: bytes, wid: str, ts: str, signature: str, secret: str) -> bool:
if not wid or not ts or not re.fullmatch(r"[A-Za-z0-9+/]{43}=", signature or ""):
return False
message = wid.encode("latin-1") + ts.encode("latin-1") + raw_body
digest = hmac.new(secret.encode("utf-8"), message, hashlib.sha256).digest()
return hmac.compare_digest(base64.b64encode(digest), signature.encode("ascii")) # compare the base64 text
Verify the raw bytes before parsing (never JSON.parse then re-serialise). Missing headers, a malformed value or a mismatch is a 401. The documented vector (secret configcat_whsk_VN3juirnVh5pNvCKd81RYRYchxUX4j3NykbZG2fAy88=, body examplebody, ID b616ca659d154a5fb907dd8475792eeb, timestamp 1669629035) must produce Ks3cYsu9Lslfo+hVxNC3oQWnsF9e5d73TI5t94D9DRA=.
What ships with it
20 files 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.
- examples/express/.env.example 480 B
- examples/express/package.json 374 B
- examples/express/README.md 1.3 KB
- examples/express/src/index.js 4.3 KB runs code
- examples/express/test/webhook.test.js 6.1 KB runs code
- examples/fastapi/.env.example 480 B
- examples/fastapi/main.py 4.6 KB runs code
- examples/fastapi/README.md 1.3 KB
- examples/fastapi/requirements.txt 82 B
- examples/fastapi/test_webhook.py 5.4 KB runs code
- examples/nextjs/.env.example 480 B
- examples/nextjs/app/webhooks/configcat/route.ts 2.2 KB runs code
- examples/nextjs/lib/verify.ts 2.2 KB runs code
- examples/nextjs/package.json 519 B
- examples/nextjs/README.md 1.3 KB
- examples/nextjs/test/webhook.test.ts 5.7 KB runs code
- examples/nextjs/vitest.config.ts 140 B runs code
- references/overview.md 2.6 KB
- references/setup.md 1.8 KB
- references/verification.md 4.6 KB
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.
- 9d ago First seen · 134 lines · 50 tokens per session scan A b5e92b2d504d
configcat-webhooks is a skill published in the GitHub repository hookdeck/webhook-skills (98 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 2,013 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 80% identical to adyen-webhooks, differing in 171 lines, and is treated as a copy.
configcat-webhooks compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| configcat-webhookshookdeck/webhook-skills | Skill | 98 | yesterday | MIT | A | 50 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 103 | Claude Code |