use-link-identity

use-link-identity is a skill for Claude Code from stripe/link-cli. It costs 59 tokens per session (1,320 once invoked), scanned A, original, MIT.

A workflow for using Link CLI identity commands when a service requests a Link attestation or a signed claim such as an email address. An attestation proves issuance by Link, while a presentation shares selected claims with a verifier.

In plain words
What is it for?
Use it to obtain and manage attestations, present selected signed claims, and send these proofs through an HTTP client or browser automation.
Why use it?
It helps send the right identity proof in the right HTTP header without exposing claims unnecessarily. It also explains which operations need authentication and which use locally stored credentials.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to obtain and manage attestations, present selected signed claims, and send these proofs through an HTTP client or browser automation.

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

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.

stripe/link-cli · 921 stars · on GitHub · link.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 stripe/link-cli --skill use-link-identity
Clone the repo
git clone --depth 1 https://github.com/stripe/link-cli

Made for: Claude Code.

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 use-link-identity

README.md
[![agentmods](https://agentmods.dev/badge/skills/stripe/link-cli/use-link-identity/github.svg)](https://agentmods.dev/skills/stripe/link-cli/use-link-identity)
Your own site
<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.

agentmods 80×15 button for use-link-identity

Your own site · 80×15
<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>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,320 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
  • Socket pass 28 Oct 2026
  • Snyk pass 28 Oct 2026
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.00059 $0.01320
Opus 5.5 $0.00024 $0.00528
Sonnet 5.5 $0.00012 $0.00264
Haiku 4.5 $0.00006 $0.00132

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

Security

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.

skills/use-link-identity/SKILL.md · 108 lines

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.

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 request needs Link authentication. list, pop, and present use local files. Requests return paths and metadata; pop and present return proofs.
  • Capture stdout with --format json, parse it programmatically with a JSON parser or jq, 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 --auth or logging in as another user does not switch the cached identity. Use separate home directories for different users.

Read the full file on GitHub · 108 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 · -1 lines a7f21f87756b
  2. 1mo ago Changed 27cf58e571d2
  3. 1mo ago First seen · 109 lines · 59 tokens per session scan A 60868a16d921

Subscribe to this mod's changes

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.

Related

use-link-identity compared with skills from other repositories

use-link-identity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
use-link-identitystripe/link-cliSkill9214d agoMITA59Claude Code
pinchtab-mcppinchtab/pinchtabSkill11k5d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3k3d agoMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k2d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2k2d agoApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k6d agoMITA40Claude Code