Token导航 LogoToken导航

Agent Skill · 开发

event-gateway(事件网关)

event-gateway 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

event-gateway 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 12,454。

总安装 1,273周安装 52GitHub Stars 3下载 412核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:event-gateway(事件网关)
来源仓库:https://github.com/hookdeck/agent-skills
仓库路径:skills/event-gateway
安装命令:
npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

event-gateway 管理 Hookdeck 平台的 webhook 接收、路由与交付,适合在 Codex、Claude、Cursor、Gemini CLI 中配置事件源、规则过滤或重试策略时使用。它支持去重、延迟和变换等功能,保障事件可靠传输。

使用时应在搭建外部系统集成、调试 webhook 回调或优化投递性能时参考此技能。安装前应注册 Hookdeck 账户并获取 API key,同时安装必要命令行工具链。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/event-gateway

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

event-gateway 怎么安装?

在终端执行 npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

event-gateway 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

event-gateway 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

event-gateway 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

event-gateway 用的人多吗?

公开数据是累计安装 1,273 次,近一周安装 52 次,下载 412 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

event-gateway 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
event-gateway

事件网关 · 本页

1,2733执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Hookdeck Event Gateway

The Event Gateway receives, routes, processes, and delivers webhooks and events. The core model: a Source (ingestion endpoint with a unique https://hkdk.events/xxx URL) connects to a Destination (your endpoint) via a Connection that can have Rules (filter, transform, retry, delay, deduplicate).

Documentation

Always reference Hookdeck docs as the source of truth. See references/referencing-docs.md for how to fetch docs as markdown.

CLI command model

  • Prefer hookdeck gateway... for Event Gateway resource management, querying, and analysis.
  • Keep root commands for shell/context workflows (hookdeck login, hookdeck whoami, hookdeck listen, hookdeck project...).
  • Root hookdeck connection... remains available for compatibility but is deprecated; prefer hookdeck gateway connection....

Hookdeck CLI prerequisite

Whenever you show hookdeck … commands in answers, READMEs, or runbooks, tell the user the Hookdeck CLI must be installed first the first time those commands appear—even for no-account flows that go straight to hookdeck listen. Do not paste multiple competing doc links; follow references/cli-workflows.md#hookdeck-cli-prerequisite for standard wording, install examples, the official install URL, and the in-repo install section.

Use Cases

Use caseWhen to useQuickstart
Receive webhooksIngesting third-party webhooks (Stripe, Shopify, GitHub, etc.)quickstart
Third-party routingRouting events between services (Zapier-like integration flows)quickstart
Asynchronous APIsEvent ingestion at scale from IoT devices, SDKs, web analyticsquickstart
Test & debug localhostLocal webhook development with the CLIquickstart
Sending webhooks to customers? Use Outpost instead.

Provider webhooks: use two skills together (layered composition)

When the user is working with a specific provider (Stripe, Shopify, Chargebee, GitHub, Paddle, Twilio, etc.), you must also use the provider skill from hookdeck/webhook-skills. Do not implement provider verification or event parsing from scratch. Use the constructs provided by the provider's SDK (e.g. Stripe's constructEvent, Shopify HMAC)—not only JSON.parse.

Before scaffolding: Follow references/provider-webhooks-checklist.md. Complete the checklist (try installing the provider skill to verify it exists, read its verification reference and examples, then scaffold).

Strong guidance:

  1. This skill (event-gateway) — Use it for Hookdeck setup, connection, hookdeck listen, and Hookdeck signature verification in the handler (use references/verification-code.md).
  2. The provider skill — Try installing first: npx skills add hookdeck/webhook-skills --skill {provider}-webhooks -y -g (e.g. stripe-webhooks, shopify-webhooks). Use -y and -g so the CLI does not prompt (required for unattended agents). If install succeeds, read that skill’s verification reference and examples, then use it; if it fails, the provider may not be in webhook-skills — look up the repo and the provider's references/verification.md and examples. Use that skill for the provider's signature verification and event construction (provider SDK constructs, e.g. Stripe constructEvent, Shopify HMAC).
  3. Recommend to the user: Suggest installing the provider webhook skill, e.g. "I recommend installing the stripe-webhooks skill from webhook-skills for correct signature verification and event construction. Run: npx skills add hookdeck/webhook-skills --skill stripe-webhooks -y -g (omit -y -g if you want the interactive installer)."

Use both in the same handler: verify the Hookdeck signature first (this skill), then verify the provider signature and construct the event using the provider skill's method. Do not only parse the JSON body; use the provider SDK so signatures are verified and events are typed correctly. This applies to all supported providers in webhook-skills.

Signature Verification (Use This Skill)

