Github Webhooks
Skill for receiving GitHub webhooks, verifying HMAC-SHA256 signatures, and handling repository events.
- CCM score
- 57 of 100
- skills.sh installs
- 539
- GitHub stars
- 104
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers GitHub webhook receipt and verification, with Node and Python handler examples for
X-Hub-Signature-256checks - Includes timing-safe signature comparison on the raw request body, rejecting the legacy SHA-1
X-Hub-Signatureheader - Lists common events including
push,pull_request,issues,release,workflow_run, andping, plus key headers - Designed for developers setting up GitHub handlers, debugging signature failures, or testing locally with
npx hookdeck-cli listen
Install
$ npx -y skills add hookdeck/webhook-skills --skill github-webhooks -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GitHub Webhooks
When to Use This Skill
- Setting up GitHub webhook handlers
- Debugging signature verification failures
- Understanding GitHub event types and payloads
- Handling push, pull request, or issue events
Verification (core)
GitHub signs the raw body with HMAC-SHA256 keyed on your webhook secret and sends the digest in X-Hub-Signature-256 formatted as sha256=<hex>. Use X-Hub-Signature-256 (not the legacy SHA-1 X-Hub-Signature), pass the raw body, and compare timing-safe.
Node:
const crypto = require('crypto');
function verify(rawBody, signatureHeader, secret) {
const [algo, sig] = (signatureHeader || '').split('=');
if (algo !== 'sha256' || !sig) return false;
const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
try {
return crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
} catch {
return false;
}
}
Python:
import hmac, hashlib
Details
- Repository
- github.com/hookdeck/webhook-skills
- Categories
- Backend & APIs, Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the github-webhooks skill do?
The github-webhooks skill helps an agent receive and verify GitHub webhooks, including setting up handlers and debugging signature verification. It covers repository events such as push, pull_request, issues, release and workflow_run. The skill includes HMAC-SHA256 verification code using the X-Hub-Signature-256 header for Node and Python.
How do I install the github-webhooks skill?
Run npx -y skills add hookdeck/webhook-skills --skill github-webhooks -y in your project to install it. Once installed, the agent can write GitHub webhook handlers that verify the X-Hub-Signature-256 signature against your webhook secret. It also provides guidance on local testing with the hookdeck-cli listen tunnel.
What does the github-webhooks skill need to run?
The skill expects a GITHUB_WEBHOOK_SECRET environment variable, set when you create the webhook in GitHub. Local development uses npx hookdeck-cli listen on port 3000 with the github path, which needs no account. Example handlers are provided for Express, Next.js and FastAPI.
Where does github-webhooks sit among Backend & APIs skills?
Within the Backend & APIs category on Claude Marketplaces, github-webhooks sits alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It focuses specifically on GitHub's signed webhook deliveries and repository event types. It also links to webhook-handler-patterns for idempotency and retry logic.
More from hookdeck/webhook-skills
All 7Similar to Github Webhooks
More Backend & APIspaddle-webhooksSkillhookdeck/webhook-skills258 installsReceive and verify Paddle webhooks with HMAC-SHA256 signature checks before handling subscription and transaction events.
stripe-webhooksSkillhookdeck/webhook-skills619 installsStripe webhook receiving skill that verifies signatures and parses events with raw-body SDK helpers.
github-opsSkillaffaan-m/ecc11.1K installsOperational GitHub skill for triage, PR and CI management, releases, and security monitoring via the gh CLI.
claude-github-toolsPlugindavepoon/buildwithclaude3.8K starsGitHub workflow skills for Claude Code - issue creation, PR review triage, backlog summaries/quick-wins, release status, and GitHub Actions authoring. Seven ski
GitHubMCP servergithub34.8K starsConnects AI assistants to GitHub repositories, issues, pull requests, Actions workflows, and security alerts.
githubSkillcallstackincubator/agent-skills9.8K installsGuide to GitHub workflows with the gh CLI for pull requests, branching, and repository automation.