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.
npx skills add xsolla/xsolla-ai-kit --skill headless-checkout-integrationgit clone --depth 1 https://github.com/xsolla/xsolla-ai-kitWrote 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.
[](https://agentmods.dev/skills/xsolla/xsolla-ai-kit/headless-checkout-integration)<a href="https://agentmods.dev/skills/xsolla/xsolla-ai-kit/headless-checkout-integration"><img src="https://agentmods.dev/badge/skills/xsolla/xsolla-ai-kit/headless-checkout-integration/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.
<a href="https://agentmods.dev/skills/xsolla/xsolla-ai-kit/headless-checkout-integration"><img src="https://agentmods.dev/badge/skills/xsolla/xsolla-ai-kit/headless-checkout-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.02856 |
| Opus 5.5 | $0.00024 | $0.01142 |
| Sonnet 5.5 | $0.00012 | $0.00571 |
| Haiku 4.5 | $0.00006 | $0.00286 |
Grade A, and why
headless-checkout-integration 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.
How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What this skill does
Integrates Headless Checkout into a custom checkout UI via @xsolla/pay-station-sdk,
running in sandbox. This is a big integration, so it is built one payment method at a
time (see Phases) until every method works. This file is a map and a sequence — the actual
how-to lives in references/; load only the reference the current phase needs.
Frontend only. It does not cover the production token backend (server-to-server) nor
webhook fulfillment — see webhooks-impl for granting items after order_paid.
When to use
The developer wants to accept a payment with their own checkout UI (not the hosted Pay Station) and is working in sandbox — standing up the integration from scratch, adding a method selector, adding a payment method (card, PayPal/APM, QR, mobile), adding the Google Pay / Apple Pay wallet buttons, or wiring payment country into the method list.
Prerequisites
Run merchant-setup first. The developer must have:
XSOLLA_MERCHANT_ID=<your merchant ID>
XSOLLA_PROJECT_ID=<your project ID>
XSOLLA_PROJECT_API_KEY=<your API key> # server-side / agent-side only — NEVER ship to the browser
If credentials are missing, stop and complete merchant-setup first. The only secret that
ever reaches the browser is the short-lived payment token — never the API key.
The one mental model: form.init() + one onNextAction dispatcher
Every payment method — card, PayPal, QR, mobile, wallets — runs through the same shape: call
form.init({ paymentMethodId, returnUrl }), render the server-driven fields, the user
submits, and the SDK drives a small state machine by emitting NextActions to your
onNextAction handler. React to whatever action arrives — never assume a fixed sequence, and
never switch on the payment method id. All flows converge on a final status view.
One dispatcher, keyed on nextAction.type, handles everything. Where each action is documented:
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/apple-pay.md 22 KB
- references/credit-card-form.md 13 KB
- references/demo-install.md 5.0 KB
- references/documentation.md 11 KB
- references/google-pay.md 15 KB
- references/initialization.md 8.7 KB
- references/payment-country.md 13 KB
- references/payment-methods-list.md 11 KB
- references/payment-methods.md 12 KB
- references/payment-status.md 8.8 KB
- references/redirect-flow.md 19 KB
- references/saved-methods.md 8.2 KB
- references/testing.md 3.0 KB
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.
- 16d ago Changed · -7 lines · -127 tokens per session ab82a95201af
- 3mo ago First seen · 192 lines · 188 tokens per session scan A 6854f20913f2
headless-checkout-integration is a skill published in the GitHub repository xsolla/xsolla-ai-kit (10 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 2,856 once invoked, about $0.0002 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.
headless-checkout-integration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| headless-checkout-integrationxsolla/xsolla-ai-kit | Skill | 10 | 2d ago | MIT | A | 61 | Claude Code, Cursor |
| pandadoc-quote-builderPandaDoc/mcp-server-guide | Skill | 3 | 9d ago | MIT | A | 66 | Claude Code |
| wavedashwvdsh/ai | Skill | 2 | 5d ago | MIT | A | 63 | Claude Code |
| ask-modelbackspacevenkat/polydev-claude-code-plugin | Skill | 1 | 23d ago | MIT | A | 63 | Claude Code |
| domscribepatchorbit/domscribe | Skill | 195 | 13d ago | MIT | A | 94 | Claude Code |
| bloombloom-directory/bloom | Skill | 27 | today | MIT | A | 124 | Claude Code |
| gerrit-workflowGerritCodeReview/gerrit-mcp-server | Skill | 24 | 6d ago | Apache-2.0 | A | 123 | Claude Code |