[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FZY5VXHF4QRTM2MHTHXZNZ":3,"skill-same:01M6FZY5VXHF4QRTM2MHTHXZNZ":86},{"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":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M6FZY5VXHF4QRTM2MHTHXZNZ","paytrigo-openclawbot",null,"Use when an OpenClawBot needs to create or verify PayTrigo payments on Base\u002FUSDC without webhooks.","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\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"paytrigo openclawbot","create","payments","verify","use","webhooks","base","usdc","2026-11-10 10:12:30",false,"---\nname: paytrigo-openclawbot\ndescription: Use when an OpenClawBot needs to create or verify PayTrigo payments on Base\u002FUSDC without webhooks.\nmetadata: {\"openclaw\":{}}\n---\n\n# PayTrigo (OpenClawBot, Base\u002FUSDC)\n\nThis skill provides a minimal, bot-friendly payment flow on PayTrigo using a **platform API key** and **Base\u002FUSDC only**. It is optimized for OpenClawBots that do **not** run webhooks and instead **poll** for status. A platform key is embedded in the helper script for no-setup usage.\n\n## Assumptions\n- **Platform key** is used (**`recipientAddress` required**).\n- Base\u002FUSDC is the only enabled chain\u002Ftoken for this key (from Platform Fee Configs).\n- Bots can store `invoiceId` and `checkoutToken` returned from invoice creation.\n\n## No environment variables required\nThe helper script ships with an embedded key, so OpenClawBots can use it immediately.\n\n## Install\nRequires Node.js 18+.\n\n```\nnpm install\n```\n\n## Local wallet memory (recommended)\nOpenClawBots can store a recipient address and an encrypted payer wallet locally (no external services needed).\n\n### 1) Create a local wallet store\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs create --passphrase-file .\u002Fpassphrase.txt --set-recipient-from-wallet\n```\nThis creates `.openclawbot\u002Fwallet.json`, `.openclawbot\u002Fwallet-address.txt`, and `.openclawbot\u002Frecipient.txt`.\n\n### If you already have a wallet\nYou do not need to create a new one.\n\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs recipient --address 0xYourWallet\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs import --pk-file .\u002Fpayer.pk --passphrase-file .\u002Fpassphrase.txt --set-recipient-from-wallet\n```\n\n### 2) Run flows using the stored data\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-human-flow.mjs human --amount 0.001\nnode {baseDir}\u002Fscripts\u002Fmoltbot-bot-flow.mjs bot --amount 0.001 --passphrase-file .\u002Fpassphrase.txt\n```\n\n### 3) Optional: set a separate recipient address\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs recipient --address 0xYourWallet\n```\n\n## Quickstart (CLI scripts)\nUse the scenario scripts to test end-to-end flows without additional setup.\n\n### Human-in-the-loop (user pays in browser)\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-human-flow.mjs human --amount 0.001 --recipient 0xYourWallet...\n```\n\n### Bot pays directly (requires private key)\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-bot-flow.mjs bot --amount 0.001 --recipient 0xYourWallet... --pk 0xPRIVATE_KEY\n```\n\nSee `README.md` in this folder for a short OpenClawBot-focused guide.\n\n## Core flow (Human-in-the-loop)\n1) **Create invoice** (platform key, Base\u002FUSDC, recipientAddress required)\n2) Send `payUrl` to the user (approval + payment)\n3) **Poll** invoice status until `confirmed | expired | invalid | refunded`\n\n## Core flow (Bot pays directly)\n1) Create invoice\n2) Get intent (approve\u002Fpay calldata)\n3) Send on-chain tx (approve if needed, then pay)\n4) Submit txHash\n5) Poll status\n\n> Important: **Direct token transfer is invalid**. Always use the Router `steps.pay` from `\u002Fintent`.\n\n---\n\n# API Usage (HTTP)\n\n## 1) Create invoice\n**Endpoint**: `POST \u002Fv1\u002Finvoices`\n\n**Headers**:\n- `Authorization: Bearer \u003Cplatform_key>` (required if calling HTTP directly)\n- `Content-Type: application\u002Fjson`\n- `Idempotency-Key: pay_attempt_\u003Cuuid>`\n\n**Body (Base\u002FUSDC fixed, recipientAddress required)**\n```json\n{\n  \"amount\": \"49.99\",\n  \"recipientAddress\": \"0xYourWallet...\",\n  \"ttlSeconds\": 900,\n  \"metadata\": { \"botId\": \"openclawbot_123\", \"purpose\": \"checkout\" }\n}\n```\n\n**Response** includes `invoiceId`, `payUrl`, `checkoutToken`, `expiresAt`.\n\n## 2) Get intent (bot-pay)\n**Endpoint**: `GET \u002Fv1\u002Finvoices\u002F{invoiceId}\u002Fintent?chain=base&token=usdc`\n\n**Headers** (preferred):\n- `X-Checkout-Token: \u003CcheckoutToken>`\n\n**Response** includes `steps.approve`, `steps.pay`, `routerAddress`, `grossAmountAtomic`.\n\n## 3) Submit payment intent (txHash)\n**Endpoint**: `POST \u002Fv1\u002Finvoices\u002F{invoiceId}\u002Fpayment-intents`\n\n**Headers**:\n- `X-Checkout-Token: \u003CcheckoutToken>`\n- `Content-Type: application\u002Fjson`\n\n**Body**\n```json\n{ \"txHash\": \"0x...\", \"payerAddress\": \"0x...\" }\n```\n\n## 4) Poll invoice status\n**Endpoint**: `GET \u002Fv1\u002Finvoices\u002F{invoiceId}`\n\n**Headers**:\n- `X-Checkout-Token: \u003CcheckoutToken>`\n\n**Stop when**: `status` is `confirmed | expired | invalid | refunded`.\n\n---\n\n# Polling policy (safe default)\n- `submitted` right after tx: poll every **3-5s** for 2 minutes\n- After 2 minutes: poll every **10-15s**\n- Stop at `expiresAt + grace` (status will not change after that)\n- If you receive **429**, backoff and retry later\n\n---\n\n# Common mistakes\n- **Missing `recipientAddress` with platform key** (invalid)\n- **Direct token transfer** instead of Router pay\n- **Losing checkoutToken** (it is only returned on invoice creation)\n","# PayTrigo (OpenClawBot, Base\u002FUSDC)\n\nThis skill provides a minimal, bot-friendly payment flow on PayTrigo using a **platform API key** and **Base\u002FUSDC only**. It is optimized for OpenClawBots that do **not** run webhooks and instead **poll** for status. A platform key is embedded in the helper script for no-setup usage.\n\n## Assumptions\n- **Platform key** is used (**`recipientAddress` required**).\n- Base\u002FUSDC is the only enabled chain\u002Ftoken for this key (from Platform Fee Configs).\n- Bots can store `invoiceId` and `checkoutToken` returned from invoice creation.\n\n## No environment variables required\nThe helper script ships with an embedded key, so OpenClawBots can use it immediately.\n\n## Install\nRequires Node.js 18+.\n\n```\nnpm install\n```\n\n## Local wallet memory (recommended)\nOpenClawBots can store a recipient address and an encrypted payer wallet locally (no external services needed).\n\n### 1) Create a local wallet store\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs create --passphrase-file .\u002Fpassphrase.txt --set-recipient-from-wallet\n```\nThis creates `.openclawbot\u002Fwallet.json`, `.openclawbot\u002Fwallet-address.txt`, and `.openclawbot\u002Frecipient.txt`.\n\n### If you already have a wallet\nYou do not need to create a new one.\n\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs recipient --address 0xYourWallet\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs import --pk-file .\u002Fpayer.pk --passphrase-file .\u002Fpassphrase.txt --set-recipient-from-wallet\n```\n\n### 2) Run flows using the stored data\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-human-flow.mjs human --amount 0.001\nnode {baseDir}\u002Fscripts\u002Fmoltbot-bot-flow.mjs bot --amount 0.001 --passphrase-file .\u002Fpassphrase.txt\n```\n\n### 3) Optional: set a separate recipient address\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-wallet-setup.mjs recipient --address 0xYourWallet\n```\n\n## Quickstart (CLI scripts)\nUse the scenario scripts to test end-to-end flows without additional setup.\n\n### Human-in-the-loop (user pays in browser)\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-human-flow.mjs human --amount 0.001 --recipient 0xYourWallet...\n```\n\n### Bot pays directly (requires private key)\n```\nnode {baseDir}\u002Fscripts\u002Fmoltbot-bot-flow.mjs bot --amount 0.001 --recipient 0xYourWallet... --pk 0xPRIVATE_KEY\n```\n\nSee `README.md` in this folder for a short OpenClawBot-focused guide.\n\n## Core flow (Human-in-the-loop)\n1) **Create invoice** (platform key, Base\u002FUSDC, recipientAddress required)\n2) Send `payUrl` to the user (approval + payment)\n3) **Poll** invoice status until `confirmed | expired | invalid | refunded`\n\n## Core flow (Bot pays directly)\n1) Create invoice\n2) Get intent (approve\u002Fpay calldata)\n3) Send on-chain tx (approve if needed, then pay)\n4) Submit txHash\n5) Poll status\n\n> Important: **Direct token transfer is invalid**. Always use the Router `steps.pay` from `\u002Fintent`.\n\n---\n\n# API Usage (HTTP)\n\n## 1) Create invoice\n**Endpoint**: `POST \u002Fv1\u002Finvoices`\n\n**Headers**:\n- `Authorization: Bearer \u003Cplatform_key>` (required if calling HTTP directly)\n- `Content-Type: application\u002Fjson`\n- `Idempotency-Key: pay_attempt_\u003Cuuid>`\n\n**Body (Base\u002FUSDC fixed, recipientAddress required)**\n```json\n{\n  \"amount\": \"49.99\",\n  \"recipientAddress\": \"0xYourWallet...\",\n  \"ttlSeconds\": 900,\n  \"metadata\": { \"botId\": \"openclawbot_123\", \"purpose\": \"checkout\" }\n}\n```\n\n**Response** includes `invoiceId`, `payUrl`, `checkoutToken`, `expiresAt`.\n\n## 2) Get intent (bot-pay)\n**Endpoint**: `GET \u002Fv1\u002Finvoices\u002F{invoiceId}\u002Fintent?chain=base&token=usdc`\n\n**Headers** (preferred):\n- `X-Checkout-Token: \u003CcheckoutToken>`\n\n**Response** includes `steps.approve`, `steps.pay`, `routerAddress`, `grossAmountAtomic`.\n\n## 3) Submit payment intent (txHash)\n**Endpoint**: `POST \u002Fv1\u002Finvoices\u002F{invoiceId}\u002Fpayment-intents`\n\n**Headers**:\n- `X-Checkout-Token: \u003CcheckoutToken>`\n- `Content-Type: application\u002Fjson`\n\n**Body**\n```json\n{ \"txHash\": \"0x...\", \"payerAddress\": \"0x...\" }\n```\n\n## 4) Poll invoice status\n**Endpoint**: `GET \u002Fv1\u002Finvoices\u002F{invoiceId}`\n\n**Headers**:\n- `X-Checkout-Token: \u003CcheckoutToken>`\n\n**Stop when**: `status` is `confirmed | expired | invalid | refunded`.\n\n---\n\n# Polling policy (safe default)\n- `submitted` right after tx: poll every **3-5s** for 2 minutes\n- After 2 minutes: poll every **10-15s**\n- Stop at `expiresAt + grace` (status will not change after that)\n- If you receive **429**, backoff and retry later\n\n---\n\n# Common mistakes\n- **Missing `recipientAddress` with platform key** (invalid)\n- **Direct token transfer** instead of Router pay\n- **Losing checkoutToken** (it is only returned on invoice creation)\n",{"name":5,"metadata":31,"description":7},{"openclaw":32},{},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fpaytrigo\u002Fpaytrigo-openclawbot",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":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add kbarbel640-del\u002Fskills --skill paytrigo-openclawbot",{"tool":46,"command":47},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill paytrigo-openclawbot",{"tool":49,"command":50},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill paytrigo-openclawbot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002FSKILL.md",true,[54,60,64,68,74,78,82],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"_meta.json","REFERENCE","参考文档",307,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002F_meta.json",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"package.json",130,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002Fpackage.json",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"README.md",3395,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002FREADME.md",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fmoltbot-bot-flow.mjs","SCRIPT","脚本",7812,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002Fscripts\u002Fmoltbot-bot-flow.mjs",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fmoltbot-human-flow.mjs",4972,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002Fscripts\u002Fmoltbot-human-flow.mjs",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fmoltbot-wallet-setup.mjs",7326,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002Fscripts\u002Fmoltbot-wallet-setup.mjs",{"path":83,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fpaytrigo.mjs",5873,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpaytrigo\u002Fpaytrigo-openclawbot\u002Fscripts\u002Fpaytrigo.mjs",[87,113,135,153,158,178],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":26},"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",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":26},"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",[],[120,96,121,122,123,124,19,125,126,127,128,129,130,131,132,133,134,101,22],"dilemm ai","arena","analyze","browser","openclaw agent","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"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":141,"publishedAt":26},"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",[],[142,143,144,145,146,147,148,97,149,133,22,150,96,151,152],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":154,"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":155,"categories":156,"keywords":157,"publishedAt":26},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[145,144,143,142,152,147,148,97,146,133,22,149,150,96,151],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":26},"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",[],[165,166,167,168,169,170,171,172,173,174,175,176,177],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":26},"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",[],[185,186,187,188,97,189,24,33,190,150,191,192,193,194,195,110,196,197,198],"agent constitution","constitution","contracts","tree","query","log","check","Rules","projects","compliance","actions","state","governance","github"]