checkout-link

checkout-link is a skill for Claude Code from theYahia/WWmcp. It costs 21 tokens per session (476 once invoked), scanned A, original, MIT.

A checkout-link flow for Mercado Pago, an online payment service. It creates a link for a cart and lets you change the cart or redirect pages later.

In plain words
What is it for?
Use it to create a payment link from items, customer details, and return URLs, then read or update the checkout preference.
Why use it?
It avoids hand-building checkout data and losing the connection between a payment and your order ID.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to create a payment link from items, customer details, and return URLs, then read or update the checkout preference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/checkout-link
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 theYahia/WWmcp --skill checkout-link
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

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 checkout-link

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/checkout-link"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/checkout-link.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 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.00021 $0.00476
Opus 5.5 $0.00008 $0.00190
Sonnet 5.5 $0.00004 $0.00095
Haiku 4.5 $0.00002 $0.00048

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

Security

Grade A, and why

checkout-link 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 2mo 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.

servers/mercadopago/.claude/skills/checkout-link/SKILL.md · 51 lines

What it actually says

Algorithm

  1. Build the items array. Each item needs title, quantity and unit_price; currency_id and description are optional (currency defaults to the account's country currency).
  2. Call create_preference with items and, where the user has them: payer_email, payer_name, external_reference (your order ID — set this, reconciliation depends on it), back_urls (success / failure / pending), notification_url, auto_return.
  3. Return the init_point URL from the response to the customer. In a sandbox account use sandbox_init_point instead.
  4. To change the cart, expiration or redirect URLs later, call update_preference with the preference_id and a patch object holding only the fields that change.
  5. Call get_preference with the preference_id to read back the current state before telling the user what the link now contains.

Response format

## MercadoPago checkout

**preference_id**: 1234567890-abcd-...
**external_reference**: ORDER-2026-0142
**Items**: 2 × Camiseta @ 8,500 ARS = 17,000 ARS
**Payer**: [email protected]

Checkout link: https://www.mercadopago.com.ar/checkout/v1/redirect?pref_id=...

Notes

  • Always set external_reference. Without it search_payments and search_merchant_orders cannot tie a payment back to an order.
  • auto_return = approved sends the buyer back automatically after a successful payment; it requires a valid back_urls.success.
  • Amounts are in the account's currency (ARS, BRL, MXN, UYU, CLP, COP, PEN) — do not convert; pass what the user gave.

Examples

/checkout-link "Camiseta" 2 8500 [email protected]
/checkout-link "Consultoria" 1 150000
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. 2mo ago First seen · 51 lines · 21 tokens per session scan A 366e16f16a3f

Subscribe to this mod's changes

checkout-link is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 476 once invoked, about $0.0001 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-09-06.

Related

checkout-link compared with skills from other repositories

checkout-link next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
checkout-linktheYahia/WWmcpSkill422mo agoMITA21Claude Code
lemonsqueezymnlt/teleportSkill87mo agoMITB84Claude Code, Codex
stripe-link-cliNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
stripeasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A62Claude Code, Codex
stripe-bfcm-dashboardstripe/aiSkill2.1k5d agoMITA120Claude Code, Codex
stripe-best-practicesstripe/aiSkill2.1k5d agoMITA161Claude Code, Codex
okx-cex-portfoliookx/agent-trade-kitSkill5245d agoMITA236Claude Code, Codex