stripe/link-cli is a command-line tool that lets agents obtain temporary payment credentials from a Link wallet for approved purchases without exposing the user's real card details. It is used by agents to complete web checkouts or programmatic payments while requiring purchase approval. The catalogue entries provide components for integrating the CLI with agents.
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.
npx skills add stripe/link-cli --skill use-link-identitygit clone --depth 1 https://github.com/stripe/link-cliWrote 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.
[](https://agentmods.dev/skills/stripe/link-cli/use-link-identity)<a href="https://agentmods.dev/skills/stripe/link-cli/use-link-identity"><img src="https://agentmods.dev/badge/skills/stripe/link-cli/use-link-identity/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.
<a href="https://agentmods.dev/skills/stripe/link-cli/use-link-identity"><img src="https://agentmods.dev/badge/skills/stripe/link-cli/use-link-identity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.01320 |
| Opus 5.5 | $0.00024 | $0.00528 |
| Sonnet 5.5 | $0.00012 | $0.00264 |
| Haiku 4.5 | $0.00006 | $0.00132 |
Grade A, and why
use-link-identity 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Link identity
These commands are in beta and appear in link-cli identity --help without a preview flag. Use them when a service accepts Link attestations or signed user claims.
| Service requests | Command | JSON field → HTTP header |
|---|---|---|
A Link Agent Attestation Token (AAT), often via WWW-Authenticate: PrivateToken |
identity attestations pop |
authorization → Authorization |
Signed claims, often via WWW-Authenticate: Identity-Presentation |
identity credentials present |
presentation → Identity-Presentation |
An AAT proves issuance by Link without disclosing user claims. A presentation discloses selected claims and proves possession of the credential's holder key for an audience and nonce. If the service requires both, send both headers.
Setup and handling
Use Link Agent Wallet v0.27.0 or later. Check link-cli --version; if older or missing, install or update with npm install -g @stripe/link-cli@latest. No LINK_IDENTITY_COMMANDS flag is needed. See wallet setup; reuse the create-payment-credential skill's authentication guidance.
- Identity commands are available through the CLI, not its MCP tools.
- Only
requestneeds Link authentication.list,pop, andpresentuse local files. Requests return paths and metadata;popandpresentreturn proofs. - Capture stdout with
--format json, parse it programmatically with a JSON parser orjq, and pass the exact proof to the HTTP client or browser automation. Never manually transcribe, reconstruct, or re-encode tokens or presentations. Keep proofs, private keys, and claim values out of transcripts and logs; use restrictive permissions for handoff files. - Cached identity files belong to the home directory. Changing
--author logging in as another user does not switch the cached identity. Use separate home directories for different users.
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.
- 1mo ago Changed · -1 lines a7f21f87756b
- 1mo ago Changed 27cf58e571d2
- 1mo ago First seen · 109 lines · 59 tokens per session scan A 60868a16d921
use-link-identity is a skill published in the GitHub repository stripe/link-cli (921 stars, last pushed 4d ago), licensed MIT. It adds 59 tokens to every session and 1,320 once invoked, about $0.0002 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-10-08.
use-link-identity compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| use-link-identitystripe/link-cli | Skill | 921 | 4d ago | MIT | A | 59 | Claude Code |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 5d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | 2d ago | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| browser_cdpmateaix/mateclaw | Skill | 1.2k | 2d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 1.1k | 6d ago | MIT | A | 40 | Claude Code |