webhook-subscriptions

webhook-subscriptions is a skill for Claude Code, Codex from moltis-org/moltis. It costs 57 tokens per session (2,937 once invoked), scanned A, original, MIT.

Instructions for creating and managing webhooks, URLs that receive event notifications from other services and can start agent runs. They cover sources such as GitHub, GitLab, Stripe, Linear, PagerDuty, Sentry, and generic POST requests.

In plain words
What is it for?
Use them to create webhook endpoints, authenticate incoming events, filter event types, choose session behavior, and update or inspect subscriptions.
Why use it?
They let external events activate an agent automatically instead of requiring someone to start each run manually.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/moltis-org/moltis/webhook-subscriptions
Any agent
npx skills add moltis-org/moltis --skill webhook-subscriptions
Clone the repo
git clone --depth 1 https://github.com/moltis-org/moltis

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 webhook-subscriptions

README.md
[![agentmods](https://agentmods.dev/badge/skills/moltis-org/moltis/webhook-subscriptions.svg)](https://agentmods.dev/skills/moltis-org/moltis/webhook-subscriptions)
Your own site
<a href="https://agentmods.dev/skills/moltis-org/moltis/webhook-subscriptions"><img src="https://agentmods.dev/badge/skills/moltis-org/moltis/webhook-subscriptions.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00057 $0.02937
Opus 5 $0.00028 $0.01469
Sonnet 5 $0.00011 $0.00587
Haiku 4.5 $0.00006 $0.00294

Measured 4d ago against content hash 1a94ffcd0b47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

webhook-subscriptions scanned grade A 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **Is Moltis running?** `curl http://localhost:<port>/api/gon` should return JSON.
crates/skills/src/assets/devops/webhook-subscriptions/SKILL.md · 356 lines

How it starts

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

Webhook Subscriptions

Create webhook subscriptions so external services can trigger agent runs by POSTing events to Moltis.

Webhooks are available as soon as the Moltis gateway is running — no extra setup needed.

Ingress Endpoint

Each webhook gets a unique URL:

POST https://<moltis-host>/api/webhooks/ingest/{public_id}

The public_id is a high-entropy identifier like wh_a1b2c3d4... assigned at creation.

Managing Webhooks

Webhooks are managed via RPC or the web UI. The RPC namespace is webhooks.*.

Create a webhook

// RPC: webhooks.create
{
  "name": "github-issues",
  "description": "Triage new GitHub issues",
  "source_profile": "github",
  "auth_mode": "github_hmac_sha256",
  "auth_config": { "secret": "your-github-webhook-secret" },
  "event_filter": { "allow": ["issues.opened", "issues.reopened"] },
  "session_mode": "per_entity",
  "system_prompt_suffix": "Triage this issue: assign a priority label and suggest next steps."
}

Returns the webhook with its public_id (the URL slug) and all configuration.

List webhooks

// RPC: webhooks.list

Get webhook details

// RPC: webhooks.get
{ "id": 123 }

Update a webhook

// RPC: webhooks.update
{
  "id": 123,
  "patch": {
    "enabled": false,
    "event_filter": { "allow": ["issues.opened"], "deny": ["issues.closed"] }
  }
}

Delete a webhook

// RPC: webhooks.delete
{ "id": 123 }

View deliveries

// RPC: webhooks.deliveries
{ "webhookId": 123, "limit": 50, "offset": 0 }

// RPC: webhooks.delivery_get
{ "id": 456 }

// RPC: webhooks.delivery_payload
{ "id": 456 }

Source Profiles

Each webhook has a source_profile that determines how events are parsed and authenticated. Use the profile that matches the sending service for best results.

Profile Auth Mode Event Parsing Dedup Header
github github_hmac_sha256 x-github-event + action x-github-delivery
gitlab gitlab_token Event from headers GitLab delivery ID
stripe stripe_webhook_signature Event type from JSON body Stripe event ID
linear linear_webhook_signature Event from headers Linear delivery ID
pagerduty pagerduty_v2_signature Event from headers PagerDuty dedup key
sentry sentry_webhook_signature Event from headers Sentry event ID
generic none (or any) x-event-type header x-delivery-id / idempotency-key

Read the full file on GitHub · 356 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. 4d ago First seen · 356 lines · 57 tokens per session scan A 1a94ffcd0b47

Subscribe to this mod's changes

webhook-subscriptions is a skill published in the GitHub repository moltis-org/moltis (2,844 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 2,937 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.