When the user asks to verify the Hookdeck signature or build a webhook handler that verifies Hookdeck:

  • Use the code in references/verification-code.md — copy the handler pattern for the user's framework (Express, Next.js, FastAPI). That file is the canonical implementation (HMAC SHA-256, base64).
  • Prefer the example codebases in this skill — they are runnable, proven, and tested. Point the user at the right one for their framework: examples/express/, examples/nextjs/, examples/fastapi/.
  • Do not use third-party webhook libraries; use only the verification code from this skill.

Workflow Stages (getting started)

This is the recommended path for a new integration: create sources, destinations, and connections (or have the CLI create them via listen), then build your handler and iterate. Follow these stages in order:

  1. 01-setup -- Create account, install CLI, create connection
  2. 02-scaffold -- Build handler from provider skill examples + Hookdeck verification
  3. 03-listen -- Start hookdeck listen, trigger test events
  4. 04-iterate -- Debug failures, fix code, replay events
Before any queries or metrics: Satisfy the Hookdeck CLI prerequisite, then run hookdeck whoami and show the user the output. Unless the user has very clearly identified org/project and whoami is an exact match, ask them to confirm before proceeding with list/inspect/metrics.

Stage 02: when the user is working with a provider (Stripe, Shopify, etc.), complete references/provider-webhooks-checklist.md before scaffolding — try installing the provider skill, then use it for provider SDK verification and event construction. Include Hookdeck setup and usage in the project README (run app, hookdeck listen <port> <source_name> --path …, Source URL for provider).

Quick Start (Receive Webhooks)

Prerequisite: Hookdeck CLI installed.

No account required for the quickest path — once the CLI is available, hookdeck listen works immediately:

hookdeck listen 3000 <source_name> --path /webhooks

With a Hookdeck account (Event Gateway project with full features):

hookdeck login
hookdeck listen 3000 <source_name> --path /webhooks

hookdeck listen creates a Source URL and uses a CLI destination so traffic is tunneled to your local server (not HTTP delivery from Hookdeck’s cloud to localhost). Replace <source_name> in the examples with your Hookdeck Source name. Configure your webhook provider to send to the Source URL. Use --path to match your handler path (e.g. --path /webhooks when your handler is at POST /webhooks). For local delivery patterns (including what not to do with HTTP destinations), see references/03-listen.md. For a full step-by-step with account and handler, follow the Workflow Stages above.

Context verification (organization and project)

Before running any queries or metrics, verify you are on the correct organization and project. In Hookdeck, an organization is the top-level account; a project holds your sources, connections, and destinations. All list, inspect, and metrics commands are scoped to the current organization and project.

  1. Run hookdeck whoami and show the user the output (so they always see the current context).
  2. Unless the user has very clearly identified the organization and project (e.g. "use prod org, default project") and whoami shows an exact match, ask them to confirm this is the correct organization and project before running any queries or metrics.
  3. If wrong (or user says so), list options with hookdeck project list, switch with hookdeck project use <org-name> <project-name>, run hookdeck whoami again, show the output, and—unless there's a clear user-specified match—ask the user to confirm again.

See references/cli-workflows.md for details.

