agentset-webhooks

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

A guide for receiving and checking signed notifications from Agentset, a service that imports documents into searchable collections for AI applications. Its events report document and import-job results.

In plain words
What is it for?
Use it to create an Agentset webhook endpoint, verify signatures, and handle document or import-job lifecycle events.
Why use it?
It helps your application trust webhook requests and diagnose rejected requests when documents or imports finish or fail.

Skill for Claude CodeCodex

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

Good fit Use it to create an Agentset webhook endpoint, verify signatures, and handle document or import-job lifecycle events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hookdeck/webhook-skills/agentset-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 agentset-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 agentset-webhooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hookdeck/webhook-skills/agentset-webhooks"><img src="https://agentmods.dev/badge/skills/hookdeck/webhook-skills/agentset-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,895 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 75% 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.00054 $0.01895
Opus 5.5 $0.00022 $0.00758
Sonnet 5.5 $0.00011 $0.00379
Haiku 4.5 $0.00005 $0.00189

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

Security

Grade A, and why

agentset-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 14d 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

75% 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/agentset-webhooks/SKILL.md · 135 lines

How it starts

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

Agentset Webhooks

Agentset (agentset.ai) is a managed RAG platform. Organization webhooks are created in the dashboard (Webhooks settings) with a URL, the events you want and optional namespaces. They report document and ingest-job lifecycle changes. Every delivery carries an agentset-signature header: the hex HMAC-SHA256 of the raw request body, keyed with the webhook's signing secret.

When to Use This Skill

  • How do I receive Agentset webhooks?
  • How do I verify the agentset-signature header?
  • Why does my Agentset webhook endpoint return 401?
  • How do I handle document.ready, document.error or ingest_job.ready events?

Verification (core)

const crypto = require('crypto');

const HEX64 = /^[0-9a-fA-F]{64}$/; // validate the format before decoding

function verifyAgentsetSignature(rawBody, signature, secret = process.env.AGENTSET_WEBHOOK_SECRET) {
  if (!secret || typeof signature !== 'string' || !HEX64.test(signature)) return false;
  const expected = crypto.createHmac('sha256', secret).update(rawBody).digest(); // rawBody: Buffer
  const received = Buffer.from(signature.toLowerCase(), 'hex');                   // safe: validated
  return received.length === expected.length && crypto.timingSafeEqual(received, expected);
}
  • Header: agentset-signature. The whole value is one bare hex digest: no sha256= prefix, no list.
  • Signed content: the raw body bytes only. No timestamp, id or other header is signed, so there is no replay window to check. Never JSON.parse / JSON.stringify before verifying.
  • Key: the secret's UTF-8 bytes, used as-is (not hex- or base64-decoded). Hex is case-insensitive.
  • Missing, empty or malformed header, or a mismatch: 401. Python: hmac.compare_digest on bytes.
  • Methods: Agentset's docs don't name the HTTP method. Hookdeck's Agentset source accepts only the methods you allow (custom methods), so allow any other method the sender uses on the source too. The examples accept GET, POST, PUT, PATCH and DELETE, verify first, and treat a missing body as empty bytes (a verified empty body is acknowledged with 200).
  • Read the body raw (express.raw({ type: '*/*' })) and parse only after the check. Treat every parsed field as untrusted and type-check it before reading into it.

Read the full file on GitHub · 135 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. 14d ago Changed · -1 lines ff699eca48b6
  2. 1mo ago First seen · 136 lines · 54 tokens per session scan A 84276e832f0a

Subscribe to this mod's changes

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

Related

agentset-webhooks compared with skills from other repositories

agentset-webhooks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentset-webhookshookdeck/webhook-skillsSkill104yesterdayMITA54Claude 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