gitea-webhooks
Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with…
Skill by Aidas-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aidas-dev-gitea-webhooks
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gitea-webhooks
What's inside
- Skill name
gitea-webhooks- Description
- Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with HMAC-SHA256, and supported webhook formats.
- License
- MIT
- Instructions
- 90 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Gitea Webhooks (v1.26)
## Events
| Event | Trigger |
|-------|---------|
| `push` | Git push |
| `create` / `delete` | Branch/tag created or deleted |
| `fork` | Repo forked |
| `issues` | Issue opened/closed/reopened/edited/deleted |
| `issue_assign` | Issue assigned/unassigned |
| `issue_label` | Issue labels updated |
| `issue_comment` | Comment on issue |
| `pull_request` | PR opened/closed/reopened/edited/synced |
| `pull_request_review_approved` | PR approved |
| `pull_request_review_rejected` | PR rejected |
| `pull_request_review_comment` | PR review comment |
| `pull_request_review_request` | Review requested |
| `wiki` | Wiki edited |
| `repository` | Repo created/deleted |
| `release` | Release published/updated/deleted |
| `package` | Package published |
| `status` | Commit status updated |
| `workflow_run` | Actions workflow run completed |
| `workflow_job` | Actions workflow job ready (autoscaling trigger) |
## API
```bash
# Create repo webhook
curl -X POST https://git.example.com/api/v1/repos/{owner}/{repo}/hooks \
-H "Authorization: token <token>" \
-H "Content-Type: application/json" \
-d '{
"type": "gitea",
"config": {
"url": "https://example.com/webhook",
"content_type": "json",
"secret": "my-secret"
},
"events": ["push", "pull_request"],
"active": true
}'
# List webhooks
curl https://git.example.com/api/v1/repos/{owner}/{repo}/hooks \
-H "Authorization: token <token>"
# Delete webhook
curl -X DELETE https://git.example.com/api/v1/repos/{owner}/{repo}/hooks/{id} \
-H "Authorization: token <token>"
```
## System vs Repo Webhooks
| Type | Scope | API Endpoint |
|------|-------|-------------|
| Repository | Single repo | `POST /api/v1/repos/{owner}/{repo}/hooks` |
| Organization | All repos in org | `POST /api/v1/orgs/{org}/hooks` |
| System | All repos instance-wide | `POST /api/v1/admin/hooks` (`config.is_system_webhook: true`) |
| Default | Template for new repos | `POST /api/v1/admin/hooks` (`config.is_system_webhook: false`) |
## Payload Verification
Gitea signs the raw request body with HMAC-SHA256 using the configured secret.
**Header:** `X-Gitea-Signature`
**Verify server-side:**
```python
import hmac, hashlib
signature = request.headers.get("X-Gitea-Signature")
expected = hmac.new(secret.encode(), request.body, hashlib.sha256).hexdigest()
if not hmac.compare_digest(signature, expected):
abort(401)
```
## Webhook Types (format)
`gitea` (generic JSON), `gogs`, `slack`, `discord`, `dingtalk`, `telegram`, `msteams`, `feishu`, `wechatwork`, `packagist`.
## Common Mistakes
- **HMAC algorithm** — Gitea uses SHA256, not SHA1. Check `X-Gitea-Signature` header.
- **System webhook flag** — Must set `config.is_system_webhook` to `true` for instance-wide webhooks. Defaults to false (template webhook).
- **Event names** — Use snake_case in API: `pull_request`, `issue_comment`. Verify against docs.
- **workflow_job for autoscaling** — Use `workflow_job` event (not `workflow_run`) to trigger ephemeral runner spin-up.From Aidas-dev/k8s-agent-skills, MIT.
More from Aidas-dev/k8s-agent-skills
- 0.569score
harbor-terraform
Aidas-dev
Use when managing Harbor infrastructure as code with Terraform — projects, robot accounts, registries, replication rules, retention policies, webhooks, users…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-registry
Aidas-dev
Use when working with the Gitea container registry — OCI/Docker v2 API, push/pull images, multi-arch builds, package management via API, and configuration for…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-api
Aidas-dev
Use when working with the Harbor REST API v2 — project management, artifact operations, robot accounts, replication, vulnerability scanning, OIDC/LDAP config…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
atlas
Aidas-dev
Use when working with Atlas Operator on Kubernetes — creating or troubleshooting AtlasSchema or AtlasMigration resources; configuring DevDB, migration…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-gateway
Aidas-dev
Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-network
Aidas-dev
Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service…
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jun 1, 2026 (4 months ago)
- Last release
- Aug 14, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Aidas-dev/k8s-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Aidas-dev
- 0.569score
dragonfly
Aidas-dev
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
gitea-webhooks skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-gitea-webhooks (last updated 2026-10-24)