asgcard

asgcard is a skill for Claude Code, Codex from ASGCompute/asgcard-public. It costs 21 tokens per session (2,226 once invoked), scanned A, original, MIT.

A virtual MasterCard service for AI agents, funded and operated through Stellar payments. It is intended to let an agent make card-based purchases after setup.

In plain words
What is it for?
Use it to onboard an agent, create or configure its payment wallet, check USDC funds, generate a card, and make supported payment requests.
Why use it?
It provides a guided onboarding flow for the wallet, account, identity, funding, and balance checks needed before using the card.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to onboard an agent, create or configure its payment wallet, check USDC funds, generate a card, and make supported payment requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgcompute/asgcard-public/skill
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 ASGCompute/asgcard-public --skill skill
Clone the repo
git clone --depth 1 https://github.com/ASGCompute/asgcard-public

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 asgcard

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgcompute/asgcard-public/skill/github.svg)](https://agentmods.dev/skills/asgcompute/asgcard-public/skill)
Your own site
<a href="https://agentmods.dev/skills/asgcompute/asgcard-public/skill"><img src="https://agentmods.dev/badge/skills/asgcompute/asgcard-public/skill/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 asgcard

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgcompute/asgcard-public/skill"><img src="https://agentmods.dev/badge/skills/asgcompute/asgcard-public/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,226 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.
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.00021 $0.02226
Opus 5.5 $0.00008 $0.00890
Sonnet 5.5 $0.00004 $0.00445
Haiku 4.5 $0.00002 $0.00223

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

Security

Grade A, and why

asgcard 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 2mo 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.

cli/skill/SKILL.md · 240 lines

How it starts

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

ASG Card Agent Skill

CRITICAL: Always use npx -y @asgcard/cli@latest (with @latest tag!) to ensure you are running the newest published version with all bug fixes.

⚠️ MANDATORY DATA RULES

NEVER use placeholder, test, or example data for email, phone, or name. You MUST ask the user for their real email address, phone number, and name before running any card creation or payment request command. If the user has previously provided their email/phone in the current conversation, you may reuse it. Otherwise, always ask first.

❌ WRONG: -e "[email protected]" -p "+12345678900" -n "Test User" ✅ RIGHT: Ask the user: "What email, phone number, and name should I use for the card?"

Onboarding (First Time)

Run the full 9-step onboarding wizard:

npx -y @asgcard/cli@latest onboard -y

Steps: Agent Skill → MCP Config → Wallet → API Registration → Telegram Identity → Wallet Activation → Fund Link → Balance Check → Summary

Canonical Flow (x402 / On-Chain USDC)

  1. Onboard: Run asgcard onboard -y to set up wallet, MCP, and skill
  2. Check wallet status: Use get_wallet_status MCP tool to verify wallet address and USDC balance
  3. Fund wallet: Use asgcard fund-link or MCP get_fund_link to generate a deposit URL
  4. Check pricing: Use get_pricing to see card and top-up pricing
  5. Create a card: Use create_card with amount, name, email, and phone — all provided by the user
  6. Manage cards: Use list_cards, get_card, get_card_details, freeze_card, unfreeze_card
  7. Top up cards: Use fund_card to add funds to an existing card
  8. Monitor: Use get_transactions and get_balance to track activity

Stripe MPP Flow (Fiat Payments via Stripe)

Use this flow when the user wants to pay with a regular credit/debit card instead of USDC.

Step 1 — Create a Stripe Session (one-time setup)

npx -y @asgcard/cli@latest stripe:session <USER_EMAIL>

The user's real email is required. This creates a session saved to ~/.asgcard/stripe-session.json.

Read the full file on GitHub · 240 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. 2mo ago First seen · 240 lines · 21 tokens per session scan A d5b17eecc4be

Subscribe to this mod's changes

asgcard is a skill published in the GitHub repository ASGCompute/asgcard-public (15 stars, last pushed 7mo ago), licensed MIT. It adds 21 tokens to every session and 2,226 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-08-30.

Related

asgcard compared with skills from other repositories

asgcard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
asgcardASGCompute/asgcard-publicSkill157mo agoMITA21Claude Code, Codex
x402-stellar-paymentsCodeStrux/x402-stellar-kitSkill024d agoApache-2.0A38Claude Code, Codex
okx-agent-payments-protocolinternet-court/internet-court-skillSkill7.1k11d agononeA231Claude Code
jupiter-lendinternet-court/internet-court-skillSkill7.1k11d agononeA68Claude Code
okx-dapp-discoveryinternet-court/internet-court-skillSkill7.1k11d agononeA351Claude Code
lifiinternet-court/internet-court-skillSkill7.1k11d agononeA299Claude Code
x402-erc7710internet-court/internet-court-skillSkill7.1k11d agononeA53Claude Code