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.

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.

agentmods
npx agentmods add skills/visa/ai/visa-best-practices
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00046 $0.00355
Sonnet 5 $0.00018 $0.00142
Haiku 4.5 $0.00009 $0.00071

Measured 6d ago against content hash 286b87baad73, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

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. 6d 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 (41 stars, last pushed 2mo ago), licensed MIT. It adds 92 tokens to every session and 710 once invoked, about $0.0005 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

stock-liquidity

Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…

himself65/finance-skills · 188 tokens

company-valuation

Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth", "valuation of NVDA", "fair value of TSLA"…

himself65/finance-skills · 234 tokens

fintel-data

Query Fintel (fintel.io) institutional market intelligence via the REST API at https://api.fintel.io/v1 with FINTELAPIKEY (X-API-KEY header), or the official MCP server at https://mcp.fintel.io/mcp. Read-only data: short interest, borrow rate/fee and shares available to borrow, daily short volume, fails-to-deliver…

himself65/finance-skills · 234 tokens

estimate-analysis

Deep-dive into analyst estimates and revision trends for any stock using Yahoo Finance data. Use when the user wants to understand analyst estimate direction, how EPS or revenue forecasts changed over time, compare estimate distributions, or analyze growth projections across periods. Triggers: "estimate analysis for…

himself65/finance-skills · 195 tokens

earnings-preview

Generate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, understand what analysts expect, review a company's beat/miss track record, or get a quick overview before an earnings call. Triggers include: "earnings preview…

himself65/finance-skills · 221 tokens

earnings-recap

Generate a post-earnings analysis for any stock using Yahoo Finance data. Use when the user wants to review what happened after earnings, understand beat/miss results, see stock reaction, or get an earnings recap. Triggers: "AAPL earnings recap", "how did TSLA earnings go", "MSFT earnings results", "did NVDA beat…

himself65/finance-skills · 186 tokens