solana-developer-platform: Skill for Claude Code

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

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

A development skill for adding a provider’s fiat-to-crypto quote flow to a payments platform. An on-ramp lets someone use regular money to receive cryptocurrency in a wallet.

In plain words
What is it for?
Use it when integrating a payment provider that offers locked quotes, hosted payment pages, session widgets, or manual payment instructions.
Why use it?
It explains the code and API changes needed to create, store, and display provider-specific payment quotes.

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-onramp/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-onramp

README.md
[![agentmods](https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/integrate-onramp.svg)](https://agentmods.dev/skills/solana-foundation/solana-developer-platform/integrate-onramp)
Your own site
<a href="https://agentmods.dev/skills/solana-foundation/solana-developer-platform/integrate-onramp"><img src="https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/integrate-onramp.svg" alt="Measured on agentmods" 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,059 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.01059
Opus 5 $0.00019 $0.00530
Sonnet 5 $0.00008 $0.00212
Haiku 4.5 $0.00004 $0.00106

Measured 4d ago against content hash 3ef536c79c5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

integrate-onramp 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 4d 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.

.agents/skills/integrate-onramp/SKILL.md · 61 lines

How it starts

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

Integrate on-ramp

On-ramp = a counterparty buys crypto with fiat, delivered to an SDP-known wallet. Implement createOnrampQuote on the package client and add a branch to the API quote dispatch. There is no executeOnramp method in the current provider contract.

createOnrampQuote is optional on RampProvider — implement it only if your provider has a lockable quote step.

Choose the closest package client by delivery mode: manual instructions, hosted URL, or session widget — all three are represented under packages/sdp-payments/src/ramps/providers/. Provider-specific DB helpers live in apps/sdp-api/src/routes/payments/handlers/ramps/<id>.ts.

Contract

Read the current RampOnrampQuoteInput from packages/sdp-payments/src/ramps/types.ts. The handler resolves wallet, counterparty, identity/contact, and provider account ids before calling the package client; the client never reads the database.

PaymentRampQuote is a closed union discriminated by both provider and deliveryMode in packages/sdp-types/src/payments.ts. Add the provider-specific quote arm, and add a PaymentRampInstruction arm for new manual instruction fields:

  • deliveryMode: "manual_instructions" — return paymentInstructions (bank/wire or on-chain funding details).
  • deliveryMode: "hosted" — return a hostedUrl the client renders (widget/redirect).
  • deliveryMode: "session_widget" — return the session fields required by an embedded SDK/frame.

Prefer the upstream quote/session id. If the upstream does not mint one, use rampId("ramp_quote") from @sdp/payments/ramps/shared and pass that reference upstream. The webhook or reconciliation path must return the same reference.

Handler wiring (the DB side)

Add a branch to apps/sdp-api/src/routes/payments/handlers/ramps.ts. The handler owns all DB work:

  • resolves the counterparty + destination wallet,
  • ensures any provider-side customer/account exists (DB-touching ensure* helpers live in apps/sdp-api/src/routes/payments/handlers/ramps/<id>.ts),
  • calls your HTTP-only createOnrampQuote with pre-resolved inputs,
  • persists the transfer via persistRampQuoteTransfer (dedups by (provider, providerReference); rampQuoteTransferStatus maps a manual_instructions + pending quote to awaiting_payment). A reservedTransferId is minted before the provider call so it can travel upstream as the reference; a provider whose failed calls must still be attributable to a row pre-creates the pending transfer instead and skips the post-quote persist.

Read the full file on GitHub · 61 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. 4d ago Changed · -2 lines 3ef536c79c5f
  2. 8d ago First seen · 63 lines · 39 tokens per session scan A 4704db3c774d

Subscribe to this mod's changes

integrate-onramp is a skill published in the GitHub repository solana-foundation/solana-developer-platform (52 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,059 once invoked, about $0.0002 per session on Opus 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.