webhook-receiver

webhook-receiver is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 91 tokens per session (860 once invoked), scanned B, original, MIT.

A small background web server that receives HTTP POST messages called webhooks from services such as GitHub or Stripe. It can verify signed requests and run a configured shell command for each route.

In plain words
What is it for?
Use it to handle GitHub pushes, pull requests, or issues, receive notifications, and trigger commands from external services.
Why use it?
It connects outside events to local scripts, so actions can start automatically when a service sends an event.

Skill for Claude CodeCodex

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

Good fit Use it to handle GitHub pushes, pull requests, or issues, receive notifications, and trigger commands from external services.

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

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-receiver

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/webhook-receiver"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/webhook-receiver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 860 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.00091 $0.00860
Opus 5 $0.00046 $0.00430
Sonnet 5 $0.00018 $0.00172
Haiku 4.5 $0.00009 $0.00086

Measured 5d ago against content hash 8cf0e0ecfdbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

webhook-receiver scanned grade B with 2 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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/start.sh, scripts/status.sh, scripts/stop.sh), 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST -d '{"hello":"world"}' http://127.0.0.1:9876/ping

Makes network callslowCapability

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

curl -X POST -d '{"hello":"world"}' http://127.0.0.1:9876/ping
skills/webhook-receiver/SKILL.md · 114 lines

How it starts

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

Webhook Receiver

A persistent Node.js HTTP server that listens for incoming POST requests, validates optional HMAC-SHA256 signatures, and executes shell commands per route.

Project location: ${WEBHOOK_RECEIVER_HOME:-$HOME/projects/webhook-receiver}/ Config: ${WEBHOOK_RECEIVER_HOME:-$HOME/projects/webhook-receiver}/config.json (live-reloaded, no restart needed) Log: ${WEBHOOK_RECEIVER_HOME:-$HOME/projects/webhook-receiver}/logs/webhook.log Port: 9876 (localhost only — expose via nginx/ngrok/Tailscale for real webhooks)


Start / Stop / Status

# Start
bash ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/webhook-receiver/scripts/start.sh

# Stop
bash ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/webhook-receiver/scripts/stop.sh

# Status + recent log
bash ${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/webhook-receiver/scripts/status.sh

Adding a Route

Edit ${WEBHOOK_RECEIVER_HOME:-$HOME/projects/webhook-receiver}/config.json directly — changes take effect immediately, no restart:

{
  "routes": [
    {
      "path": "/github",
      "secret": "your-github-webhook-secret",
      "command": "bash $HOME/scripts/handle-github.sh",
      "description": "GitHub events"
    },
    {
      "path": "/ping",
      "secret": "",
      "command": "",
      "description": "Health check"
    }
  ]
}

Testing

# Test the ping route (always returns 200)
curl -X POST -d '{"hello":"world"}' http://127.0.0.1:9876/ping

# Test with GitHub-style signature
SECRET="mysecret"
BODY='{"action":"push"}'
SIG="sha256=$(echo -n "$BODY" | openssl dgst -sha256 -hmac "$SECRET" | cut -d' ' -f2)"
curl -X POST \
  -H "X-Hub-Signature-256: $SIG" \
  -H "Content-Type: application/json" \
  -d "$BODY" \
  http://127.0.0.1:9876/github

Command Environment Variables

Commands receive:

Variable Contents
WEBHOOK_ROUTE URL path (e.g. /github)
WEBHOOK_BODY Raw request body
WEBHOOK_HEADERS All headers as JSON
WEBHOOK_IP Sender IP

Read the full file on GitHub · 114 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 114 lines · 91 tokens per session scan B 8cf0e0ecfdbc

Subscribe to this mod's changes

webhook-receiver is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 91 tokens to every session and 860 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

endpoint-probe

Probes each major Agent Monitor API route — /api/stats, /api/analytics, /api/sessions, /api/pricing/cost, /api/workflows/runs, /api/cc-config/overview — and reports each one's HTTP status, latency, and response shape, flagging which are reachable. Use to verify a dashboard install is wired up correctly.

hoangsonww/Claude-Code-Agent-Monitor · 80 tokens

Kafka Event-Driven Testing

Test Kafka-based event-driven systems, producer and consumer integration tests with Testcontainers, schema compatibility gates, idempotency and ordering verification, dead-letter handling, and end-to-end event flow assertions.

PramodDutta/qaskills · 45 tokens

architecture-paradigm-event-driven

Applies event-driven async messaging to decouple producers and consumers. Use when designing real-time or multi-subscriber systems needing loose coupling.

athola/claude-night-market · 34 tokens

architecture-paradigm-serverless

Applies serverless FaaS patterns for event-driven workloads. Use when designing bursty workloads with minimal infrastructure and pay-per-execution cost model.

athola/claude-night-market · 37 tokens

architecture-patterns

Software architecture patterns and best practices.

aAAaqwq/AGI-Super-Team · 10 tokens

azure-event-grid-webhooks

Receive and validate Azure Event Grid webhook deliveries. Use when setting up an Event Grid WebHook event handler, implementing the Microsoft.EventGrid.SubscriptionValidationEvent handshake (echo data.validationCode as validationResponse with HTTP 200), implementing the CloudEvents v1.0 HTTP OPTIONS abuse-protection…

hookdeck/webhook-skills · 148 tokens