stripe-test

stripe-test is a command for Claude Code from ncklrs/claude-chrome-user-testing. It costs 26 tokens per session (1,984 once invoked), scanned A, original, MIT.

A checkout tester for Stripe, a service websites use to accept card payments. It simulates a fictional user's payment journey with Stripe's official test cards, which do not charge real money.

In plain words
What is it for?
Use it to test checkout or product pages with success, decline, insufficient-funds, and other test-card scenarios. You can choose personas, tasks before checkout, recordings, and payment-focused reports.
Why use it?
It helps reveal problems in successful payments and payment-error handling without using real transactions.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the user-testing-agent plugin — 14 skills, 10 commands shipped together

Good fit Use it to test checkout or product pages with success, decline, insufficient-funds, and other test-card scenarios. You can choose personas, tasks before checkout, recordings, and payment-focused reports.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ncklrs/claude-chrome-user-testing/stripe-test
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.

Clone the repo
git clone --depth 1 https://github.com/ncklrs/claude-chrome-user-testing

Made for: Claude Code.

Or install user-testing-agent, the plugin that ships this one along with the rest of its 14 skills, 10 commands.

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 stripe-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/ncklrs/claude-chrome-user-testing/stripe-test.svg)](https://agentmods.dev/commands/ncklrs/claude-chrome-user-testing/stripe-test)
Your own site
<a href="https://agentmods.dev/commands/ncklrs/claude-chrome-user-testing/stripe-test"><img src="https://agentmods.dev/badge/commands/ncklrs/claude-chrome-user-testing/stripe-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,984 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.00026 $0.01984
Opus 5 $0.00013 $0.00992
Sonnet 5 $0.00005 $0.00397
Haiku 4.5 $0.00003 $0.00198

Measured 8d ago against content hash a378e73e5327, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

stripe-test 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 8d 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.

commands/stripe-test.md · 303 lines

How it starts

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

Stripe Checkout Test Command

Test Stripe payment flows with persona-based user simulation. Uses official Stripe test cards to simulate various payment scenarios.

Arguments

Parse the following from $ARGUMENTS:

  • --url <url> (required): Checkout or product page URL
  • --persona <id> (optional): Persona to use (default: impulse-buyer)
  • --personas <ids> (optional): Comma-separated persona IDs for parallel testing
  • --gender <m|f|n> (optional): Gender variant
  • --card <scenario> (optional): Test card scenario (default: success)
  • --email <email> (optional): Email for checkout (default: [email protected])
  • --tasks <tasks> (optional): Tasks to perform before checkout
  • --quiet (optional): Disable narration, show only summary and screenshots
  • --record (optional): Record the session as a Playwright Trace for replay
  • --record-path <path> (optional): Custom output path for trace file (default: recordings/)

Test Card Scenarios

Scenario Description Use Case
success Payment succeeds Happy path testing
decline Generic decline Error handling
insufficient Insufficient funds Specific decline message
lost Lost card Specific decline message
stolen Stolen card Specific decline message
expired Expired card Expiry validation
cvc-fail CVC check fails CVC validation
processing-error Processing error Server error handling
3ds-required 3D Secure required Authentication flow
3ds-optional 3D Secure optional Optional auth handling
fraud-high High fraud risk Radar blocking
visa-debit Visa debit card Debit card acceptance
mastercard Mastercard Card brand testing
amex American Express Amex (4-digit CVC)

Pre-Flight Checklist

Before testing:

  1. Chrome Integration: Verify claude --chrome is active
  2. URL Accessible: Navigate to target URL
  3. Persona Loading: Load specified persona (default: impulse-buyer)
  4. Test Card Ready: Load card data from skills/stripe-checkout/test-cards.json

Read the full file on GitHub · 303 lines

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. 8d ago First seen · 303 lines · 26 tokens per session scan A a378e73e5327

Subscribe to this mod's changes

stripe-test is a command published in the GitHub repository ncklrs/claude-chrome-user-testing (19 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 1,984 once invoked, about $0.0001 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.