ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Get Esim

Skill by inthaiguy

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/inthaiguy/get-esim
Or

Get eSIM Skill

Purchase eSIM data packages using USDC on Base Mainnet (or testnet for testing) via the x402 protocol.

Description

This skill enables AI agents to purchase eSIM data packages for users. It uses the x402 payment protocol to pay with USDC on Base Mainnet (default) or Base Sepolia testnet (for testing), then delivers the eSIM installation page.

Default Network: Base Mainnet (production - real eSIMs) Test Network: Base Sepolia (testing - mock eSIMs)

Prerequisites

  • A wallet skill or USDC-capable wallet on Base (Mainnet or Sepolia)
  • USDC balance for purchases
  • ETH for gas (if using transfer scheme)

Suggested wallets: Coinbase Agentic Wallet, any x402-compatible wallet, or any wallet that supports Base USDC transfers.

Network Selection

By default, purchases happen on Base Mainnet (real eSIMs). For testing, explicitly specify the testnet network.

When to Use Each Network

NetworkUse CaseeSIM Type
Base Mainnet (default)Production purchasesReal eSIMs
Base SepoliaDevelopment/testingMock eSIMs

Specifying Network

The user can indicate their preference by:

  • Saying "testnet", "testing", "mock", or "demo" → Use Sepolia testnet
  • Not specifying, or saying "mainnet", "production", "real" → Use Base mainnet (default)

Invocation

Use this skill when a user:

  • Asks for an eSIM or mobile data
  • Needs cellular data for travel
  • Wants to buy a data plan for a specific country
  • Mentions needing connectivity abroad
  • Requests "test" or "mock" eSIM for development

Important: Transaction Timing

Crypto and eSIM transactions are NOT instant. Expect:

  • USDC transfer: 5-15 seconds for on-chain confirmation
  • Purchase completion: Additional 3-30 seconds for API to verify the transaction on-chain
  • Total purchase flow: Can take 30-60 seconds from payment initiation to eSIM delivery

Inform the user that the purchase is processing and to wait for confirmation.

Workflow

  1. Determine network: Ask or detect if user wants mainnet (real) or testnet (testing)
  2. Discover needs: Ask which country they need data for
  3. Search packages: Query esimqr.link for available packages
  4. Present options: Show available data plans with prices
  5. Get selection: User picks a package
  6. Confirm purchase: Show price, network (mainnet/testnet), and wallet balance, get confirmation
  7. Execute x402 flow:
    • POST to /api/agent/purchase (mainnet) or /api/agent-testnet/purchase (testnet) → receive 402 with payment details
    • Pay using your wallet
    • Retry POST with payment proof header
  8. Deliver eSIM: Return the esimPageUrl - a user-friendly page with QR code and install buttons

Example Conversation

Mainnet (Real eSIM)

User: I need an eSIM for my trip to USA

Agent: I can help you get an eSIM! This will be a real eSIM on Base Mainnet.

[Agent searches packages]

Metadata

Author@inthaiguy
Stars2287
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-inthaiguy-get-esim": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.