outbound-webhooks

outbound-webhooks is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 85 tokens per session (1,556 once invoked), scanned C, original, Apache-2.0.

A workflow for sending event notifications from your system to another system's web address. It covers signing messages, retrying delivery safely, checking destination addresses, and recording delivery results.

In plain words
What is it for?
It helps build partner callbacks, customer notifications, and outbound webhooks with defined message contents, secure delivery, retries, and monitoring.
Why use it?
It addresses failed or slow receiving services and prevents unsafe requests to private parts of your network, a problem called server-side request forgery.

Skill for Claude CodeCodex

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

Good fit It helps build partner callbacks, customer notifications, and outbound webhooks with defined message contents, secure delivery, retries, and monitoring.

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

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 outbound-webhooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/outbound-webhooks"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/outbound-webhooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00085 $0.01556
Opus 5.5 $0.00034 $0.00622
Sonnet 5.5 $0.00017 $0.00311
Haiku 4.5 $0.00009 $0.00156

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

Security

Grade C, and why

outbound-webhooks scanned grade C 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 16d 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.

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Registration and send refuse `http://`, `127.0.0.1`, `169.254.169.254`, `[::1]`,
runner/skills/outbound-webhooks/SKILL.md · 94 lines

How it starts

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

Send outbound webhooks safely

An outbound webhook is your system making HTTP requests to URLs other people chose. It is a delivery problem (their endpoint is down, slow or wrong) and a security problem (their URL may point into your network). Unless the repo already has a scheme, follow the Standard Webhooks specification (standardwebhooks.com) so receivers can use off-the-shelf verifiers. Other sources: OWASP SSRF Prevention Cheat Sheet; AWS "Exponential Backoff and Jitter".

Steps

  1. Validate the destination at registration and at every send. HTTPS only; cap URL length; resolve the host and reject loopback, private (RFC 1918), link-local (169.254.0.0/16, incl. cloud metadata), CGNAT (100.64.0.0/10), 0.0.0.0/8, and IPv6 equivalents (::1, fc00::/7, fe80::/10, IPv4-mapped ::ffff:…). Connect to the IP you validated (pin it) so DNS rebinding cannot swap it between check and connect; do not follow redirects. Where the platform allows, send through an egress proxy or subnet that cannot reach internal services. Call search_lore for the repo's URL validator and reuse it (in the factory itself: packages/dispatch/src/notify/urlPolicy.ts).
  2. Define the envelope. type (dotted, e.g. invoice.paid), timestamp (ISO 8601), and data holding identifiers plus the minimum the receiver needs; keep payloads small (Standard Webhooks suggests < 20 KB) and prefer thin payloads (ids the receiver fetches) for sensitive data. Document it (the top-level webhooks map in OpenAPI 3.1; the openapi-contract skill).
  3. Sign it. Headers webhook-id (stable message id, the receiver's idempotency key, identical on every retry), webhook-timestamp (Unix seconds) and webhook-signature (v1,<base64 HMAC-SHA256> over "{id}.{timestamp}.{raw body}", with a per-endpoint secret of 24–64 random bytes, whsec_ prefixed). Sign the exact bytes you send. Rotation: send space-separated signatures for the old and new secret during the overlap. Document that receivers must compare in constant time and reject timestamps outside a tolerance (e.g. 5 minutes) to stop replay.
  4. Enqueue transactionally, deliver from a worker. Write the delivery row in the same transaction as the business event (outbox pattern; the background-jobs skill); never call the URL inline in the request that caused the event. Workers claim due rows atomically (SELECT … FOR UPDATE SKIP LOCKED or a conditional UPDATE … RETURNING) so two workers never send the same attempt concurrently; delivery stays at-least-once and receivers dedupe on webhook-id.
  5. Classify the response. Any 2xx is delivered. 410 Gone disables the endpoint. Every other outcome is a failure that is retried: non-2xx (a 404 may be a receiver mid-deploy), timeouts, connection resets, and refused redirects. Timeout: short connect timeout, total 15–30 s. Read at most a small bounded response body (a few KB).
  6. Retry with backoff and jitter, then stop. Standard Webhooks schedule: immediately, 5 s, 5 min, 30 min, 2 h, 5 h, 10 h, 14 h, 20 h, 24 h (about three days), each with random jitter; honour Retry-After on 429/503, and slow down on 502/504. After the last attempt mark the delivery failed; after sustained failure (e.g. days) disable the endpoint and notify its owner.
  7. Isolate endpoints. Per-endpoint concurrency cap and a circuit breaker, so one slow receiver cannot occupy every worker. Do not promise ordering; receivers order by timestamp or refetch state.
  8. Record every attempt (status, latency, response code, error class, attempt number) visible to the customer (deliveries page/API with manual redelivery by event id) and to operators (failure-rate metric by endpoint, low-cardinality labels).

Read the full file on GitHub · 94 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. 16d ago Changed · +28 lines scan A → C 9f445495d220
  2. 19d ago First seen · 66 lines · 85 tokens per session scan A 3848420285fd

Subscribe to this mod's changes

outbound-webhooks is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 17d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,556 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-28.

Related

Other skills, from other repositories

bulwark-brainstorm

Role-based brainstorming with dual modes: --scoped (sequential Task tool, 5 roles) and --exploratory (Agent Teams peer debate, 4 roles). Use for feasibility assessment and idea validation.

QBall-Inc/the-bulwark · 50 tokens

plan-creation

Create structured implementation plans via a 4-role scrum team (Product Owner, Architect, Eng/Delivery Lead, QA/Critic) with optional Agent Teams peer debate mode.

QBall-Inc/the-bulwark · 38 tokens

anthropic-validator

Validates Claude Code assets (skills, hooks, agents, commands, MCP servers, plugins) against official Anthropic standards. Fetches latest docs dynamically and produces structured validation reports.

QBall-Inc/the-bulwark · 40 tokens

create-subagent

Generates single-purpose Claude Code sub-agents for use via the Task tool. Use when creating dedicated sub-agents, scaffolding agent definitions, or generating agents with diagnostics and permissions setup.

QBall-Inc/the-bulwark · 42 tokens

test-audit

Audit test suites for T1-T4 violations using AST analysis, mock detection, and multi-stage synthesis. Invoke when user asks to audit tests, check test quality, find mock violations, review test effectiveness, or inspect test suites for over-mocking. Triggers automatic rewrites when quality gates fail.

QBall-Inc/the-bulwark · 0 tokens

code-review

Comprehensive code review with distinct aspect based sections. Use when reviewing code, checking for security issues, finding type safety problems, auditing code quality, or when user asks to review code, PRs or changes. Three-phase workflow runs static tools, LLM judgment, and writes diagnostic log.

QBall-Inc/the-bulwark · 61 tokens