[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CR605WRFVMSS3PW3CWJBAV":3,"skill-same:01M7CR605WRFVMSS3PW3CWJBAV":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CR605WRFVMSS3PW3CWJBAV","x402",null,"Add x402 payment-gated routes to a Scaffold-ETH 2 project. Use when the user wants to: monetize an API with micropayments, add HTTP 402 payment required to routes, gate content behind crypto payments, implement pay-per-call APIs, or integrate the x402 protocol.","bro-rad\u002Fcoti-garbled-data-quickstart","bro-rad","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F325375301?v=4","01M7CR1FXF6N50Z1F90A5PAKE3","rad bro bot","01M7CR1FY2PSK9YKV9XG22M21X",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fx402\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: x402\ndescription: \"Add x402 payment-gated routes to a Scaffold-ETH 2 project. Use when the user wants to: monetize an API with micropayments, add HTTP 402 payment required to routes, gate content behind crypto payments, implement pay-per-call APIs, or integrate the x402 protocol.\"\n---\n\n# x402 Payment Protocol Integration for Scaffold-ETH 2\n\n## Prerequisites\n\nCheck if `.\u002Fpackages\u002Fnextjs\u002Fscaffold.config.ts` exists directly in the current working directory (do not search subdirectories). If it doesn't exist, this is not a Scaffold-ETH 2 project. Follow the instructions at https:\u002F\u002Fdocs.scaffoldeth.io\u002FSKILL.md to scaffold it first. If it exists, continue directly with building.\n\n## Overview\n\n[x402](https:\u002F\u002Fwww.x402.org\u002F) is an open payment protocol by Coinbase that uses HTTP status code 402 (\"Payment Required\") to enable instant stablecoin micropayments over HTTP. When a client requests a protected resource without payment, the server responds with 402 + payment instructions. The client signs a payment, retries the request, and gets access.\n\nThis skill covers integrating x402 into SE-2 using Next.js middleware. For the full protocol spec and advanced usage, refer to the [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome) or the [GitHub repo](https:\u002F\u002Fgithub.com\u002Fcoinbase\u002Fx402). This skill focuses on SE-2 integration specifics and gotchas.\n\n## Dependencies\n\n### NextJS package\n\nAdd to `packages\u002Fnextjs\u002Fpackage.json`:\n\n```json\n{\n  \"dependencies\": {\n    \"@x402\u002Fcore\": \"^2.2.0\",\n    \"@x402\u002Fevm\": \"^2.2.0\",\n    \"@x402\u002Fnext\": \"^2.2.0\",\n    \"@x402\u002Fpaywall\": \"^2.2.0\"\n  }\n}\n```\n\n### Hardhat package (for CLI payment script)\n\nIf the user wants a CLI script to test API routes programmatically, add to `packages\u002Fhardhat\u002Fpackage.json`:\n\n```json\n{\n  \"scripts\": {\n    \"send402request\": \"hardhat run scripts\u002Fsend402request.ts\"\n  },\n  \"dependencies\": {\n    \"@x402\u002Fcore\": \"^2.2.0\",\n    \"@x402\u002Fevm\": \"^2.2.0\",\n    \"@x402\u002Ffetch\": \"^2.2.0\"\n  }\n}\n```\n\nAdd to root `package.json`: `\"send402request\": \"yarn workspace @se-2\u002Fhardhat send402request\"`\n\n### Environment variables\n\nCreate `packages\u002Fnextjs\u002F.env.development` (or `.env.local`):\n\n```env\n# Facilitator service URL — verifies and settles payments\n# Default testnet facilitator (free, no signup needed):\nNEXT_PUBLIC_FACILITATOR_URL=https:\u002F\u002Fx402.org\u002Ffacilitator\n\n# Address that receives payments (set to your deployer or any wallet)\nRESOURCE_WALLET_ADDRESS=0xYourAddressHere\n\n# CAIP-2 network identifier (eip155:84532 = Base Sepolia, eip155:8453 = Base Mainnet)\nNETWORK=eip155:84532\n```\n\n### scaffold.config.ts\n\nx402 payments happen onchain, so `targetNetworks` must include a supported chain. For development, use `baseSepolia`:\n\n```typescript\ntargetNetworks: [chains.baseSepolia],\n```\n\n**Do not use `hardhat` (localhost) as the target network for x402** — the facilitator needs a real chain to verify\u002Fsettle payments.\n\n## x402 Protocol Flow\n\n```\nClient GET \u002Fapi\u002Fprotected\n    → Server: no X-PAYMENT header → responds 402 + PAYMENT-REQUIRED header\nClient: signs EIP-712 payment authorization (USDC approve)\nClient GET \u002Fapi\u002Fprotected + X-PAYMENT header\n    → Server middleware: sends payment to facilitator for verification\n    → Facilitator: verifies signature, checks balance\n    → Server: serves content\n    → Server middleware: sends settlement to facilitator\n    → Facilitator: executes the USDC transfer onchain\n```\n\nKey insight: **The user never sends a transaction themselves.** They sign an EIP-712 message authorizing a USDC transfer. The facilitator executes it after the server confirms content was delivered.\n\n## Middleware Configuration\n\nThe core of x402 integration is `middleware.ts` in the Next.js app root. The v2 API uses `paymentProxy` from `@x402\u002Fnext` with explicit server and paywall setup.\n\n```typescript\n\u002F\u002F packages\u002Fnextjs\u002Fmiddleware.ts\nimport { paymentProxy } from \"@x402\u002Fnext\";\nimport { HTTPFacilitatorClient, x402ResourceServer } from \"@x402\u002Fcore\u002Fserver\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst facilitatorUrl = process.env.NEXT_PUBLIC_FACILITATOR_URL!;\nconst payTo = process.env.RESOURCE_WALLET_ADDRESS as `0x${string}`;\nconst network = process.env.NETWORK as `${string}:${string}`;\n\n\u002F\u002F Create facilitator client and resource server\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst server = new x402ResourceServer(facilitatorClient);\nregisterExactEvmScheme(server);\n\n\u002F\u002F Create paywall UI (shown to browsers visiting protected pages)\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({\n    appName: \"My dApp\",\n    appLogo: \"\u002Flogo.png\",\n    testnet: true, \u002F\u002F set false for mainnet\n  })\n  .build();\n\nexport const middleware = paymentProxy(\n  {\n    \"\u002Fapi\u002Fpayment\u002F:path*\": {\n      accepts: [\n        {\n          scheme: \"exact\",\n          price: \"$0.01\",\n          network,\n          payTo,\n        },\n      ],\n      description: \"Access to premium API data\",\n      mimeType: \"application\u002Fjson\",\n    },\n    \"\u002Fpayment\u002F:path*\": {\n      accepts: [\n        {\n          scheme: \"exact\",\n          price: \"$0.01\",\n          network,\n          payTo,\n        },\n      ],\n      description: \"Access to premium content\",\n      mimeType: \"text\u002Fhtml\",\n    },\n  },\n  server,\n  undefined, \u002F\u002F optional request context\n  paywall,\n);\n\n\u002F\u002F IMPORTANT: matcher must cover all protected routes\nexport const config = {\n  matcher: [\"\u002Fapi\u002Fpayment\u002F:path*\", \"\u002Fpayment\u002F:path*\"],\n};\n```\n\n## CAIP-2 Network Identifiers\n\nThe v2 API uses [CAIP-2](https:\u002F\u002Fgithub.com\u002FChainAgnostic\u002FCAIPs\u002Fblob\u002Fmain\u002FCAIPs\u002Fcaip-2.md) network identifiers — format: `eip155:{chainId}` for EVM chains.\n\n| CAIP-2 ID | Chain | Notes |\n|-----------|-------|-------|\n| `eip155:84532` | Base Sepolia | Default for development — [Circle faucet](https:\u002F\u002Ffaucet.circle.com\u002F) for test USDC |\n| `eip155:8453` | Base | Recommended for production — lowest fees |\n\nLegacy network names (`base-sepolia`, `base`, etc.) may still work for backwards compatibility, but prefer CAIP-2 format. For the full list of supported networks, check the [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome).\n\n## Gotchas & Common Pitfalls\n\n**Facilitator is required.** x402 doesn't do peer-to-peer payments. The facilitator service verifies signatures and executes settlements. For testnet, `https:\u002F\u002Fx402.org\u002Ffacilitator` works without signup. For production, you may need to run your own — check [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome).\n\n**Register the EVM scheme.** The server needs `registerExactEvmScheme(server)` in middleware.ts. Without this, payment payloads won't be understood.\n\n**Payments are in USDC by default.** The `$0.01` price syntax means USDC.\n\n**Don't use `hardhat` localhost as the network.** The facilitator can't verify or settle payments on a local chain. Always use a testnet (`eip155:84532`) even during development.\n\n**The `matcher` in `middleware.ts` must cover protected routes.** If you add a new protected route in the routes config but forget to add it to `matcher`, the middleware won't run on that route.\n\n## CLI Payment Script\n\nFor testing API routes programmatically (without a browser), create a script using `@x402\u002Ffetch`:\n\n```typescript\n\u002F\u002F packages\u002Fhardhat\u002Fscripts\u002Fsend402request.ts\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { x402Client, wrapFetchWithPayment } from \"@x402\u002Ffetch\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\n\nasync function main() {\n  const privateKey = process.env.DEPLOYER_PRIVATE_KEY as `0x${string}`;\n  if (!privateKey) { console.log(\"No deployer key. Run `yarn generate` first.\"); return; }\n\n  const signer = privateKeyToAccount(privateKey);\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer });\n\n  const fetchWithPayment = wrapFetchWithPayment(fetch, client);\n  const response = await fetchWithPayment(\"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fpayment\u002Fbuilder\", { method: \"GET\" });\n  console.log(\"Response:\", await response.json());\n}\n\nmain().catch(console.error);\n```\n\n> **Note:** Register the EVM scheme on the client side too — `registerExactEvmScheme(client, { signer })` from `@x402\u002Fevm\u002Fexact\u002Fclient`.\n\n## How to Test\n\n1. Set `targetNetworks: [chains.baseSepolia]` in `scaffold.config.ts`\n2. Configure `.env.development` with facilitator URL, pay-to address, and `NETWORK=eip155:84532`\n3. `yarn start` — visit `http:\u002F\u002Flocalhost:3000`\n4. Navigate to a protected page — you should see the x402 paywall\n5. To test API routes: `curl http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fpayment\u002Fbuilder` should return 402 with `PAYMENT-REQUIRED` header\n6. To test paid access: `yarn send402request` (needs funded wallet on Base Sepolia — get test USDC from [Circle faucet](https:\u002F\u002Ffaucet.circle.com\u002F))\n\n### Production\n\n- Switch `NETWORK` to `eip155:8453` (Base mainnet)\n- Update `scaffold.config.ts` to target the mainnet chain\n- Set `RESOURCE_WALLET_ADDRESS` to your production payment receiver\n- Set `testnet: false` in paywall config\n","# x402 Payment Protocol Integration for Scaffold-ETH 2\n\n## Prerequisites\n\nCheck if `.\u002Fpackages\u002Fnextjs\u002Fscaffold.config.ts` exists directly in the current working directory (do not search subdirectories). If it doesn't exist, this is not a Scaffold-ETH 2 project. Follow the instructions at https:\u002F\u002Fdocs.scaffoldeth.io\u002FSKILL.md to scaffold it first. If it exists, continue directly with building.\n\n## Overview\n\n[x402](https:\u002F\u002Fwww.x402.org\u002F) is an open payment protocol by Coinbase that uses HTTP status code 402 (\"Payment Required\") to enable instant stablecoin micropayments over HTTP. When a client requests a protected resource without payment, the server responds with 402 + payment instructions. The client signs a payment, retries the request, and gets access.\n\nThis skill covers integrating x402 into SE-2 using Next.js middleware. For the full protocol spec and advanced usage, refer to the [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome) or the [GitHub repo](https:\u002F\u002Fgithub.com\u002Fcoinbase\u002Fx402). This skill focuses on SE-2 integration specifics and gotchas.\n\n## Dependencies\n\n### NextJS package\n\nAdd to `packages\u002Fnextjs\u002Fpackage.json`:\n\n```json\n{\n  \"dependencies\": {\n    \"@x402\u002Fcore\": \"^2.2.0\",\n    \"@x402\u002Fevm\": \"^2.2.0\",\n    \"@x402\u002Fnext\": \"^2.2.0\",\n    \"@x402\u002Fpaywall\": \"^2.2.0\"\n  }\n}\n```\n\n### Hardhat package (for CLI payment script)\n\nIf the user wants a CLI script to test API routes programmatically, add to `packages\u002Fhardhat\u002Fpackage.json`:\n\n```json\n{\n  \"scripts\": {\n    \"send402request\": \"hardhat run scripts\u002Fsend402request.ts\"\n  },\n  \"dependencies\": {\n    \"@x402\u002Fcore\": \"^2.2.0\",\n    \"@x402\u002Fevm\": \"^2.2.0\",\n    \"@x402\u002Ffetch\": \"^2.2.0\"\n  }\n}\n```\n\nAdd to root `package.json`: `\"send402request\": \"yarn workspace @se-2\u002Fhardhat send402request\"`\n\n### Environment variables\n\nCreate `packages\u002Fnextjs\u002F.env.development` (or `.env.local`):\n\n```env\n# Facilitator service URL — verifies and settles payments\n# Default testnet facilitator (free, no signup needed):\nNEXT_PUBLIC_FACILITATOR_URL=https:\u002F\u002Fx402.org\u002Ffacilitator\n\n# Address that receives payments (set to your deployer or any wallet)\nRESOURCE_WALLET_ADDRESS=0xYourAddressHere\n\n# CAIP-2 network identifier (eip155:84532 = Base Sepolia, eip155:8453 = Base Mainnet)\nNETWORK=eip155:84532\n```\n\n### scaffold.config.ts\n\nx402 payments happen onchain, so `targetNetworks` must include a supported chain. For development, use `baseSepolia`:\n\n```typescript\ntargetNetworks: [chains.baseSepolia],\n```\n\n**Do not use `hardhat` (localhost) as the target network for x402** — the facilitator needs a real chain to verify\u002Fsettle payments.\n\n## x402 Protocol Flow\n\n```\nClient GET \u002Fapi\u002Fprotected\n    → Server: no X-PAYMENT header → responds 402 + PAYMENT-REQUIRED header\nClient: signs EIP-712 payment authorization (USDC approve)\nClient GET \u002Fapi\u002Fprotected + X-PAYMENT header\n    → Server middleware: sends payment to facilitator for verification\n    → Facilitator: verifies signature, checks balance\n    → Server: serves content\n    → Server middleware: sends settlement to facilitator\n    → Facilitator: executes the USDC transfer onchain\n```\n\nKey insight: **The user never sends a transaction themselves.** They sign an EIP-712 message authorizing a USDC transfer. The facilitator executes it after the server confirms content was delivered.\n\n## Middleware Configuration\n\nThe core of x402 integration is `middleware.ts` in the Next.js app root. The v2 API uses `paymentProxy` from `@x402\u002Fnext` with explicit server and paywall setup.\n\n```typescript\n\u002F\u002F packages\u002Fnextjs\u002Fmiddleware.ts\nimport { paymentProxy } from \"@x402\u002Fnext\";\nimport { HTTPFacilitatorClient, x402ResourceServer } from \"@x402\u002Fcore\u002Fserver\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst facilitatorUrl = process.env.NEXT_PUBLIC_FACILITATOR_URL!;\nconst payTo = process.env.RESOURCE_WALLET_ADDRESS as `0x${string}`;\nconst network = process.env.NETWORK as `${string}:${string}`;\n\n\u002F\u002F Create facilitator client and resource server\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst server = new x402ResourceServer(facilitatorClient);\nregisterExactEvmScheme(server);\n\n\u002F\u002F Create paywall UI (shown to browsers visiting protected pages)\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({\n    appName: \"My dApp\",\n    appLogo: \"\u002Flogo.png\",\n    testnet: true, \u002F\u002F set false for mainnet\n  })\n  .build();\n\nexport const middleware = paymentProxy(\n  {\n    \"\u002Fapi\u002Fpayment\u002F:path*\": {\n      accepts: [\n        {\n          scheme: \"exact\",\n          price: \"$0.01\",\n          network,\n          payTo,\n        },\n      ],\n      description: \"Access to premium API data\",\n      mimeType: \"application\u002Fjson\",\n    },\n    \"\u002Fpayment\u002F:path*\": {\n      accepts: [\n        {\n          scheme: \"exact\",\n          price: \"$0.01\",\n          network,\n          payTo,\n        },\n      ],\n      description: \"Access to premium content\",\n      mimeType: \"text\u002Fhtml\",\n    },\n  },\n  server,\n  undefined, \u002F\u002F optional request context\n  paywall,\n);\n\n\u002F\u002F IMPORTANT: matcher must cover all protected routes\nexport const config = {\n  matcher: [\"\u002Fapi\u002Fpayment\u002F:path*\", \"\u002Fpayment\u002F:path*\"],\n};\n```\n\n## CAIP-2 Network Identifiers\n\nThe v2 API uses [CAIP-2](https:\u002F\u002Fgithub.com\u002FChainAgnostic\u002FCAIPs\u002Fblob\u002Fmain\u002FCAIPs\u002Fcaip-2.md) network identifiers — format: `eip155:{chainId}` for EVM chains.\n\n| CAIP-2 ID | Chain | Notes |\n|-----------|-------|-------|\n| `eip155:84532` | Base Sepolia | Default for development — [Circle faucet](https:\u002F\u002Ffaucet.circle.com\u002F) for test USDC |\n| `eip155:8453` | Base | Recommended for production — lowest fees |\n\nLegacy network names (`base-sepolia`, `base`, etc.) may still work for backwards compatibility, but prefer CAIP-2 format. For the full list of supported networks, check the [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome).\n\n## Gotchas & Common Pitfalls\n\n**Facilitator is required.** x402 doesn't do peer-to-peer payments. The facilitator service verifies signatures and executes settlements. For testnet, `https:\u002F\u002Fx402.org\u002Ffacilitator` works without signup. For production, you may need to run your own — check [x402 docs](https:\u002F\u002Fdocs.cdp.coinbase.com\u002Fx402\u002Fwelcome).\n\n**Register the EVM scheme.** The server needs `registerExactEvmScheme(server)` in middleware.ts. Without this, payment payloads won't be understood.\n\n**Payments are in USDC by default.** The `$0.01` price syntax means USDC.\n\n**Don't use `hardhat` localhost as the network.** The facilitator can't verify or settle payments on a local chain. Always use a testnet (`eip155:84532`) even during development.\n\n**The `matcher` in `middleware.ts` must cover protected routes.** If you add a new protected route in the routes config but forget to add it to `matcher`, the middleware won't run on that route.\n\n## CLI Payment Script\n\nFor testing API routes programmatically (without a browser), create a script using `@x402\u002Ffetch`:\n\n```typescript\n\u002F\u002F packages\u002Fhardhat\u002Fscripts\u002Fsend402request.ts\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { x402Client, wrapFetchWithPayment } from \"@x402\u002Ffetch\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\n\nasync function main() {\n  const privateKey = process.env.DEPLOYER_PRIVATE_KEY as `0x${string}`;\n  if (!privateKey) { console.log(\"No deployer key. Run `yarn generate` first.\"); return; }\n\n  const signer = privateKeyToAccount(privateKey);\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer });\n\n  const fetchWithPayment = wrapFetchWithPayment(fetch, client);\n  const response = await fetchWithPayment(\"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fpayment\u002Fbuilder\", { method: \"GET\" });\n  console.log(\"Response:\", await response.json());\n}\n\nmain().catch(console.error);\n```\n\n> **Note:** Register the EVM scheme on the client side too — `registerExactEvmScheme(client, { signer })` from `@x402\u002Fevm\u002Fexact\u002Fclient`.\n\n## How to Test\n\n1. Set `targetNetworks: [chains.baseSepolia]` in `scaffold.config.ts`\n2. Configure `.env.development` with facilitator URL, pay-to address, and `NETWORK=eip155:84532`\n3. `yarn start` — visit `http:\u002F\u002Flocalhost:3000`\n4. Navigate to a protected page — you should see the x402 paywall\n5. To test API routes: `curl http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fpayment\u002Fbuilder` should return 402 with `PAYMENT-REQUIRED` header\n6. To test paid access: `yarn send402request` (needs funded wallet on Base Sepolia — get test USDC from [Circle faucet](https:\u002F\u002Ffaucet.circle.com\u002F))\n\n### Production\n\n- Switch `NETWORK` to `eip155:8453` (Base mainnet)\n- Update `scaffold.config.ts` to target the mainnet chain\n- Set `RESOURCE_WALLET_ADDRESS` to your production payment receiver\n- Set `testnet: false` in paywall config\n",{"name":5,"description":7},"coti-garbled-data-quickstart","a42ff7e0f45ad7809fc2db6bd9d2ef253c1688ed",".agents\u002Fskills\u002Fx402","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart","https:\u002F\u002Fgithub.com\u002Fbro-rad","2026-10-01 08:51:30",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add bro-rad\u002Fcoti-garbled-data-quickstart --skill x402",{"tool":36,"command":37},"bunx","bunx skills add bro-rad\u002Fcoti-garbled-data-quickstart --skill x402",{"tool":39,"command":40},"pnpm","pnpm dlx skills add bro-rad\u002Fcoti-garbled-data-quickstart --skill x402","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fx402\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7CR5WPS4WBP6MRF67SWGK13","why-ethereum","Why build on Ethereum specifically. The AI agent angle — ERC-8004, x402, composability, permissionless deployment. Use when a user asks \"should I build on Ethereum?\", \"why blockchain?\", or when an agent needs to recommend a chain for a project.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7CR5RNY740CT0P9DT9HFB2T","wallets","How to create, manage, and use Ethereum wallets. Covers EOAs, smart contract wallets, multisig (Safe), and account abstraction. Use this skill whenever you are sending transactions, signing messages, or managing funds. Includes guardrails for safe key handling.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fwallets\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7CR5MGAM27HZHA688XRD6PV","tools","Current Ethereum development tools, frameworks, libraries, RPCs, and block explorers. What actually works today for building on Ethereum. Includes tool discovery for AI agents — MCPs, abi.ninja, Foundry, Scaffold-ETH 2, Hardhat, and more. Use when setting up a dev environment, choosing tools, or when an agent needs to discover what's available.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Ftools\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CR5HWD8ZR834W3XDEEKTXY","testing","Smart contract testing with Foundry — unit tests, fuzz testing, fork testing, invariant testing. Use when writing tests for a smart contract.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CR5DW03X87CNGQ1BX7QX0Q","subgraph","Integrate The Graph subgraph into a Scaffold-ETH 2 project for indexing blockchain events. Use when the user wants to: index contract events with The Graph, add a subgraph, query onchain data with GraphQL, set up a local graph node, or deploy a subgraph to Subgraph Studio.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fsubgraph\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CR59A63PF40QX60THKMY84","standards","Ethereum token and protocol standards — ERC-20, ERC-721, ERC-1155, ERC-4337, ERC-8004, and newer standards. When to use each, how they work, key interfaces. Use when building tokens, NFTs, or choosing the right standard for a project.","https:\u002F\u002Fgithub.com\u002Fbro-rad\u002Fcoti-garbled-data-quickstart\u002Fblob\u002Fcoti-garbled-data-quickstart\u002F.agents\u002Fskills\u002Fstandards\u002FSKILL.md",[],[]]