cover-genius-webhooks

cover-genius-webhooks is a skill for Claude Code, Codex from hookdeck/webhook-skills. It costs 68 tokens per session (1,722 once invoked), scanned A, a copy of adyen-webhooks, MIT.

A setup guide for receiving Cover Genius Offers notifications on your server. It explains how to check the plain-text X-Api-Key header and handle booking and insurance-renewal events.

In plain words
What is it for?
Use it to build or troubleshoot a webhook endpoint for booking creation, booking cancellation, and policy renewal reminders.
Why use it?
It helps prevent rejected requests and incorrect authentication when Cover Genius sends updates. It also clarifies that these Offers messages are not signed payloads.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build or troubleshoot a webhook endpoint for booking creation, booking cancellation, and policy renewal reminders.

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

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 cover-genius-webhooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/cover-genius-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/cover-genius-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,722 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 81% copy Near-identical to another mod 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.00068 $0.01722
Opus 5.5 $0.00027 $0.00689
Sonnet 5.5 $0.00014 $0.00344
Haiku 4.5 $0.00007 $0.00172

Measured 20d ago against content hash c32364d9d316, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cover-genius-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 20d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (examples/express/src/index.js, examples/express/test/webhook.test.js, examples/fastapi/main.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

81% identical to adyen-webhooks — 192 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.

skills/cover-genius-webhooks/SKILL.md · 131 lines

How it starts

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

Cover Genius Webhooks

Cover Genius is an embedded insurance platform. Its Offers API sends an HTTP POST to your listener when a booking or policy renewal changes. The webhook carries no payload signature: Cover Genius sends your authentication key as plain text in the X-Api-Key header, and you verify it by comparing that header with your key.

This skill covers Offers webhooks only. XClaim (XClaim-Signature) and RentalCover (X-Signature plus a timestamp) use other schemes and aren't covered.

When to Use This Skill

  • How do I receive Cover Genius webhooks?
  • How do I verify the X-Api-Key header on a Cover Genius Offers webhook?
  • Does Cover Genius sign webhook payloads? (No: shared key in X-Api-Key)
  • How do I handle BOOKING_CREATED, BOOKING_CANCELLED or RENEWAL_DUE events?
  • Why does my Cover Genius webhook endpoint return 401?

Verification (core)

const crypto = require('crypto');

// Hash both sides: equal-length buffers, so timingSafeEqual never throws.
function safeEqual(a, b) {
  const ha = crypto.createHash('sha256').update(String(a)).digest();
  const hb = crypto.createHash('sha256').update(String(b)).digest();
  return crypto.timingSafeEqual(ha, hb);
}

function verifyCoverGeniusRequest(headers, apiKey = process.env.COVER_GENIUS_API_KEY) {
  if (!apiKey) return false;                       // never accept when unconfigured
  const received = headers['x-api-key'];           // plain text, no prefix
  return typeof received === 'string' && safeEqual(received, apiKey);
}

Return 401 when this fails, 400 for a body that isn't a JSON object, and 200 once handled (Cover Genius tries a webhook up to 3 times until it gets a 200). There is no body signature, so the raw body isn't needed for verification, but authenticate before parsing it. In Express, read the body with express.raw({ type: '*/*' }) so every content type is checked.

Cover Genius also sends Authorization: Signature ..., an HMAC-SHA256 over the Date header only. It adds nothing over the key check, so it's optional; see references/verification.md.

Read the full file on GitHub · 131 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. 20d ago Changed c32364d9d316
  2. 1mo ago First seen · 131 lines · 68 tokens per session scan A 9f8f1aa062c4

Subscribe to this mod's changes

cover-genius-webhooks is a skill published in the GitHub repository hookdeck/webhook-skills (104 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,722 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 81% identical to adyen-webhooks, differing in 192 lines, and is treated as a copy.

Related

cover-genius-webhooks compared with skills from other repositories

cover-genius-webhooks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cover-genius-webhookshookdeck/webhook-skillsSkill104yesterdayMITA68Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code