Command Palette

Search for a command to run...

Назад к скиллам
скилл № 95907

ramp-agentic-purchase

Make purchases using Ramp agent cards via browser checkout, then complete all transaction requirements (memo, tracking categories, receipt, trip). Use when…

БесплатноБез исполняемых скриптов
CognitionAIот CognitionAI★ 42 звезды на GitHub

Установить ramp-agentic-purchase в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Agentic Purchase

End-to-end agent card purchasing: pick a fund, get a payment token via ramp CLI, pay via browser, then fill all missing transaction items.

Access & Enrollment

Agent Cards are available via self-serve enrollment. Enrollment is a mutation — it enrolls the authenticated user's business in Agent Cards, enabling agent card funds and fund access. An availability, setup, or eligibility question is not consent to enroll: first answer the question, tell the user that enrolling activates Agent Cards for their business, and ask for explicit confirmation. Only after the user confirms, enroll using the CLI:

ramp agent_cards enroll --agent --rationale "User confirmed enrolling the business in Agent Cards"

The user must be authenticated (ramp auth login) and have appropriate permissions on their Ramp business. Once enrollment succeeds, the user can immediately use agent_cards list and agent_cards creds to access their agent card funds.

For more information, visit https://agents.ramp.com/cards.

Use this guidance for:

  • "What are Agentic Cards?" or "How do I get agent cards?"
  • Access, availability, enrollment, or setup questions
  • Users who hit eligibility errors when running agent_cards list or agent_cards creds

In every case, describe what enrollment does and get an explicit "yes" before running agent_cards enroll.

If the user is already enrolled, proceed with the workflow below.

Prerequisites

  • ramp CLI installed and authenticated (ramp auth login)
  • playwright-cli browser automation set up per the bundled browser-checkout.md reference (formerly the standalone ramp-browser-automation skill, now shipped inside this skill)
  • Business enrolled in Agent Cards (see Access & Enrollment to enroll if not)

CLI conventions

  • Pass --agent for machine-readable JSON output (documented shape is top-level, immediately after ramp: ramp --agent agent_cards list)
  • Use positional arguments where supported (e.g., ramp --agent agent_cards creds <fund_uuid>, ramp --agent transactions missing <transaction_uuid>)
  • Use --json for complex payloads (e.g., ramp --agent transactions edit)
  • Every subcommand accepts --json, --dry_run (-n), and --help
  • --rationale is required on every subcommand — a non-empty string (max 1024 chars) explaining why you are making the call. With --json, put it in the body as a "rationale" key instead. Omitting it returns HTTP 422 (DEVELOPER_INVALID_SCHEMA), even in --agent mode.

Hard rules

  • Two distinct amount thresholds — respect both:
    • User preauth tolerance: policy-level, ~10% over requested. Stop and re-ask if exceeded.
    • Visa cryptogram auth cap: the cryptogram from ramp --agent agent_cards creds ... --amount X rejects any charge > X at the network level — even $0.01 over declines. If the merchant's final total exceeds the cryptogram amount (bag fees, surprise tax, currency conversion), the old cryptogram is unusable — burn it, pull fresh creds at the corrected amount, and re-preauth if the new amount exceeds the user's original 10% tolerance.
  • Run the browser headed, never --headless. Purchase flows need the user able to see and intervene — bot checks, 3DS, and login walls all require human input. See browser-checkout.md for the headed-default rule.
  • Stop if anything unexpected happens. 3DS challenge, login wall, CAPTCHA, bot-block page, merchant form you can't parse → screenshot, hand off to the user via the visible Chrome window per the human-handoff pattern in browser-checkout.md, and wait. Do not retry blindly.

Phase 1: Payment

Step 1 — Pick a fund

ramp agent_cards list --agent --rationale "List the user's agent card funds"

The response contains funds, each with id, display_name, available_balance, currency, interval, max_transaction_amount, allowed_merchants, and allowed_categories. Select for purpose fit first, then technical eligibility:

  • Use display_name to identify likely purpose fit, then confirm the choice with the user. Do not infer an intended use that is not present in the response.
  • Treat broad, admin, or shared-access funds as a hazard: technical access is not approval, and the purpose-fit bar is higher when many funds are visible.
  • If no appropriate fund exists, stop and ask the user which fund to use or whether to proceed through the standard card request/approval flow. Do not keep trying broad/admin funds automatically.

Then verify the selected fund has:

  • available_balance covers the purchase amount
  • currency matches the merchant
  • max_transaction_amount is null or covers the purchase amount
  • allowed_merchants / allowed_categories permit the purchase (empty = unrestricted)
  • interval is the fund's replenishment cadence, not additional balance available for the current purchase

Us

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • browser-checkout.md

FAQ

Что делает скилл ramp-agentic-purchase?

Make purchases using Ramp agent cards via browser checkout, then complete all transaction requirements (memo, tracking categories, receipt, trip). Use when asked to buy something with an agent card, make a payment using Ramp, spend from a fund, complete missing transaction items, or test the agent card payment flow. Also use when asked about agent card access, availability, or how to get started with Agentic Cards. Requires ramp CLI and a playwright-cli-driven browser (see bundled browser-checkout.md).

Как установить скилл ramp-agentic-purchase?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ramp-agentic-purchase запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ramp-agentic-purchase с