solana-developer-platform: Skill for Claude Code

.agents/skills/integrate-webhook/SKILL.md

integrate-webhook is a skill for Claude Code, Codex from solana-foundation/solana-developer-platform. It costs 39 tokens per session (1,818 once invoked), scanned A, original, MIT.

A development guide for adding a payment-provider webhook processor to sdp-api. A webhook is an automatic request sent by another service when an event happens, such as a payment settling.

In plain words
What is it for?
Use it when connecting a ramp provider that sends payment status updates to the API.
Why use it?
It explains how to verify that incoming requests are genuine, reject replays, interpret payment data, and settle transfers only once.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is solana-foundation/solana-developer-platform's own configuration. It tells Claude Code and Codex how to work on solana-developer-platform itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything solana-developer-platform configures →

Reuse

Borrowing it

Nothing to install: this file belongs to solana-foundation/solana-developer-platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/solana-foundation/solana-developer-platform/main/.agents/skills/integrate-webhook/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/solana-foundation/solana-developer-platform

Made for: Claude Code, Codex.

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 integrate-webhook

README.md
[![agentmods](https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/integrate-webhook/github.svg)](https://agentmods.dev/skills/solana-foundation/solana-developer-platform/integrate-webhook)
Your own site
<a href="https://agentmods.dev/skills/solana-foundation/solana-developer-platform/integrate-webhook"><img src="https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/integrate-webhook/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 integrate-webhook

Your own site · 80×15
<a href="https://agentmods.dev/skills/solana-foundation/solana-developer-platform/integrate-webhook"><img src="https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/integrate-webhook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,818 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01818
Opus 5.5 $0.00016 $0.00727
Sonnet 5.5 $0.00008 $0.00364
Haiku 4.5 $0.00004 $0.00182

Measured today against content hash e2bc90b374a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

integrate-webhook 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 today.

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.

.agents/skills/integrate-webhook/SKILL.md · 135 lines

How it starts

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

Integrate webhook

Webhooks drive a transfer toward settlement after the quote. Provider settled only reaches settling; verify-ramp-deliveries checks the chain before completed. Follow docs/contributing/ramp-provider-safety.md. Implement one WebhookProcessor in apps/sdp-api/src/services/ramps/webhooks/<id>.ts using the interface in processor.ts:

  • verify(context) — verify the raw request signature, return the raw body.
  • parse(rawBody, environment) — pure: validate the envelope, then hand the provider's transaction object to the package status mapping.
  • process(env, environment, event) — DB orchestration through applyRampSettlementEvent.

Canonical examples: the registered processors in apps/sdp-api/src/services/ramps/webhooks/.

Mount + flow

Webhooks are not under /v1. They land at POST /webhooks/payments/ramps/{sandbox|production}/:provider. parseRampWebhookProvider accepts an id only after registration in apps/sdp-api/src/services/ramps/webhooks/registry.ts. The handler verifies the raw body and persists it in the durable inbox before its 2xx response. The same typed processor handles the background apply and replay.

verify

verify(context: RampWebhookValidationContext): Promise<string> (defined beside WebhookProcessor in apps/sdp-api/src/services/ramps/webhooks/processor.ts). context = { env, environment, headers, rawBody, requestUrl? }. Read the mode-keyed verification key, verify the signature over the raw body, and return that body. Throw UNAUTHORIZED on a missing or invalid signature. Use apps/sdp-api/src/lib/webhook-signature.ts with the provider-signed timestamp.

The shared verifier currently supports HMAC-SHA256, and it requires a provider-signed timestamp. If the upstream uses another algorithm or does not sign a timestamp, stop and extend/review the shared verification contract; do not fabricate a local timestamp or bypass replay protection.

This is one of the few places unknown is allowed — it's a genuine trust boundary, narrowed immediately by parse.

Read the full file on GitHub · 135 lines

Files

What ships with it

1 file 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.

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. today Changed · +1 lines e2bc90b374a6
  2. 2d ago Changed · +54 lines 7e6fe2f77af3
  3. 5d ago Changed · -2 lines 3b1c38b61ca1
  4. 7d ago Changed 15b9740c91ab
  5. 8d ago Changed · -1 lines 53c996a9c09c
  6. 9d ago Changed · -1 lines f9ebc3bf0f11
  7. 1mo ago Changed 2b2c1b22996c
  8. 1mo ago First seen · 84 lines · 39 tokens per session scan A 5219fa20f7ba

Subscribe to this mod's changes

integrate-webhook is a skill published in the GitHub repository solana-foundation/solana-developer-platform (58 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,818 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-30.

Related

Other skills, from other repositories

convex-billing

Add Stripe billing/payments to the Convex app via @convex-dev/stripe (checkout + webhook + gating).

openclaw/clawhub · 29 tokens

cloudbase-wechat-integration

A guide for connecting CloudBase applications to WeChat services, including payments, official accounts, and user identity.

TencentCloudBase/CloudBase-AI-Toolkit · 94 tokens

shopify-admin

Write or explain Admin GraphQL queries and mutations for apps and integrations that extend the Shopify admin. Use when the user wants to understand, design, or generate the operation itself—even before deciding how to run it. Do not choose admin first for app monetization—charging merchants for the app itself via app…

Shopify/Shopify-AI-Toolkit · 226 tokens

shopify-functions

Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…

Shopify/Shopify-AI-Toolkit · 61 tokens

gplay-purchase-verification

Server-side purchase verification for in-app products and subscriptions using Google Play Developer API. Use when implementing receipt validation in your backend.

hanamizuki/solopreneur · 32 tokens

baselinker-webhooks

Receive BaseLinker (Base.com) webhooks. Use when building a BaseLinker order or warehouse callback receiver, because BaseLinker is not a normal webhook source: deliveries arrive as HTTP HEAD requests with NO body, the entire payload is in the query string (observed params: orderid, state), there is NO signature…

hookdeck/webhook-skills · 131 tokens