# Webhooks — localhost webhook receiver with dedupe

> Accept webhook POSTs on localhost, answer quickly, and ignore duplicate retries — use when another service needs to notify this machine.

Webhooks — localhost webhook receiver with dedupe is a free AI agent skill on Agensi by Orbital Desk, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Orbital Desk](https://www.agensi.io/creators/orbital-desk)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-12
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/webhooks-localhost-webhook-receiver-with-dedupe
- Tags: automation, developer-tools, web

## About this skill

This skill runs a small webhook receiver on localhost: it listens for JSON POST requests, stores each new event, and answers `204` before doing any slow work. The complete listener is a single Python file using only the standard library — Python 3 is the only dependency, nothing to install.

Events are appended as one JSON object per line to `events.jsonl` in the current directory. Deduplication is by event `id`: a second delivery of the same `id` still returns `204` (which tells the sender to stop retrying) but does not add a second line. That pair of behaviors — answer fast, store once — is what makes sender retries safe instead of duplicative.

The handler is defensive about input. Bodies that are empty, not JSON, or not a JSON object get `400`; bodies over 1,000,000 bytes get `413`; POSTs to any path other than `/hook` get `404`. The stored JSON is never executed — it is data in a file, nothing more.

The binding is honest about scope: the server listens on `127.0.0.1` only, port 8787. A sender on another machine cannot reach it until you change `HOST` on purpose. This is a receiver for services you can point at localhost, not a public endpoint — exposing it beyond the machine is a deliberate change, not a default.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Webhooks — localhost webhook receiver with dedupe skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Webhooks — localhost webhook receiver with dedupe do?

Accept webhook POSTs on localhost, answer quickly, and ignore duplicate retries — use when another service needs to notify this machine.

### Which AI agents support Webhooks — localhost webhook receiver with dedupe?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Webhooks — localhost webhook receiver with dedupe?

Connect your AI agent to Agensi through MCP, then ask it to use Webhooks — localhost webhook receiver with dedupe on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
