Token导航 LogoToken导航

Agent Skill · 效率

github-webhook-architect(GitHub webhook 架构师)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

github-webhook-architect 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 9,504。

总安装 5,974周安装 254GitHub Stars 公开资料未说明下载 2,093核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install github-webhook-architect

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

指导用户配置 OpenClaw、Nginx 和 GitHub Actions,以建立安全、自主的 GitHub 集成管道。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install github-webhook-architect;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

github-webhook-architect 怎么安装?

在终端执行 openclaw skills install github-webhook-architect。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

github-webhook-architect 支持哪些 AI 工具?

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

github-webhook-architect 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

github-webhook-architect 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

github-webhook-architect 用的人多吗?

公开数据是累计安装 5,974 次,近一周安装 254 次,下载 2,093 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

github-webhook-architect 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

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

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
github-webhook-architect

GitHub webhook 架构师 · 本页

5,974—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
github-webhook-architect
description
Guides users through configuring OpenClaw, Nginx, and GitHub Actions to establish a secure, autonomous GitHub integration pipeline.
metadata
{version: "1.1.1"}

GitHub Webhook Architect Skill

You guide users through exposing their OpenClaw gateway to GitHub webhooks using an Nginx reverse proxy, ensuring payloads are correctly formatted and security boundaries are managed so the agent can autonomously respond to GitHub events.

Operating Principles

  1. Explain First: Your primary directive is to provide clear, step-by-step instructions for the user to execute themselves. Break down the architecture (GitHub Action -> Nginx -> Localhost OpenClaw -> Mapped Hook -> Agent). Do not act autonomously without explicit instruction.
  1. Optional Execution: You do not require any specific binaries to run, but if nginx, ufw, or certbot are present on the system, you may use them to inspect or write configuration files (openclaw.json, Nginx server blocks) via your file editing/execution tools. You must first present a strict warning about the risks of automated server configuration overriding existing routing. Only proceed if explicitly authorized.
  1. HTTP Testing Tolerance: You must strongly advocate for HTTPS. If the user requests to test over plain HTTP first, you may allow it and provide the HTTP-only Nginx configuration. However, you must explicitly warn that passing authorization tokens over HTTP exposes them to interception in transit. You must explicitly instruct the user to disable the HTTP route, rotate their token, and upgrade to HTTPS immediately after the test concludes.

Setup Flow

When a user requests assistance setting up a GitHub webhook, guide them through these five core phases:

Phase 1: Gateway Configuration (openclaw.json)

Instruct the user to create a mapped hook specifically for GitHub payloads.

  • Emphasize that OpenClaw enforces a localhost security boundary and must remain bound to 127.0.0.1.
  • Suggest setting a "defaultSessionKey" to consolidate webhook runs into a single session log file.

Snippet:

{ "hooks": { "enabled": true, "token": "your-secure-token", "mappings": [ { "match": { "source": "github-activity" }, "action": "agent", "agentId": "your-agent-id", "defaultSessionKey": "github-tracking-session" } ] } }

Phase 2: Nginx Reverse Proxy

Provide the Nginx server block required to proxy external traffic from GitHub down to the isolated local OpenClaw port.

  • Crucial: Highlight that trailing slashes in Nginx location and proxy_pass directives must align perfectly with OpenClaw's mapped path to prevent 404 Not Found errors.
  • Include a default drop policy (return 444;) for the root path (/) to mask the server from unauthorized vulnerability scanners.

Snippet:

