link-cli
Installation
SKILL.md
link-cli — Stripe Link Agent Wallet
Let AI agents get secure, one-time-use payment credentials from a Link wallet — so they can complete purchases on your behalf without ever storing your real card details. Uses the OAuth 2.0 device authorization grant (RFC 8628): no browser, no localhost callback, no API token.
Repo: https://github.com/stripe/link-cli Install: runs via
npx -y @stripe/link-cli(no pre-install needed)
Auth Flow
link-cli uses device authorization. The pattern for every auth-dependent command:
- Run the command — if unauthenticated, it returns a
verification_url+phrase - Present the URL to the user and ask them to approve in the Link app
- Poll until authenticated — do not wait for the user to reply before polling
Credentials are stored at ~/.config/link-cli-nodejs/config.json.