[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FS5M2MPXGQV28EHH9Z0Z2T":3,"skill-same:01M6FS5M2MPXGQV28EHH9Z0Z2T":60},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M6FS5M2MPXGQV28EHH9Z0Z2T","get-esim",null,"kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Finthaiguy\u002Fget-esim\u002FSKILL.md",[],[17,18],"get","get esim","2026-11-10 10:12:30",false,"# Get eSIM Skill\n\nPurchase eSIM data packages using USDC on Base Sepolia via the x402 protocol.\n\n## Description\n\nThis skill enables AI agents to purchase eSIM data packages for users. It uses the x402 payment protocol to pay with USDC on the Base Sepolia testnet, then delivers the eSIM installation page.\n\n## Prerequisites\n\n- A wallet that supports Base\u002FBase Sepolia with USDC (see `wallet` skill or use your own)\n- USDC balance for purchases\n- ETH for gas (if using `transfer` scheme)\n\n## Invocation\n\nUse this skill when a user:\n- Asks for an eSIM or mobile data\n- Needs cellular data for travel\n- Wants to buy a data plan for a specific country\n- Mentions needing connectivity abroad\n\n## Important: Transaction Timing\n\nCrypto and eSIM transactions are NOT instant. Expect:\n- **USDC transfer**: 5-15 seconds for on-chain confirmation\n- **Purchase completion**: Additional 3-30 seconds for API to verify the transaction on-chain\n- **Total purchase flow**: Can take 30-60 seconds from payment initiation to eSIM delivery\n\nInform the user that the purchase is processing and to wait for confirmation.\n\n## Workflow\n\n1. **Discover needs**: Ask the user which country they need data for\n2. **Search packages**: Query esimqr.link for available packages\n3. **Present options**: Show available data plans with prices\n4. **Get selection**: User picks a package\n5. **Confirm purchase**: Show price and wallet balance, get confirmation\n6. **Execute x402 flow**:\n   - POST to \u002Fapi\u002Fagent\u002Fpurchase → receive 402 with payment details\n   - Pay using your wallet (see Payment Schemes below)\n   - Retry POST with payment proof header\n7. **Deliver eSIM**: Return the `esimPageUrl` - a user-friendly page with QR code and install buttons\n\n## Example Conversation\n\n```\nUser: I need an eSIM for my trip\n\nAgent: I can help you get an eSIM! Which country are you traveling to?\n\nUser: USA\n\nAgent: Let me search for USA eSIM packages...\n\n[Searches packages]\n\nI found these options for USA:\n- US_100MB_7: 100MB \u002F 7 Days - $0.50\n- US_1_7: 1GB \u002F 7 Days - $1.18\n- US_3_7: 3GB \u002F 7 Days - $2.50\n- US_5_30: 5GB \u002F 30 Days - $4.99\n\nWhich package would you like?\n\nUser: 1GB 7 days\n\nAgent: The US 1GB 7-Day plan costs $1.18 USDC.\n\nMy wallet balance: $10.00 USDC\n\nShall I purchase this eSIM now?\n\nUser: Yes\n\nAgent: Initiating purchase...\n\n[Executes x402 payment flow]\n\n✓ Payment sent: 1.18 USDC\n✓ Transaction: 0xabc123...\n\nYour eSIM is ready! Install it here:\nhttps:\u002F\u002Fesimqr.link\u002Fweb3\u002Fesim\u002Fagent_1707184523_abc123\n\nThis link shows a QR code you can scan in your phone's Settings\nunder Cellular\u002FMobile Network.\n```\n\n## API Endpoints\n\nBase URL: `https:\u002F\u002Fesimqr.link`\n\n| Endpoint | Method | Description |\n|----------|--------|-------------|\n| `\u002Fapi\u002Fweb3\u002Fpackages?q={country}` | GET | Search packages |\n| `\u002Fapi\u002Fagent\u002Fquote?packageCode={code}` | GET | Get price quote |\n| `\u002Fapi\u002Fagent\u002Fpurchase` | POST | Initiate\u002Fcomplete purchase |\n| `\u002Fapi\u002Fagent\u002Fesim\u002F{id}` | GET | Get eSIM status |\n\n## Payment Schemes (x402)\n\nThe 402 response offers two payment options in the `accepts` array. Choose based on your wallet capabilities:\n\n| Scheme | Header | Wallet Requirements | Gas |\n|--------|--------|---------------------|-----|\n| `exact` | `PAYMENT-SIGNATURE` | EIP-3009 signing (Circle, x402 SDK) | Gasless |\n| `transfer` | `X-PAYMENT` | Standard USDC transfer | You pay gas |\n\n### Which Scheme to Use\n\n- **Use `exact` if**: Your wallet supports EIP-3009 `transferWithAuthorization` signing (Circle wallets, x402-compatible SDKs). Benefits: gasless - the facilitator broadcasts for you.\n\n- **Use `transfer` if**: Your wallet can do standard USDC transfers but doesn't support EIP-3009. Works with any wallet that supports Base\u002FBase Sepolia. You pay gas fees.\n\n- **Not sure?**: The `transfer` scheme works with any USDC-capable wallet.\n\n### Exact Scheme Flow (gasless):\n1. POST `\u002Fapi\u002Fagent\u002Fpurchase` → receive 402 with EIP-3009 parameters\n2. Sign a `transferWithAuthorization` message (no on-chain tx needed)\n3. Retry POST with header: `PAYMENT-SIGNATURE: \u003Cbase64-encoded-payload>`\n4. Facilitator broadcasts the transaction for you\n\n### Transfer Scheme Flow:\n1. POST `\u002Fapi\u002Fagent\u002Fpurchase` → receive 402 with payment details\n2. Transfer USDC on-chain to `payTo` address\n3. Retry POST with header: `X-PAYMENT: txHash=0x...,nonce=...`\n\n## Network Configuration\n\n| Parameter | Value |\n|-----------|-------|\n| Network | Base Sepolia Testnet |\n| Chain ID | 84532 |\n| USDC Token | `0x036CbD53842c5426634e7929541eC2318f3dCF7e` |\n| USDC Decimals | 6 |\n\n## API Response Examples\n\n### Search Packages\n```json\nGET \u002Fapi\u002Fweb3\u002Fpackages?q=US\n\n{\n  \"packages\": [\n    {\"packageCode\": \"US_1_7\", \"name\": \"United States 1GB 7Days\", ...}\n  ]\n}\n```\n\n### Quote\n```json\nGET \u002Fapi\u002Fagent\u002Fquote?packageCode=US_1_7\n\n{\n  \"packageCode\": \"PHAJHEAYP\",\n  \"slug\": \"US_1_7\",\n  \"planName\": \"United States 1GB 7Days\",\n  \"usdcAmount\": \"1.18\",\n  \"paymentDetails\": {\n    \"recipient\": \"0xCA16Ea02C7BB4Cf00101A468627f9D54e8434Ce2\",\n    \"chainId\": 84532\n  }\n}\n```\n\n### 402 Payment Required\n```json\nPOST \u002Fapi\u002Fagent\u002Fpurchase\nBody: {\"packageCode\": \"US_1_7\"}\n\n{\n  \"x402Version\": 2,\n  \"accepts\": [\n    {\"scheme\": \"exact\", ...},\n    {\"scheme\": \"transfer\", \"amount\": \"1180000\", \"payTo\": \"0xCA16...\", \"extra\": {\"nonce\": \"abc123\"}}\n  ]\n}\n```\n\n### Purchase Success\n```json\nPOST \u002Fapi\u002Fagent\u002Fpurchase\nHeaders: X-PAYMENT: txHash=0x...,nonce=abc123\nBody: {\"packageCode\": \"US_1_7\"}\n\n{\n  \"success\": true,\n  \"esimId\": \"agent_1707184523_abc123\",\n  \"esimPageUrl\": \"https:\u002F\u002Fesimqr.link\u002Fweb3\u002Fesim\u002Fagent_1707184523_abc123\",\n  \"esimDetails\": {\n    \"iccid\": \"8901234...\",\n    \"activationCode\": \"LPA:1$...\"\n  }\n}\n```\n\n## Files\n\n- `esim_api.py` - API client for esimqr.link (can be used directly by agents)\n\n## Dependencies\n\n```\nrequests>=2.28.0\n```\n\n## Hackathon Submission\n\n- **Track**: Agentic Commerce\n- **Protocol**: x402 (HTTP 402 Payment Required)\n- **Network**: Base Sepolia\n- **Payment**: USDC\n\nSubmitted to: https:\u002F\u002Fwww.moltbook.com\u002Fm\u002Fusdc\n",{},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Finthaiguy\u002Fget-esim",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add kbarbel640-del\u002Fskills --skill get-esim",{"tool":36,"command":37},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill get-esim",{"tool":39,"command":40},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill get-esim","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Finthaiguy\u002Fget-esim\u002FSKILL.md",true,[44,50,56],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"_meta.json","REFERENCE","参考文档",306,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Finthaiguy\u002Fget-esim\u002F_meta.json",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"esim_api.py","SCRIPT","脚本",9037,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Finthaiguy\u002Fget-esim\u002Fesim_api.py",{"path":57,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":58,"sourceHtmlUrl":59},"requirements.txt",17,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Finthaiguy\u002Fget-esim\u002Frequirements.txt",[61,92,121,142,148,167],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":72,"publishedAt":19},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[67],{"categoryNo":68,"categoryName":69,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":103,"publishedAt":19},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[98],{"categoryNo":99,"categoryName":100,"taxonomyType":101,"taxonomyTypeDesc":102},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[104,75,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,80,120],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":130,"publishedAt":19},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[127],{"categoryNo":128,"categoryName":129,"taxonomyType":101,"taxonomyTypeDesc":102},"01JBSEEDCAT000000000000021","资料检索与研究",[131,132,133,134,135,136,137,76,138,118,120,139,75,140,141],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":143,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":147,"publishedAt":19},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[146],{"categoryNo":128,"categoryName":129,"taxonomyType":101,"taxonomyTypeDesc":102},[134,133,132,131,141,136,137,76,135,118,120,138,139,75,140],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[155,156,157,158,159,160,161,162,163,164,165,17,166],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","branches",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":19},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[173,174],{"categoryNo":99,"categoryName":100,"taxonomyType":101,"taxonomyTypeDesc":102},{"categoryNo":175,"categoryName":176,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000037","律师与法务",[178,179,180,181,76,182,183,23,184,139,185,186,187,188,189,89,190,191,192],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]