visa-best-practices

visa-best-practices is a skill for Claude Code, Codex from visa/ai. It costs 92 tokens per session (710 once invoked), scanned A, original, MIT.

A reference guide for connecting software to Visa’s developer APIs, which are online services for payments and commerce. It covers setup, authentication, encryption, certificates, and selected Visa payment workflows.

In plain words
What is it for?
Use it when building or troubleshooting Visa API integrations, including card enrollment, agent payments, encrypted messages, certificate rotation, and Machine Payments Protocol charges.
Why use it?
It helps developers choose and configure the required security methods, environments, and credentials without piecing the integration together from scattered information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or troubleshooting Visa API integrations, including card enrollment, agent payments, encrypted messages, certificate rotation, and Machine Payments Protocol charges.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/visa/ai/visa-best-practices
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 visa/ai --skill visa-best-practices
Clone the repo
git clone --depth 1 https://github.com/visa/ai

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 visa-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/visa/ai/visa-best-practices/github.svg)](https://agentmods.dev/skills/visa/ai/visa-best-practices)
Your own site
<a href="https://agentmods.dev/skills/visa/ai/visa-best-practices"><img src="https://agentmods.dev/badge/skills/visa/ai/visa-best-practices/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 visa-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/visa/ai/visa-best-practices"><img src="https://agentmods.dev/badge/skills/visa/ai/visa-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 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.00092 $0.00710
Opus 5.5 $0.00037 $0.00284
Sonnet 5.5 $0.00018 $0.00142
Haiku 4.5 $0.00009 $0.00071

Measured 1mo ago against content hash 286b87baad73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visa-best-practices 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 1mo 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.

skills/visa-best-practices/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.

Visa Developer Platform Integration Guide

Routing — What Are You Working On?

If the user is asking about... Read this reference
Authentication (X-Pay Token, Two-Way SSL, Mutual TLS) references/vdp-integration.md
Message Level Encryption (MLE/JWE) references/vdp-integration.md
Environment URLs (Sandbox, Cert, Production) references/vdp-integration.md
Credential management & certificate rotation references/vdp-integration.md
Code examples & starter kit (llms.txt) references/vdp-integration.md
VIC workflows (card enrollment, purchase instructions) references/visa-intelligent-commerce.md
VIC payment credentials & agent commerce references/visa-intelligent-commerce.md
MPP card charge (HTTP 402, network tokens) references/machine-payments-protocol.md
MPP Client/Server Enablers references/machine-payments-protocol.md

Quick Decision: Which Auth Method?

  • X-Pay Token — Use for most integrations. Simpler setup, HMAC-based.
  • Two-Way SSL (Mutual TLS) — Use when required by specific APIs or for higher-security environments.

Both are documented in references/vdp-integration.md.

Quick Decision: MCP vs Direct API?

  • MCP-based — Building an AI agent or LLM-powered application? Use MCP (StreamableHTTP transport).
  • Direct REST API — Traditional backend service? Use direct API calls with X-Pay auth + MLE.

Official Documentation Entry Points

Resource URL
Developer Center https://developer.visa.com
VIC Capabilities https://developer.visa.com/capabilities/visa-intelligent-commerce

Read the full file on GitHub · 61 lines

Files

What ships with it

3 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.

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. 1mo ago First seen · 61 lines · 92 tokens per session scan A 286b87baad73

Subscribe to this mod's changes

visa-best-practices is a skill published in the GitHub repository visa/ai (45 stars, last pushed 27d ago), licensed MIT. It adds 92 tokens to every session and 710 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-30.

Related

Other skills, from other repositories

dodo-mcp-usage

How and when to use the Dodo Payments MCP servers (dodo-knowledge for docs search, dodopayments-api for the live API via Code Mode) safely. Use when looking up current Dodo payloads or event names, or inspecting or changing real products, checkouts, customers, subscriptions, webhooks or refunds.

dodopayments/skills · 74 tokens

order-management-advisor

Manage the advisor trade lifecycle from order entry through settlement, covering block trading, allocation, pre-trade compliance, custodian routing, and error correction. Use when the user asks about designing an OMS for an RIA, executing model portfolio changes across many accounts, structuring block trades with fair…

JoelLewis/finance_skills · 154 tokens

account-opening-workflow

Design and operate back-office account opening pipelines from application intake through custodian submission and activation. Use when building account opening automation, reducing NIGO rejection rates from custodians or clearing firms, defining document requirements for trusts, entities, IRAs, or estate accounts…

JoelLewis/finance_skills · 110 tokens

integration-patterns

Design and implement integration architectures connecting financial systems — APIs, FIX protocol, ISO 20022, event-driven patterns, batch feeds, idempotency, and resilience. Use when building custodian integration pipelines, implementing FIX connectivity for order routing, designing ISO 20022 or SWIFT migration…

JoelLewis/finance_skills · 161 tokens

exchange-connectivity

Guide the design and management of trading venue connectivity and market data infrastructure. Owns the FIX session layer (logon, heartbeats, sequence number gaps, resend and gap recovery, disconnects). Use when building or troubleshooting FIX sessions for order routing or drop copy, integrating exchange protocols like…

JoelLewis/finance_skills · 149 tokens

financial-planning-integration

Integrate financial planning engines with the advisor technology stack — data flows between planning tools, CRM, PMS, custodians, and aggregation platforms; capital market assumption (CMA) governance and synchronization; plan-to-IPS-to-model linkage; and governed tax reference parameters in planning tools. Use when…

JoelLewis/finance_skills · 185 tokens