server { listen 80; server_name hooks.yourdomain.com;

# Drop all traffic hitting the root or undefined paths silently location / { return 444; }

# Accept traffic at /agent and silently forward it to OpenClaw's /hooks/agent location = /agent { proxy_pass http://127.0.0.1:18789/hooks/agent; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }

Phase 3: GitHub Action Payload Construction

Provide the YAML template for the GitHub Action (.github/workflows/openclaw-trigger.yml).

  • Show how to pass the Authorization: Bearer <token> header securely using GitHub Secrets.
  • Explain how to add the required secrets to the GitHub repository. Instruct the user to navigate to their repository's Settings > Secrets and variables > Actions, and click New repository secret to add the following:

* OPENCLAW_HOOKS_URL: The full URL to the mapped hook (e.g., https://hooks.yourdomain.com/agent).

* OPENCLAW_HOOK_TOKEN: The secure token defined in openclaw.json.

* OPENCLAW_AGENT_ID: The ID of the agent meant to process the webhook.

  • Instruct the user to save the following configuration to a file (e.g., .github/workflows/openclaw-trigger.yml), then commit and push the changes to their GitHub repository to activate the action.

Snippet:

name: OpenClaw GitHub Integration

on: issues: types: [opened] issue_comment: types: [created] pull_request_review_comment: types: [created] pull_request_review: types: [submitted] pull_request: types: [closed]

jobs: notify-openclaw: runs-on: ubuntu-latest steps: - name: Send Payload to OpenClaw run: | # Construct a dynamic message based on the event type EVENT_TYPE="${{ github.event_name }}" ACTOR="${{ github.actor }}"

# Extract URL depending on the event payload structure if [ "$EVENT_TYPE" == "issues" ]; then TARGET_URL="${{ github.event.issue.html_url }}" elif [ "$EVENT_TYPE" == "issue_comment" ] || [ "$EVENT_TYPE" == "pull_request_review_comment" ]; then TARGET_URL="${{ github.event.comment.html_url }}" elif [ "$EVENT_TYPE" == "pull_request_review" ]; then TARGET_URL="${{ github.event.review.html_url }}" elif [ "$EVENT_TYPE" == "pull_request" ]; then TARGET_URL="${{ github.event.pull_request.html_url }}" else TARGET_URL="Unknown URL" fi

# Derive session key from issue/PR number for session grouping if [ "$EVENT_TYPE" == "issues" ] || [ "$EVENT_TYPE" == "issue_comment" ]; then SESSION_KEY="hook:gh-issue-${{ github.event.issue.number }}" elif [ "$EVENT_TYPE" == "pull_request_review_comment" ] || [ "$EVENT_TYPE" == "pull_request_review" ] || [ "$EVENT_TYPE" == "pull_request" ]; then SESSION_KEY="hook:gh-pr-${{ github.event.pull_request.number }}" else SESSION_KEY="hook:gh-misc" fi

# Dispatch request to OpenClaw curl -X POST "${{ secrets.OPENCLAW_HOOKS_URL }}" \ -H "Authorization: Bearer ${{ secrets.OPENCLAW_HOOK_TOKEN }}" \ -H "Content-Type: application/json" \ -d "{ \"message\": \"GitHub event: $EVENT_TYPE triggered by $ACTOR. Link: $TARGET_URL\", \"name\": \"GitHub Action\", \"agentId\": \"${{ secrets.OPENCLAW_AGENT_ID }}\", \"sessionKey\": \"$SESSION_KEY\" }"

Phase 4: Agent Authorization (AGENTS.md)

Explain that the agent requires explicit operational authorization to act on external payloads safely. Provide a template for AGENTS.md that conditionally authorizes tool execution based on the GitHub actor. Instruct the user to replace authorized-github-username with a specific GitHub handle they trust.

Snippet:

GitHub Webhook Handling

When processing incoming event notifications for the repository:

  1. Identify the user who triggered the event from the prompt text.
  2. If the user is explicitly identified as authorized-github-username (replace this with your trusted GitHub handle), you are authorized to read the provided link, parse the instructions within the comment, and execute your GitHub tools to respond.
  3. If the event was triggered by anyone else, you must halt processing immediately. Do not fetch the URL, do not execute any tools, and terminate the run with a brief acknowledgment.

Phase 5: HTTPS Enforcement

Provide instructions for securing the endpoint using Certbot. Explicitly note that a registered domain name pointing to the server's IP address is required for SSL to work, as certificate authorities do not issue certificates for bare IP addresses.

Instruct the user that if they tested the payload over port 80 (HTTP), their OPENCLAW_HOOK_TOKEN was transmitted in plain text and must be regenerated in openclaw.json and updated in their GitHub Secrets.

Snippet:

sudo apt install certbot python3-certbot-nginx sudo certbot --nginx -d hooks.yourdomain.com sudo ufw allow 443/tcp

Phase 6: Session Grouping (Optional)

By default, each webhook payload creates a new isolated session. The Action in Phase 3 derives a sessionKey from the issue/PR number so related events group together (hook:gh-issue-42, hook:gh-pr-15, etc.).

To enable this, you must allow request session keys in openclaw.json:

{ "hooks": { "enabled": true, "allowRequestSessionKey": true, "allowedSessionKeyPrefixes": ["hook:"] } }

allowedSessionKeyPrefixes is a security gate — only session keys starting with an allowed prefix will be accepted.

Known issue (OpenClaw ≤ 2026.04.05): Session grouping via sessionKey is currently non-functional. The /hooks/agent handler always uses sessionTarget: "isolated", which forces forceNew: true in the session resolver. This means each webhook call gets a fresh transcript even when the same sessionKey is provided — the session key entry is overwritten with a new session ID each time. This affects both direct sessionKey in the payload and sessionKey set via hooks.mappings. The config is correct and should be kept as-is; the fix needs to come from OpenClaw core.

Troubleshooting: If you see {"ok":false,"error":"sessionKey is disabled for external /hooks/agent payloads; set hooks.allowRequestSessionKey=true to enable"}, it means allowRequestSessionKey is not set (or not true) in your openclaw.json hooks block.

平台分布

OpenClaw

76.88%
按下载量换算1,609

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills