stripe-link-cli

stripe-link-cli is a skill for Claude Code, Codex from NousResearch/hermes-agent. It costs 17 tokens per session (1,688 once invoked), scanned A, original, MIT.

A payment tool that lets an agent complete purchases through Stripe Link using a one-time virtual card or a Shared Payment Token. Each payment still requires approval in the Link app.

In plain words
What is it for?
Completing purchases, obtaining a temporary payment method, and paying APIs that return HTTP 402 Payment Required.
Why use it?
It handles checkout and paid API access without letting the agent approve its own spending. It also guides the user through connecting a Link account when needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Completing purchases, obtaining a temporary payment method, and paying APIs that return HTTP 402 Payment Required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nousresearch/hermes-agent/stripe-link-cli
About the project

Hermes Agent is an AI assistant that learns from its use by creating and improving skills, retaining knowledge, searching past conversations, and adapting to its users. It is for people who want to run an agent through a terminal or messaging platforms while connecting it to different AI models and scheduled tasks.

NousResearch/hermes-agent · 268,377 stars · on GitHub · hermes-agent.nousresearch.com

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 NousResearch/hermes-agent --skill stripe-link-cli
Clone the repo
git clone --depth 1 https://github.com/NousResearch/hermes-agent

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nousresearch/hermes-agent/stripe-link-cli"><img src="https://agentmods.dev/badge/skills/nousresearch/hermes-agent/stripe-link-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,688 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
  • Snyk fail 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 156
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium MCP Rug Pull · line 52
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00017 $0.01688
Opus 5.5 $0.00007 $0.00675
Sonnet 5.5 $0.00003 $0.00338
Haiku 4.5 $0.00002 $0.00169

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

Security

Grade A, and why

stripe-link-cli 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 1mo 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

optional-skills/payments/stripe-link-cli/SKILL.md · 185 lines

How it starts

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

Wraps @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 install the pay plugin (hermes plugins install pay) for x402/MPP payments.

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's made

No env vars required — auth state is stored locally by the CLI under its own config directory.

Install

Install once, globally:

npm install -g @stripe/link-cli

Or invoke ad-hoc via npx @stripe/link-cli. The skill below uses the installed link-cli form.

How to Run

All commands run through the terminal tool. The CLI auto-detects non-TTY callers and emits compact toon output by default — fine for the model. Pass --format json if a step needs structured fields.

Discover commands: link-cli --llms-full. Get a command's schema before invoking: link-cli <command> --schema.

Read the full file on GitHub · 185 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. 1mo ago Changed 5072018424d6
  2. 2mo ago Changed 4b84f2be0a8e
  3. 3mo ago First seen · 185 lines · 17 tokens per session scan A 9d0047a6fff6

Subscribe to this mod's changes

stripe-link-cli is a skill published in the GitHub repository NousResearch/hermes-agent (268,377 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,688 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-03.

Related

stripe-link-cli compared with skills from other repositories

stripe-link-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stripe-link-cliNousResearch/hermes-agentSkill268ktodayMITA17Claude Code, Codex
stripeasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A62Claude Code, Codex
shoppingasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
ticketmasterasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A28Claude Code, Codex
quickbooksasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A38Claude Code, Codex
shopifyasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A159Claude Code, Codex
food-orderingasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A28Claude Code, Codex