solana-developer-platform: Skill for Claude Code

.agents/skills/counterparty-requirements/SKILL.md

counterparty-requirements is a skill for Claude Code, Codex from solana-foundation/solana-developer-platform. It costs 56 tokens per session (2,757 once invoked), scanned A, original, MIT.

A coding guide for adding counterparty checks to a payment provider. It covers deciding whether a customer needs identity checks, a payout account, or nothing before getting a quote.

In plain words
What is it for?
Use it when adding or updating payment providers in the SDP payments package, including providers that can immediately mark a customer as ready.
Why use it?
It keeps the provider decision separate from later API work such as onboarding, saving provider data, and handling required fields.

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/counterparty-requirements/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 counterparty-requirements

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/solana-foundation/solana-developer-platform/counterparty-requirements"><img src="https://agentmods.dev/badge/skills/solana-foundation/solana-developer-platform/counterparty-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,757 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.00056 $0.02757
Opus 5 $0.00028 $0.01378
Sonnet 5 $0.00011 $0.00551
Haiku 4.5 $0.00006 $0.00276

Measured 6d ago against content hash 656405640bc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

counterparty-requirements 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 6d 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/counterparty-requirements/SKILL.md · 118 lines

How it starts

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

Counterparty requirements

Before a quote, the platform asks your provider what a counterparty still needs — KYC, a payout account, or nothing at all. validateCounterparty answers that. It is pure and synchronous: it reads the counterparty + handler-resolved state and returns a CounterpartyRequirements. No HTTP, no DB — the actual provisioning happens later, in the advance flow.

Use this skill for every provider, including providers that always return ready. The dashboard calls the requirements GET and POST flow before requesting a quote, so both schemas and an advanceCounterpartyRequirements branch must admit the provider even when there is no KYC or provisioning work to perform.

Canonical examples live in packages/sdp-payments/src/ramps/providers/ — before writing yours, read the existing provider whose lifecycle is closest: inline ready decisions, collected-field KYC, customer-link → payout-tree provisioning, and hosted onboarding lifecycles are all represented.

The event model

The requirements flow is a set of event streams, each a closed union discriminated on (provider, status/kind). Adding a provider means declaring exactly which events it emits and accepts in each stream:

  • Status events out (GET /v1/counterparties/:counterpartyId/requirements): validateCounterparty emits one arm of CounterpartyRequirements (packages/sdp-types/src/ramp-requirements.ts).
  • Advance submissions in (POST …/requirements): one submitCounterpartyRequirementsSchema arm per provider (nested discriminatedUnion("direction", …) when payloads differ per direction). collectedData on the submission is the only PII channel in the platform.
  • Webhook auto-advance (optional): providers with async provisioning also move requirement state from typed webhook events — see integrate-webhook.

Provider state: counterparty_provider_accounts

All provider-side counterparty state is rows in this table — one row per provider resource. The row schema is counterpartyProviderAccountRowSchema in apps/sdp-api/src/db/repositories/counterparty-provider-account.repository.ts; every repo method is tenant-scoped and parent-scoped.

Read the full file on GitHub · 118 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. 6d ago Changed · +49 lines · +18 tokens per session 656405640bc8
  2. 10d ago First seen · 69 lines · 38 tokens per session scan A fd11221f470e

Subscribe to this mod's changes

counterparty-requirements is a skill published in the GitHub repository solana-foundation/solana-developer-platform (52 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 2,757 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

stripe-best-practices

Guides Stripe integration decisions across API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax, automatictax, product tax codes), Treasury financial accounts, integration options (Checkout, Payment…

stripe/ai · 135 tokens

pinme-uniwebpay

Use when generating, modifying, or reviewing PinMe Worker (Cloudflare Worker TypeScript) code that accepts payments through UniwebPay — payment links, products/prices, checkout sessions, payment status reads, refunds, subscriptions, or handling UniwebPay webhooks with @uniwebpay/sdk in a PinMe project.

glitternetwork/pinme · 71 tokens

erp-xpp

Finance and Operations X++ development lifecycle — scaffold models, author classes, custom services/APIs, and data entities, install matching SDKs, compile deployable packages, deploy packages, synchronize databases, and verify deployed artifacts. Use when the user wants to create, build, compile, package, deploy…

microsoft/Dataverse-skills · 84 tokens

kalshi-api

Kalshi exchange mechanics — RSA-PSS auth, order schema, YES/NO orderbook convention, WebSocket, and endpoint surface. Market-type-agnostic shared layer for all Kalshi skills.

agiprolabs/claude-trading-skills · 44 tokens