- Home
- Skills
- Workflow Automation
- Webhooks — localhost webhook receiver with dedupe
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.
Free
Works with the AI Agents you already use
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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts