[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FPM3R3RW8J48AX630CYCXF":3,"skill-same:01M6FPM3R3RW8J48AX630CYCXF":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":6,"ownerHtmlUrl":69,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":70,"install":71,"resources":84},"01M6FPM3R3RW8J48AX630CYCXF","x402_payment_tron",null,"Pay for x402-enabled Agent endpoints using USDT on TRON","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\u002Fhades-ye\u002Fx402-payment-tron\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"x402 payment tron","tron","payment","x402","base","pay","URL","org","name","false","usdt","chat","protocol","crypto","endpoints","api","payments","https","search","2026-11-10 10:12:30",false,"---\nname: x402_payment_tron\ndescription: \"Pay for x402-enabled Agent endpoints using USDT on TRON\"\nversion: 1.0.0\nauthor: x402-protocol\nhomepage: https:\u002F\u002Fx402.org\nmetadata: {\"clawdbot\":{\"emoji\":\"?\",\"env\":[\"TRON_PRIVATE_KEY\"]}}\ntags: [crypto, payments, x402, agents, api, usdt, tron]\nrequires_tools: [x402_tron_invoke]\narguments:\n  agent_url:\n    description: \"Base URL of the x402 agent\"\n    required: false\n  endpoint:\n    description: \"Entrypoint name to invoke (e.g., 'chat', 'search')\"\n    required: false\n---\n\n# x402 Payment Protocol for TRON Agents\n\nInvoke x402-enabled AI agent endpoints with automatic USDT micropayments on TRON.\n\n## Quick Start\n\n### Option 1: Run Pre-built (Recommended for Agents)\nThe skill is pre-bundled into a single file. No installation required.\n```bash\nnode dist\u002Findex.js --url \u003CURL> [options]\n```\n\n### Option 2: Development\n```bash\nnpm install\nnpm start -- --url \u003CURL>\n```\n\n## Tool Reference\n\n- **Wallet**: A TRON private key must be available. The skill automatically looks for it in:\n  1. `TRON_PRIVATE_KEY` environment variable.\n  2. `~\u002F.mcporter\u002Fmcporter.json` (AIBank standard configuration).\n  3. `x402-config.json` in the current directory.\n  4. `~\u002F.x402-config.json` in the home directory.\n- **USDT on TRON**: Wallet needs USDT and some TRX for gas.\n\n---\n\n## Tool Reference\n\n### x402_tron_invoke\n\nInvokes an HTTP endpoint. If payment is required (402), it automatically:\n1. Negotiates payment requirements.\n2. Checks USDT allowance. If insufficient, it performs an **infinite approval** (MAX_UINT256) to minimize future transactions.\n3. Signs the payment permit (EIP-712).\n4. Retries the request with the payment signature.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `url` | string | Yes | Full URL to invoke |\n| `method` | string | No | HTTP method (GET, POST, etc.) Default: GET |\n| `body` | object | No | JSON body for the request |\n| `network` | string | No | `mainnet`, `nile`, `shasta` (Default: `nile`) |\n\n### Example: Chat with Agent\n\n```tool:x402_tron_invoke\nurl: https:\u002F\u002Fapi.example.com\u002Fchat\nmethod: POST\nbody: {\"prompt\": \"Tell me a joke\"}\n```\n\n---\n\n## Agent Discovery\n\nYou can discover available endpoints and their pricing by checking the agent's manifest.\n\n### Fetch Agent Manifest\n\n```tool:x402_tron_invoke\nurl: https:\u002F\u002Fapi.example.com\u002F.well-known\u002Fagent.json\nmethod: GET\n```\n\n---\n\n## Security Rules for Agents\n\n- **No Private Key Output**: The Agent MUST NOT print, echo, or output the `TRON_PRIVATE_KEY` or any other signing secret to the dialogue context.\n- **Internal Loading Only**: The Agent should rely on the skill or underlying scripts to load the key internally.\n- **No Export Commands**: The Agent MUST NOT execute shell commands that contain the private key as a literal string (e.g., `export TRON_PRIVATE_KEY=...`).\n- **Sanitized Logs**: Ensure that logs or error messages do not leak the key.\n\n## Troubleshooting\n\n### \"Private key not found\"\nEnsure the `TRON_PRIVATE_KEY` environment variable is set or a valid `x402-config.json` exists in the expected locations. \n**Agent Note**: If this error occurs, simply inform the user that the environment is not configured. DO NOT attempt to search for or read private keys from files yourself.\n\n### \"Insufficient Allowance\"\nThe tool will attempt to broadcast an **infinite approve** transaction. This requires TRX for gas. Ensure your wallet has TRX.\n\n### \"Transaction Failed\"\nCheck if you have enough USDT and TRX.\n\n---\n\n## Binary and Image Handling\n\nIf the endpoint returns an image (Content-Type: `image\u002F*`) or binary data (`application\u002Foctet-stream`):\n1. The data is automatically saved to a temporary file (e.g., `\u002Ftmp\u002Fx402_image_...` or `\u002Ftmp\u002Fx402_binary_...`).\n2. The tool returns a JSON object with:\n    - `file_path`: Path to the temporary file.\n    - `content_type`: The MIME type of the content.\n    - `bytes`: File size in bytes.\n3. **Important**: The Agent is responsible for deleting the temporary file after it has been used or processed.\n\n---\n\n## Network Reference\n\n| Network | Chain ID | CAIP-2 | USDT Contract |\n|---------|----------|--------|---------------|\n| TRON Mainnet | 0x2b6653dc | `eip155:728126428`, `tron:mainnet` | `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t` |\n| TRON Nile | 0xcd8690dc | `eip155:3448148188`, `tron:nile` | `TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf` |\n| TRON Shasta | 0x94a9059e | `eip155:2494104990`, `tron:shasta` | - |\n","# x402 Payment Protocol for TRON Agents\n\nInvoke x402-enabled AI agent endpoints with automatic USDT micropayments on TRON.\n\n## Quick Start\n\n### Option 1: Run Pre-built (Recommended for Agents)\nThe skill is pre-bundled into a single file. No installation required.\n```bash\nnode dist\u002Findex.js --url \u003CURL> [options]\n```\n\n### Option 2: Development\n```bash\nnpm install\nnpm start -- --url \u003CURL>\n```\n\n## Tool Reference\n\n- **Wallet**: A TRON private key must be available. The skill automatically looks for it in:\n  1. `TRON_PRIVATE_KEY` environment variable.\n  2. `~\u002F.mcporter\u002Fmcporter.json` (AIBank standard configuration).\n  3. `x402-config.json` in the current directory.\n  4. `~\u002F.x402-config.json` in the home directory.\n- **USDT on TRON**: Wallet needs USDT and some TRX for gas.\n\n---\n\n## Tool Reference\n\n### x402_tron_invoke\n\nInvokes an HTTP endpoint. If payment is required (402), it automatically:\n1. Negotiates payment requirements.\n2. Checks USDT allowance. If insufficient, it performs an **infinite approval** (MAX_UINT256) to minimize future transactions.\n3. Signs the payment permit (EIP-712).\n4. Retries the request with the payment signature.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `url` | string | Yes | Full URL to invoke |\n| `method` | string | No | HTTP method (GET, POST, etc.) Default: GET |\n| `body` | object | No | JSON body for the request |\n| `network` | string | No | `mainnet`, `nile`, `shasta` (Default: `nile`) |\n\n### Example: Chat with Agent\n\n```tool:x402_tron_invoke\nurl: https:\u002F\u002Fapi.example.com\u002Fchat\nmethod: POST\nbody: {\"prompt\": \"Tell me a joke\"}\n```\n\n---\n\n## Agent Discovery\n\nYou can discover available endpoints and their pricing by checking the agent's manifest.\n\n### Fetch Agent Manifest\n\n```tool:x402_tron_invoke\nurl: https:\u002F\u002Fapi.example.com\u002F.well-known\u002Fagent.json\nmethod: GET\n```\n\n---\n\n## Security Rules for Agents\n\n- **No Private Key Output**: The Agent MUST NOT print, echo, or output the `TRON_PRIVATE_KEY` or any other signing secret to the dialogue context.\n- **Internal Loading Only**: The Agent should rely on the skill or underlying scripts to load the key internally.\n- **No Export Commands**: The Agent MUST NOT execute shell commands that contain the private key as a literal string (e.g., `export TRON_PRIVATE_KEY=...`).\n- **Sanitized Logs**: Ensure that logs or error messages do not leak the key.\n\n## Troubleshooting\n\n### \"Private key not found\"\nEnsure the `TRON_PRIVATE_KEY` environment variable is set or a valid `x402-config.json` exists in the expected locations. \n**Agent Note**: If this error occurs, simply inform the user that the environment is not configured. DO NOT attempt to search for or read private keys from files yourself.\n\n### \"Insufficient Allowance\"\nThe tool will attempt to broadcast an **infinite approve** transaction. This requires TRX for gas. Ensure your wallet has TRX.\n\n### \"Transaction Failed\"\nCheck if you have enough USDT and TRX.\n\n---\n\n## Binary and Image Handling\n\nIf the endpoint returns an image (Content-Type: `image\u002F*`) or binary data (`application\u002Foctet-stream`):\n1. The data is automatically saved to a temporary file (e.g., `\u002Ftmp\u002Fx402_image_...` or `\u002Ftmp\u002Fx402_binary_...`).\n2. The tool returns a JSON object with:\n    - `file_path`: Path to the temporary file.\n    - `content_type`: The MIME type of the content.\n    - `bytes`: File size in bytes.\n3. **Important**: The Agent is responsible for deleting the temporary file after it has been used or processed.\n\n---\n\n## Network Reference\n\n| Network | Chain ID | CAIP-2 | USDT Contract |\n|---------|----------|--------|---------------|\n| TRON Mainnet | 0x2b6653dc | `eip155:728126428`, `tron:mainnet` | `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t` |\n| TRON Nile | 0xcd8690dc | `eip155:3448148188`, `tron:nile` | `TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf` |\n| TRON Shasta | 0x94a9059e | `eip155:2494104990`, `tron:shasta` | - |\n",{"name":5,"tags":47,"author":49,"version":50,"homepage":51,"metadata":52,"arguments":57,"description":7,"requires_tools":62},[36,39,26,48,38,33,24],"agents","x402-protocol","1.0.0","https:\u002F\u002Fx402.org",{"clawdbot":53},{"env":54,"emoji":56},[55],"TRON_PRIVATE_KEY","?",{"endpoint":58,"agent_url":60},{"required":43,"description":59},"Entrypoint name to invoke (e.g., 'chat', 'search')",{"required":43,"description":61},"Base URL of the x402 agent",[63],"x402_tron_invoke","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fhades-ye\u002Fx402-payment-tron",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add kbarbel640-del\u002Fskills --skill x402_payment_tron",{"tool":77,"command":78},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill x402_payment_tron",{"tool":80,"command":81},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill x402_payment_tron","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhades-ye\u002Fx402-payment-tron\u002FSKILL.md",true,[85,91,95,101],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"_meta.json","REFERENCE","参考文档",466,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhades-ye\u002Fx402-payment-tron\u002F_meta.json",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"package.json",443,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhades-ye\u002Fx402-payment-tron\u002Fpackage.json",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"src\u002Findex.ts","SCRIPT","脚本",6804,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhades-ye\u002Fx402-payment-tron\u002Fsrc\u002Findex.ts",{"path":102,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":103,"sourceHtmlUrl":104},"tsconfig.json",322,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fhades-ye\u002Fx402-payment-tron\u002Ftsconfig.json",[106,135,160,181,187,207],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":117,"publishedAt":42},"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",[112],{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[118,119,38,120,121,122,123,124,125,126,127,128,129,130,131,132,40,133,134],"crowd prompting","prompting","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","content","ai agents",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":142,"publishedAt":42},"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",[141],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[143,38,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,124,159],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":169,"publishedAt":42},"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",[166],{"categoryNo":167,"categoryName":168,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[170,171,172,173,174,175,176,120,177,157,159,178,38,179,180],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":182,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":186,"publishedAt":42},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[185],{"categoryNo":167,"categoryName":168,"taxonomyType":20,"taxonomyTypeDesc":21},[173,172,171,170,180,175,176,120,174,157,159,177,178,38,179],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":42},"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",[],[194,195,196,197,198,199,200,201,202,203,204,205,206],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":208,"name":209,"nameZh":6,"description":210,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":211,"categories":212,"keywords":217,"publishedAt":42},"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",[213,214],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":215,"categoryName":216,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000037","律师与法务",[218,219,220,221,120,222,27,64,223,178,224,225,226,227,228,40,229,230,231],"agent constitution","constitution","contracts","tree","query","log","check","Rules","projects","compliance","actions","state","governance","github"]