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 tmj-90/gaffer --skill outbound-webhooksgit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/tmj-90/gaffer/outbound-webhooks)<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.
<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>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.00085 | $0.01556 |
| Opus 5.5 | $0.00034 | $0.00622 |
| Sonnet 5.5 | $0.00017 | $0.00311 |
| Haiku 4.5 | $0.00009 | $0.00156 |
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]`, 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
- 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. Callsearch_lorefor the repo's URL validator and reuse it (in the factory itself:packages/dispatch/src/notify/urlPolicy.ts). - Define the envelope.
type(dotted, e.g.invoice.paid),timestamp(ISO 8601), anddataholding 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-levelwebhooksmap in OpenAPI 3.1; theopenapi-contractskill). - Sign it. Headers
webhook-id(stable message id, the receiver's idempotency key, identical on every retry),webhook-timestamp(Unix seconds) andwebhook-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. - Enqueue transactionally, deliver from a worker. Write the delivery row in the same
transaction as the business event (outbox pattern; the
background-jobsskill); never call the URL inline in the request that caused the event. Workers claim due rows atomically (SELECT … FOR UPDATE SKIP LOCKEDor a conditionalUPDATE … RETURNING) so two workers never send the same attempt concurrently; delivery stays at-least-once and receivers dedupe onwebhook-id. - Classify the response. Any
2xxis delivered.410 Gonedisables the endpoint. Every other outcome is a failure that is retried: non-2xx(a404may 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). - 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-Afteron429/503, and slow down on502/504. After the last attempt mark the delivery failed; after sustained failure (e.g. days) disable the endpoint and notify its owner. - 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
timestampor refetch state. - 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).
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.
- 16d ago Changed · +28 lines scan A → C 9f445495d220
- 19d ago First seen · 66 lines · 85 tokens per session scan A 3848420285fd
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.
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.
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.
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.
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.
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.
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.