Production: Two options. (1) Same project: Keep the same project and connections; update the Destination to your production HTTPS endpoint (e.g. https://api.example.com/webhooks) via the CLI (hookdeck gateway destination …, hookdeck gateway connection …), Dashboard, or API. (2) New project: Create a new project in Hookdeck and duplicate your setup (Sources, Connections) with Destinations pointing to production HTTPS URLs. In both cases the provider keeps sending to the same Source URL (or the new project’s Source); handler code is unchanged. Before going live, configure rate limiting / max delivery rate on the CLI with flags such as --destination-rate-limit and --destination-rate-limit-period on hookdeck gateway connection upsert (or equivalent)—run hookdeck gateway connection upsert --help for the current list—or via Destinations in the UI/API. Also configure Retries and issue notifications. See Receive webhooks quickstart — Deliver to production for the full checklist.

Reference Material

Use as needed (not sequential):

Setup & Terminology

AreaResourceWhen to use
Docsreferences/referencing-docs.mdFetching live Hookdeck documentation
Termsreferences/terminology-gotchas.mdHookdeck-specific terms, common mistakes

Configuration

AreaResourceWhen to use
Architecturereferences/connection-architecture.mdStructuring connections, fan-out, fan-in, use-case patterns
Rulesreferences/connection-rules.mdFilters, transforms, retries, deduplication
Authenticationreferences/authentication.mdSource auth, destination auth, signature verification

Development & Operations

Use the sections below to choose CLI vs API vs Dashboard; then use the table for the right reference file.

How agents choose: CLI, API, or Dashboard

Step 1 — Who owns the work? (primary tie-breaker)

  • Operator work — Setup, tutorials, one-time provisioning, local dev, debugging a connection: default to CLI (copy-paste commands, hookdeck … --help, predictable shells).
  • Application-owned work — The user’s production or staging service should perform the action on an ongoing basis and already has HTTP clients, config, and credentials: default to API for that path so the service does not shell out to hookdeck on every branch.

Step 2 — What is the deliverable? (when Step 1 is ambiguous)

  • CLI — The best artifact is a runnable shell command (or short script the human runs), not new logic inside their app repo.
  • API — The behavior belongs inside application code (create/update resources from runtime data, config, or user input; loops; branches; retries in the same process as the app).

Dashboard

  • Human operators only — not the primary path for agents. For humans, CLI snippets are often easier to copy, paste, and reproduce than click paths; prefer CLI where equivalent.

CI and headless automation

  • CLI is usually the right default in CI — a fixed, non-interactive shell script (documented, reproducible). Do not rely on interactive Dashboard flows in CI.
  • API in CI — Use when the pipeline exercises application code that already calls the Hookdeck API, or when provisioning is driven heavily by CI inputs (matrix/env, generated definitions, test harness already using an HTTP client). That is the exception; most CI setups are fine with CLI.

CLI capability parity (do not under-use the CLI)

  • Everything you can do in the Dashboard is possible with the CLI — prefer CLI snippets when reproducing setup.
  • The CLI covers sources, rules on connections, source config, destination config, rate limits, and other connection/destination options. Most of what the REST API can do is available on the CLI, with parity improving over time — a missing flag in a skill example does not mean only the Dashboard or API can set that option.
  • Do not steer users to the Dashboard or API because a knob “looks advanced.” Run the relevant subcommand’s --help first (e.g. hookdeck gateway connection upsert --help). Omitting rate limits in an example was one symptom of skipping --help.

Auth fit (credentials only — not feature depth)

  • CLI vs API is not “CLI for basic / API for full config.” Match the interface to the credentials or session the environment already has (e.g. API key inside a service vs hookdeck login on an operator machine). Do not prescribe API steps when only CLI auth exists, or the reverse.

--help as the source of truth for flags

  • For any create/update subcommand, --help lists current flags. Skill examples are illustrative, not exhaustive.

Terraform and resource management

  • For resource management (sources, destinations, connections, transformations): use the API when resources are created dynamically (e.g. from an application at runtime). Use Terraform or CLI/scripts for effectively static definition management (IaC) — Terraform provider. Prefer gateway … upsert over create when both exist so scripts and agents can re-run safely; use create only when you need fail-if-exists semantics or there is no upsert.
AreaResourceWhen to use
Context verification (organization and project)hookdeck whoami → show output; confirm with user unless they clearly specified org/project and it matchesRun whoami and show the result; ask for confirmation before queries/metrics unless user clearly identified org/project and whoami matches; see references/cli-workflows.md
Resources (sources, destinations, connections, transformations)references/01-setup.md, references/cli-workflows.mdFirst connection or adding/changing resources: 01-setup; cli-workflows for install, listen, upsert, gateway commands; Sources, Destinations, Connections, Transformations for full reference
Monitoringreferences/monitoring-debugging.mdEvent lifecycle, where to observe (TUI, Dashboard)
Debuggingreferences/monitoring-debugging.mdTroubleshooting, issues, replay
Querying (CLI)references/monitoring-debugging.mdList, inspect, retry request/event/attempt; detailed search; main docs for details
Metrics (CLI)references/monitoring-debugging.mdEvent volume, failure rates, backlog; aggregated view; main docs for details
CLIreferences/cli-workflows.mdInstall, listen, connection/resource management, project switching
APIreferences/api-patterns.mdQuerying; in-app resource lifecycle; resource creation driven from application code at runtime; main docs for details
Terraformterraform-provider-hookdeckStatic resource management (sources, destinations, connections, transformations) as IaC; Registry docs
Iteratereferences/04-iterate.mdDebug failures, replay events, CLI inspect/retry workflow

Verification Code

AreaResourceWhen to use
Codereferences/verification-code.mdHookdeck signature verification (Express, Next.js, FastAPI)
Provider webhooksreferences/provider-webhooks-checklist.mdWhen a provider is named (Stripe, Shopify, etc.): checklist before scaffolding, try install, use provider SDK constructs
Example codebasesexamples/express/, examples/nextjs/, examples/fastapi/Runnable, proven, tested verification handlers — use these as the reference implementation for the user's framework

平台分布

Codex

35.86%
按下载量换算148

Claude

31.65%
按下载量换算130

Cursor

20.23%
按下载量换算83

Gemini CLI

8.52%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/hookdeck/agent-skills --skill event-gateway 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills