agent-card
Acerca de
La habilidad `agent-card` proporciona herramientas MCP para crear y gestionar tarjetas Visa virtuales prepagas para agentes de IA a través del servicio AgentCard. Permite a los desarrolladores manejar operaciones con tarjetas como consultar saldos, realizar pagos, ver credenciales y cerrar tarjetas mediante Claude. Utiliza esta habilidad cuando tus agentes de IA necesiten realizar transacciones en línea o requieran capacidades de gasto gestionado.
Instalación rápida
Claude Code
Recomendadonpx skills add agent-cards/skill -a claude-code/plugin add https://github.com/agent-cards/skillgit clone https://github.com/agent-cards/skill.git ~/.claude/skills/agent-cardCopia y pega este comando en Claude Code para instalar esta habilidad
Documentación
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
| Tool | Purpose |
|---|---|
list_cards | List all cards with IDs, last four digits, expiry, balance, and status |
create_card | Create a new virtual debit card (requires saved payment method, max $50/card, max 5 active) |
check_balance | Check live balance without exposing credentials |
get_card_details | Get decrypted PAN, CVV, expiry (may require approval) |
close_card | Permanently close a card (irreversible) |
list_transactions | List transactions with amount, merchant, status, timestamps |
setup_payment_method | Save a payment method via Stripe for future card creation |
remove_payment_method | Remove a saved payment method from Stripe |
detect_checkout | Check if current browser tab is a checkout page (requires Chrome extension) |
fill_card | Fill an existing card into a checkout form (requires Chrome extension) |
pay_checkout | Auto-create card and fill checkout form in one step (requires Chrome extension) |
submit_user_info | Submit KYC info (name, DOB, phone) required before first card |
approve_request | Approve or deny a pending approval request |
start_support_chat | Open a new support conversation |
send_support_message | Send a message in a support conversation |
read_support_chat | Read 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:
- Payment method: Call
create_card. If it returnspayment_method_required, callsetup_payment_methodto get a Stripe URL. Tell the user to open it in their browser and save their card. Wait for them to confirm, then retrycreate_card. - KYC (identity verification): If
create_cardreturnsuser_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. Callsubmit_user_infowithterms_accepted: true, then retrycreate_card. - Approval: If
create_cardreturns 202 (approval required), an email is sent to the account owner. Tell the user to check their email. Once approved, callapprove_requestwith the returned approval ID. - 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)
- Ask the user for the funding amount. Convert dollars to cents (e.g. $25 = 2500). Min $1.00, max $50.00.
- Call
create_cardwithamount_cents. Optionallysandbox: truefor testing. - 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:
- Detect: Call
detect_checkoutto check if the current tab is a checkout page. Returns confidence score and detected amount. - Fill: Call
fill_cardwith acard_idto fill an existing card into the form. Or usepay_checkoutto create a new card and fill it in one step. - 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
- Call
setup_payment_methodto get a Stripe checkout URL. - Tell the user to open the URL and save their card details.
- Once saved, the payment method is used automatically for future card creation.
- To remove: call
remove_payment_methodwith thepayment_method_id.
Support Chat
- Call
start_support_chatwith an initial message. Save the returnedconversation_id. - Use
send_support_messagewith theconversation_idand message. - Use
read_support_chatto 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.00not5000 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 viasubmit_user_infobefore creating cards.approval_required(202): Action needs human approval. An email was sent. Guide the user to approve, then callapprove_request.payment_method_required: No saved payment method. Callsetup_payment_methodfirst.- 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.
Repositorio GitHub
Habilidades relacionadas
content-collections
MetaEsta habilidad proporciona una configuración probada en producción para Content Collections, una herramienta centrada en TypeScript que transforma archivos Markdown/MDX en colecciones de datos con tipado seguro mediante validación Zod. Úsala al construir blogs, sitios de documentación o aplicaciones Vite + React con mucho contenido para garantizar seguridad de tipos y validación automática de contenido. Abarca todo, desde la configuración del plugin de Vite y compilación MDX hasta la optimización de despliegue y validación de esquemas.
polymarket
MetaEsta habilidad permite a los desarrolladores crear aplicaciones con la plataforma de mercados de predicción Polymarket, incluyendo la integración de API para operaciones y datos de mercado. También proporciona transmisión de datos en tiempo real a través de WebSocket para monitorear operaciones en vivo y actividad del mercado. Úsela para implementar estrategias de trading o crear herramientas que procesen actualizaciones de mercado en tiempo real.
creating-opencode-plugins
MetaEsta habilidad ayuda a los desarrolladores a crear complementos de OpenCode que se conectan a más de 25 tipos de eventos, como comandos, archivos y operaciones LSP. Proporciona la estructura del complemento, las especificaciones de la API de eventos y los patrones de implementación para módulos en JavaScript/TypeScript. Úsala cuando necesites interceptar, monitorear o extender el ciclo de vida del asistente de IA de OpenCode con lógica personalizada basada en eventos.
sglang
MetaSGLang es un framework de alto rendimiento para el servicio de LLM que se especializa en generación rápida y estructurada para JSON, expresiones regulares y flujos de trabajo de agentes utilizando su caché de prefijos RadixAttention. Ofrece una inferencia significativamente más rápida, especialmente para tareas con prefijos repetidos, lo que lo hace ideal para salidas complejas y estructuradas, y conversaciones multiturno. Elige SGLang sobre alternativas como vLLM cuando necesites decodificación restringida o estés construyendo aplicaciones con uso extensivo de prefijos compartidos.
