Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

webhookwebhook 开发

Agent Skill

webhook 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

114,480

周安装

4,770

GitHub Stars

4

下载量

38,160
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:webhook(webhook 开发)
来源仓库:https://github.com/ivangdavila/webhook
安装命令:
openclaw skills install webhook
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install webhook

简介

实现安全的 Webhook 接收器和发送器。

  • 适用于事件驱动架构和系统集成任务。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 包含验证机制和可靠性保障,防止误触发。
  • 安装命令:openclaw skills install webhook;注意签名验证和回调地址安全性。
  • webhook 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
Webhook
description
Implement secure webhook receivers and senders with proper verification and reliability.
metadata
{"clawdbot":{"emoji":"🪝","os":["linux","darwin","win32"]}}

Receiving: Signature Verification

  • Always verify HMAC signature—payload can be forged; don't trust without signature
  • Common pattern: HMAC-SHA256(secret, raw_body) compared to header value
  • Use raw body bytes—parsed JSON may reorder keys, breaking signature
  • Timing-safe comparison—prevent timing attacks on signature check
  • Reject missing or invalid signature with 401—log for investigation

Receiving: Replay Prevention

  • Check timestamp in payload or header—reject if too old (>5 minutes)
  • Combine with signature—timestamp without signature can be forged
  • Store processed event IDs—reject duplicates even within time window
  • Clock skew tolerance: allow 1-2 minutes past—but not hours

Receiving: Idempotency (Critical)

  • Webhooks can arrive multiple times—sender retries on timeout, network issues
  • Use event ID for deduplication—store processed IDs in database/Redis
  • Make handlers idempotent—same event twice should have same effect
  • Idempotency window: keep IDs for 24-72h—balance storage vs protection

Receiving: Fast Response

  • Return 200/202 immediately—process asynchronously in queue
  • Senders timeout (5-30s typical)—slow processing = retry = duplicates
  • Minimal validation before 200—signature check, then queue
  • Background job for actual processing—failures don't affect acknowledgment

Receiving: Error Handling

  • 2xx = success, sender won't retry
  • 4xx = permanent failure, sender may stop retrying—use for bad signature, unknown event type
  • 5xx = temporary failure, sender will retry—use for downstream issues
  • Log full payload on error—helps debugging; redact sensitive fields

Sending: Retry Strategy

  • Exponential backoff: 1min, 5min, 30min, 2h, 8h—then give up or alert
  • Cap retries (5-10 attempts)—don't retry forever
  • Record delivery attempts—show status to user
  • Different retry for 4xx vs 5xx—4xx often means stop retrying

Sending: Signature Generation

  • Include timestamp in signature—prevents replay of captured webhooks
  • Sign raw JSON body—document exact signing algorithm
  • Header format: t=timestamp,v1=signature—allows versioned signatures
  • Provide verification code examples—reduce integration friction

Sending: Timeouts

  • 5-10 second timeout—don't wait forever for slow receivers
  • Treat timeout as failure—retry later
  • Don't follow redirects—or limit to 1-2; prevents redirect loops
  • Validate HTTPS certificate—don't skip verification

Event Design

  • Include event type: {"type": "order.created", ...}—receivers filter by type
  • Include timestamp: ISO 8601 with timezone—for ordering and freshness
  • Include full resource or ID—prefer full data; saves receiver a lookup
  • Version events: api_version field—allows breaking changes

Delivery Tracking

  • Log every attempt: URL, status code, response time, response body
  • Dashboard for retry queue—let users see pending/failed deliveries
  • Manual retry button—for stuck webhooks after receiver fix
  • Webhook logs retention: 7-30 days—balance debugging vs storage

Security Checklist

  • HTTPS only—never send webhooks to HTTP endpoints
  • Rotate secrets periodically—support multiple active secrets during rotation
  • IP allowlisting optional—document your IP ranges if offered
  • Don't include secrets in payload—webhook URL should be secret enough
  • Rate limit per endpoint—one slow receiver shouldn't affect others

Common Mistakes

  • No signature verification—anyone can POST fake events to your endpoint
  • Processing before responding—timeout causes retries, duplicate processing
  • No idempotency handling—double charges, duplicate records
  • Trusting event data blindly—always verify by fetching from source API for critical actions

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.47%
按下载量换算26,891

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills