claudegoodies
Skill

stripe-link-cli

From NousResearch

Agent payments via Stripe Link — cards, SPT, approvals.

Wraps @stripe/link-cli so an agent can pay for purchases via Stripe Link cards or SPT, gated by user approval.

Use it when

  • Agent needs to buy something or complete a checkout on user's behalf
  • Merchant API returns HTTP 402 with a stripe www-authenticate challenge
  • User asks to connect or log in to their Link wallet
  • Paying MPP merchants via Shared Payment Token

Skip it if

  • US-only, requires a Link account (Link account requirement)
  • Windows unsupported — CLI only works on linux/macos
  • Requires Node.js 20+ and a global npm install of @stripe/link-cli
  • Every spend needs manual in-app approval, no self-approval possible

Facts

Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this skill runs.

# Stripe Link CLI Skill

Wraps [@stripe/link-cli](https://github.com/stripe/link-cli) so Hermes can complete purchases on the user's behalf using one-time-use virtual cards or Shared Payment Tokens (SPT). Every spend is gated by an in-app approval in the Link mobile/web app — Hermes cannot self-approve.

US-only at the moment (Link account requirement). Windows is not supported by the upstream CLI — this skill is gated `[linux, macos]`.

## When to Use

Trigger phrases:

- "buy X", "pay for X", "make a purchase", "complete checkout"
- "get me a card", "I need a payment method"
- "log in to Link", "connect my Link wallet"
- HTTP 402 response from a merchant API with `www-authenticate: ... method="stripe"`

If the user wants a paid API call (HTTP 402, no checkout form), the `card` path is wrong — use SPT via this same skill, or hand off to the `mpp-agent` skill.

## Prerequisites

- Node.js 20+ available on `PATH` (`node --version`)
- US-based (Link account requirement)

The Link account, payment method, and spend-approval app do NOT need to be set up before Hermes attempts to pay — the CLI walks the user through them on first run:

- A Link account at https://app.link.com — created/linked during first `link-cli` auth
- At least one payment method — added during first run at https://app.link.com/wallet
- The Link mobile/web app — opened to approve the first spend request when it'
View full source on GitHub →

Other skills