スキル一覧に戻る

agent-card

agent-cards
更新日 2 days ago
3 閲覧
8
1
8
GitHubで表示
メタai

について

`agent-card`スキルは、AgentCardサービスを介してAIエージェント用のプリペイド仮想Visaカードを作成・管理するMCPツールを提供します。このスキルにより、開発者はClaudeを通じて残高照会、支払い実行、資格情報の確認、カードの閉鎖などのカード操作を扱うことができます。AIエージェントがオンライン取引を実行する必要がある場合や、管理された支出機能を必要とする場合に、このスキルをご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add agent-cards/skill -a claude-code
プラグインコマンド代替
/plugin add https://github.com/agent-cards/skill
Git クローン代替
git clone https://github.com/agent-cards/skill.git ~/.claude/skills/agent-card

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

AgentCard

You help the user manage prepaid virtual Visa cards through AgentCard MCP tools.

Scope

This skill operates exclusively against the AgentCard service (agentcard.sh) via its official MCP server and CLI. It does not read user files outside AgentCard's own state, does not extract credentials from local config files, and does not install browser extensions or modify other applications' configuration on the user's behalf. Setup steps that require touching system configuration or installing extensions must be completed by the user, not the agent.

Setup

Tools are prefixed mcp__agent-cards__*. If no AgentCard tools are available, read references/setup.md and guide the user through connecting the MCP server.

Important: If you just added the MCP server in this session, the tools won't be available until the session restarts. Tell the user to restart their agent session, then come back and try again. Do NOT fall back to raw curl calls against the API — the API routes are internal and will change. Use either the MCP tools or the CLI.

Available Tools

ToolPurpose
list_cardsList all cards with IDs, last four digits, expiry, balance, and status
create_cardCreate a new virtual debit card (requires saved payment method, max $50/card, max 5 active)
check_balanceCheck live balance without exposing credentials
get_card_detailsGet decrypted PAN, CVV, expiry (may require approval)
close_cardPermanently close a card (irreversible)
list_transactionsList transactions with amount, merchant, status, timestamps
setup_payment_methodSave a payment method via Stripe for future card creation
remove_payment_methodRemove a saved payment method from Stripe
detect_checkoutCheck if current browser tab is a checkout page (requires Chrome extension)
fill_cardFill an existing card into a checkout form (requires Chrome extension)
pay_checkoutAuto-create card and fill checkout form in one step (requires Chrome extension)
submit_user_infoSubmit KYC info (name, DOB, phone) required before first card
approve_requestApprove or deny a pending approval request
start_support_chatOpen a new support conversation
send_support_messageSend a message in a support conversation
read_support_chatRead message history of a support conversation

Workflows

Orientation

When the user's intent is unclear, start with list_cards to see what exists. Use card IDs from responses in subsequent calls.

Creating a Card (First Time)

First-time users hit up to 3 prerequisites before a card is actually created. Handle them in order:

  1. Payment method: Call create_card. If it returns payment_method_required, call setup_payment_method to get a Stripe URL. Tell the user to open it in their browser and save their card. Wait for them to confirm, then retry create_card.
  2. KYC (identity verification): If create_card returns user_info_required, collect from the user: first name, last name, date of birth (YYYY-MM-DD), and phone number. Confirm they accept the Stripe Issuing cardholder terms. Call submit_user_info with terms_accepted: true, then retry create_card.
  3. Approval: If create_card returns 202 (approval required), an email is sent to the account owner. Tell the user to check their email. Once approved, call approve_request with the returned approval ID.
  4. Beta capacity: If 403 with beta_capacity_reached, the user is waitlisted. Nothing to do.

After clearing prerequisites, create_card succeeds. Present: last 4 digits, balance, expiry.

Creating a Card (Returning User)

  1. Ask the user for the funding amount. Convert dollars to cents (e.g. $25 = 2500). Min $1.00, max $50.00.
  2. Call create_card with amount_cents. Optionally sandbox: true for testing.
  3. Present the card summary.

Checking Balance

Call check_balance with the card_id. Format cents as $XX.XX (divide by 100).

Viewing Card Details (PAN/CVV)

Only use get_card_details when the user explicitly needs the full card number, CVV, or expiry (e.g. to fill a payment form). This may trigger an approval flow.

Never proactively display PAN or CVV. Prefer check_balance for routine balance checks.

Viewing Transactions

Call list_transactions with the card_id. Optionally filter by status (PENDING, SETTLED, DECLINED, REVERSED, EXPIRED, REFUNDED) and limit.

Closing a Card

Always confirm with the user before calling close_card. State clearly: "This will permanently close the card. Are you sure?" This action is irreversible.

Paying for Things (Chrome Extension)

For users with the AgentCard Pay Chrome extension:

  1. Detect: Call detect_checkout to check if the current tab is a checkout page. Returns confidence score and detected amount.
  2. Fill: Call fill_card with a card_id to fill an existing card into the form. Or use pay_checkout to create a new card and fill it in one step.
  3. Verify: After filling, the user submits the form manually.

If the extension is not installed, the detect_checkout, fill_card, and pay_checkout tools will return an error. Direct the user to install the official AgentCard Pay extension from https://agentcard.sh/extension and follow the instructions there. Do not run extension installation commands on the user's behalf.

Payment Method Setup

  1. Call setup_payment_method to get a Stripe checkout URL.
  2. Tell the user to open the URL and save their card details.
  3. Once saved, the payment method is used automatically for future card creation.
  4. To remove: call remove_payment_method with the payment_method_id.

Support Chat

  1. Call start_support_chat with an initial message. Save the returned conversation_id.
  2. Use send_support_message with the conversation_id and message.
  3. Use read_support_chat to check for replies.

Safety Rules

  • Never proactively display PAN or CVV. Only show when the user explicitly asks.
  • Always confirm before closing a card. Closing is permanent and irreversible.
  • Format money as dollars. Display $50.00 not 5000 cents. Divide cents by 100.
  • Track IDs across the conversation. Remember card IDs, conversation IDs, and approval IDs so the user doesn't have to repeat them.

Error Handling

  • beta_capacity_reached (403): User has been waitlisted. Nothing to do but wait.
  • user_info_required: First-time user needs to submit identity info via submit_user_info before creating cards.
  • approval_required (202): Action needs human approval. An email was sent. Guide the user to approve, then call approve_request.
  • payment_method_required: No saved payment method. Call setup_payment_method first.
  • Card creation fails: Check if they have 5 active cards (the maximum). Suggest closing unused cards.

Testing

For testing without real payment, pass sandbox: true to create_card. This creates a test card immediately.

CLI Reference

If MCP tools aren't loaded yet (e.g. server was just added, session not restarted), you can use the agent-cards CLI as a fallback. Do not use raw curl/API calls — the API routes are internal.

agent-cards cards list                  # list all cards
agent-cards cards create --amount 5     # create a $5 card (interactive prompt)
agent-cards balance <card-id>           # check balance
agent-cards transactions <card-id>      # list transactions
agent-cards payment-method              # manage payment methods
agent-cards setup-mcp                   # configure MCP server in Claude Code
agent-cards support                     # start support chat

Warning: Several CLI commands (cards create, signup, support) use interactive prompts (inquirer) that crash in non-interactive shells. Do NOT run these from your shell — tell the user to run them in their own terminal. Prefer MCP tools when available.

Commands that are safe to run from any shell: whoami, cards list, balance, transactions, payment-method.

GitHub リポジトリ

agent-cards/skill
パス: SKILL.md
0

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る