webhooks-impl

webhooks-impl is a skill for Claude Code, Cursor from xsolla/xsolla-ai-kit. It costs 88 tokens per session (1,898 once invoked), scanned A, original, MIT.

A draft implementation guide for Xsolla webhooks, which are server-to-server messages about user validation, payments, refunds, and subscriptions.

In plain words
What is it for?
Use it to build webhook endpoints, verify SHA-1 signatures, grant purchased items or currency, handle refunds and subscriptions, allow approved IPs, and test with fixtures or a live tunnel.
Why use it?
It helps a custom shop backend process purchase events safely, including checking that messages are genuine and handling retries without repeating fulfillment.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: shipped in a Claude Code plugin, but also installed under .cursor/.

Part of the xsolla-ai-kit plugin — 15 skills, 1 MCP server shipped together

Good fit Use it to build webhook endpoints, verify SHA-1 signatures, grant purchased items or currency, handle refunds and subscriptions, allow approved IPs, and test with fixtures or a live tunnel.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xsolla/xsolla-ai-kit/webhooks-impl
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xsolla/xsolla-ai-kit --skill webhooks-impl
Clone the repo
git clone --depth 1 https://github.com/xsolla/xsolla-ai-kit

Made for: Claude Code, Cursor.

Or install xsolla-ai-kit, the plugin that ships this one along with the rest of its 15 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webhooks-impl

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsolla/xsolla-ai-kit/webhooks-impl/github.svg)](https://agentmods.dev/skills/xsolla/xsolla-ai-kit/webhooks-impl)
Your own site
<a href="https://agentmods.dev/skills/xsolla/xsolla-ai-kit/webhooks-impl"><img src="https://agentmods.dev/badge/skills/xsolla/xsolla-ai-kit/webhooks-impl/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webhooks-impl

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsolla/xsolla-ai-kit/webhooks-impl"><img src="https://agentmods.dev/badge/skills/xsolla/xsolla-ai-kit/webhooks-impl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.01898
Opus 5.5 $0.00035 $0.00759
Sonnet 5.5 $0.00018 $0.00380
Haiku 4.5 $0.00009 $0.00190

Measured 16d ago against content hash 367d1c9640d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webhooks-impl scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/webhooks-impl/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Status

This skill is a draft authored by the webhooks SME (@e.chernykh).

Detailed material lives in references/:

When to use

Use this skill when the developer wants to receive and process Xsolla webhooks on their own backend. The player pays in a payment UI such as Headless Checkout or Pay Station. That UI does not receive webhooks. Starting to pay makes Xsolla call the merchant or developer for user_validation. A completed payment makes Xsolla call again so the merchant or developer can grant the item. Trigger conditions:

  • Implementing a webhook endpoint that grants items / currency after purchase
  • Verifying the webhook signature or debugging INVALID_SIGNATURE
  • Handling user_validation, payment / order_paid, refund / order_canceled, or subscription events
  • Making webhook processing idempotent or handling retries correctly
  • Reviewing an existing webhook handler before go-live

This skill covers handler implementation and how to test it. Enabling webhooks + creating the secret in Publisher Account is a manual step in Prerequisites below (not done by merchant-setup). Setting the live URL is covered in references/testing.md.

Prerequisites

export XSOLLA_WEBHOOK_SECRET=<project webhook secret key>  # server-side only, never client-side
export XSOLLA_ENV=sandbox                                  # default; "production" for prod

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · -1 lines · -63 tokens per session 367d1c9640d6
  2. 3mo ago First seen · 160 lines · 151 tokens per session scan A 1c16ea6ce94f

Subscribe to this mod's changes

webhooks-impl is a skill published in the GitHub repository xsolla/xsolla-ai-kit (10 stars, last pushed 2d ago), licensed MIT. It adds 88 tokens to every session and 1,898 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

webhooks-impl compared with skills from other repositories

webhooks-impl next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webhooks-implxsolla/xsolla-ai-kitSkill102d agoMITA88Claude Code, Cursor
pandadoc-quote-builderPandaDoc/mcp-server-guideSkill39d agoMITA66Claude Code
wavedashwvdsh/aiSkill25d agoMITA63Claude Code
ask-modelbackspacevenkat/polydev-claude-code-pluginSkill123d agoMITA63Claude Code
motherduck-build-cfa-appmotherduckdb/agent-skillsSkill625d agononeA26Cursor
motherduck-rest-apimotherduckdb/agent-skillsSkill625d agononeA28Cursor
motherduck-connectmotherduckdb/agent-skillsSkill625d agononeA31Cursor