[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CGJ7AEJCZSRGF3PBE6EWBG":3,"skill-same:01M6CGJ7AEJCZSRGF3PBE6EWBG":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6CGJ7AEJCZSRGF3PBE6EWBG","x402-payments",null,"Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions","MetaMask\u002Fskills","MetaMask","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11744586?v=4","01M6CGATQAN8ZP8HWEZH2379WJ","01M6CGATVJDE1ZMSRM20CFJ5S8",25,"MIT","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fskill.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31],"payments","x402 payments","x402","http","permissions","build","smart accounts kit","payment","metamask","machine","flows","with","advanced","kit","2026-11-10 10:12:30",false,"---\nname: x402-payments\ndescription: Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions\n---\n\n# x402 Payments\n\nx402 is an open payment protocol that uses the HTTP 402 status code to enable programmatic, machine-to-machine payments over HTTP. It lets servers charge for API access without requiring traditional payment infrastructure, buyer accounts, or API keys.\n\n## When to use\n\n- You want to charge for API access using onchain payments.\n- You want to build AI agents that pay per request for API resources.\n- You want to enable micro payments for premium data or services.\n- You want to set up recurring payments with periodic budgets.\n- You want to use MetaMask smart account delegations for x402 settlement.\n\n## Installation\n\n```bash\nnpm install @x402\u002Fcore @x402\u002Ffetch @metamask\u002Fx402 @metamask\u002Fsmart-accounts-kit\n```\n\nFor seller endpoints:\n\n```bash\nnpm install @x402\u002Fcore @x402\u002Fexpress @metamask\u002Fx402\n```\n\n## How x402 works\n\n1. The buyer sends a request to a protected endpoint.\n2. The server responds with HTTP 402 and a `PAYMENT-REQUIRED` header containing payment terms.\n3. The buyer creates a payment payload (delegation or permission) matching the terms.\n4. The buyer resends the request with the payment in the `PAYMENT-SIGNATURE` header.\n5. The server validates the payment through a facilitator and returns the resource.\n\n## x402 ERC-7710 payments\n\nThe standard x402 protocol supports direct token transfers (using ERC-20 Permit2 or EIP-3009). ERC-7710 extends this by enabling delegation-based payments from MetaMask smart accounts.\n\nWith ERC-7710, a buyer's smart account creates a delegation that authorizes the facilitator to transfer tokens on their behalf. The buyer doesn't sign a direct token approval. Instead, they sign a delegation that the facilitator redeems during settlement.\n\nThis approach enables buyers to pay from MetaMask wallet. Buyers can restrict delegations to specific facilitator addresses, amounts, and time windows using delegation scopes. They can also create long-lived delegations that allow recurring payments without re-signing for each request.\n\n## Workflows\n\n| Workflow | Use case |\n|----------|----------|\n| [Seller endpoint setup](.\u002Fworkflows\u002Fseller-endpoint-setup.md) | You want to protect API endpoints with x402 payment requirements. |\n| [Delegation payments](.\u002Fworkflows\u002Fdelegation-payments.md) | You control the buyer smart account and want to automate payments programmatically. |\n| [Advanced Permissions (recurring)](.\u002Fworkflows\u002Frecurring-payments.md) | You want to request a periodic budget from a MetaMask user for ongoing API access. Best for subscriptions and recurring usage. |\n\nIf the user hasn't specified which payment method they need, present the options.\n\n## Supported networks\n\n| Network | Chain ID | Facilitator URL |\n|---------|----------|-----------------|\n| Base | eip155:8453 | `https:\u002F\u002Ftx-sentinel-base-mainnet.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n| Base Sepolia | eip155:84532 | `https:\u002F\u002Ftx-sentinel-base-sepolia.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n| Monad | eip155:143 | `https:\u002F\u002Ftx-sentinel-monad-mainnet.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n\n## Resources\n\n- x402 protocol: https:\u002F\u002Fwww.x402.org\u002F\n- Smart Accounts Kit docs: https:\u002F\u002Fdocs.metamask.io\u002Fsmart-accounts-kit\n- [x402 overview](https:\u002F\u002Fdocs.metamask.io\u002Fsmart-accounts-kit\u002Fguides\u002Fx402\u002Foverview.md)\n","# x402 Payments\n\nx402 is an open payment protocol that uses the HTTP 402 status code to enable programmatic, machine-to-machine payments over HTTP. It lets servers charge for API access without requiring traditional payment infrastructure, buyer accounts, or API keys.\n\n## When to use\n\n- You want to charge for API access using onchain payments.\n- You want to build AI agents that pay per request for API resources.\n- You want to enable micro payments for premium data or services.\n- You want to set up recurring payments with periodic budgets.\n- You want to use MetaMask smart account delegations for x402 settlement.\n\n## Installation\n\n```bash\nnpm install @x402\u002Fcore @x402\u002Ffetch @metamask\u002Fx402 @metamask\u002Fsmart-accounts-kit\n```\n\nFor seller endpoints:\n\n```bash\nnpm install @x402\u002Fcore @x402\u002Fexpress @metamask\u002Fx402\n```\n\n## How x402 works\n\n1. The buyer sends a request to a protected endpoint.\n2. The server responds with HTTP 402 and a `PAYMENT-REQUIRED` header containing payment terms.\n3. The buyer creates a payment payload (delegation or permission) matching the terms.\n4. The buyer resends the request with the payment in the `PAYMENT-SIGNATURE` header.\n5. The server validates the payment through a facilitator and returns the resource.\n\n## x402 ERC-7710 payments\n\nThe standard x402 protocol supports direct token transfers (using ERC-20 Permit2 or EIP-3009). ERC-7710 extends this by enabling delegation-based payments from MetaMask smart accounts.\n\nWith ERC-7710, a buyer's smart account creates a delegation that authorizes the facilitator to transfer tokens on their behalf. The buyer doesn't sign a direct token approval. Instead, they sign a delegation that the facilitator redeems during settlement.\n\nThis approach enables buyers to pay from MetaMask wallet. Buyers can restrict delegations to specific facilitator addresses, amounts, and time windows using delegation scopes. They can also create long-lived delegations that allow recurring payments without re-signing for each request.\n\n## Workflows\n\n| Workflow | Use case |\n|----------|----------|\n| [Seller endpoint setup](.\u002Fworkflows\u002Fseller-endpoint-setup.md) | You want to protect API endpoints with x402 payment requirements. |\n| [Delegation payments](.\u002Fworkflows\u002Fdelegation-payments.md) | You control the buyer smart account and want to automate payments programmatically. |\n| [Advanced Permissions (recurring)](.\u002Fworkflows\u002Frecurring-payments.md) | You want to request a periodic budget from a MetaMask user for ongoing API access. Best for subscriptions and recurring usage. |\n\nIf the user hasn't specified which payment method they need, present the options.\n\n## Supported networks\n\n| Network | Chain ID | Facilitator URL |\n|---------|----------|-----------------|\n| Base | eip155:8453 | `https:\u002F\u002Ftx-sentinel-base-mainnet.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n| Base Sepolia | eip155:84532 | `https:\u002F\u002Ftx-sentinel-base-sepolia.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n| Monad | eip155:143 | `https:\u002F\u002Ftx-sentinel-monad-mainnet.dev-api.cx.metamask.io\u002Fplatform\u002Fv2\u002Fx402` |\n\n## Resources\n\n- x402 protocol: https:\u002F\u002Fwww.x402.org\u002F\n- Smart Accounts Kit docs: https:\u002F\u002Fdocs.metamask.io\u002Fsmart-accounts-kit\n- [x402 overview](https:\u002F\u002Fdocs.metamask.io\u002Fsmart-accounts-kit\u002Fguides\u002Fx402\u002Foverview.md)\n",{"name":5,"description":7},"main","a0ec29ada8d53edf5a3f24370bec058767157433","domains\u002Fweb3-tools\u002Fskills\u002Fx402-payments",11,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills","https:\u002F\u002Fgithub.com\u002FMetaMask","https:\u002F\u002Fmetamask.io","MetaMask brings Ethereum to your web browser","2026-11-14 02:01:03",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add MetaMask\u002Fskills --skill x402-payments",{"tool":52,"command":53},"bunx","bunx skills add MetaMask\u002Fskills --skill x402-payments",{"tool":55,"command":56},"pnpm","pnpm dlx skills add MetaMask\u002Fskills --skill x402-payments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fskill.md",true,[60,66,70],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"workflows\u002Fdelegation-payments.md","REFERENCE","参考文档",2794,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fworkflows\u002Fdelegation-payments.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"workflows\u002Frecurring-payments.md",3991,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fworkflows\u002Frecurring-payments.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"workflows\u002Fseller-endpoint-setup.md",2627,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fworkflows\u002Fseller-endpoint-setup.md",[75,83,91,117,124,157],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7B6HMM9ND19MSEXPDW7Q3F8","recipe-plan-and-dispatch","Plan a ticket with the engineer before a recipe fix-bug or dev run. Agree the acceptance criteria and an implementation plan, write it as an approved plan file, and print the prompt that starts the run with any agent and model. Never edits product code or starts the run.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-plan-and-dispatch\u002Fskill.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":90},"01M72GPQFVTGCPVK22DSDJXEJY","recipe-library-audit","Run every recipe of a team recipe library on one client with mm-harness, classify each result with the failing node and exact error, and review naming and composability. Produces a per-client table; changes nothing.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-library-audit\u002Fskill.md",[],[],"2026-11-10 22:39:42",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":32},"01M70PKJH3WSTFMSA8VYQWNDW9","recipe-performance","Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold\u002Fwarm\u002Fbackground-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout\u002Fpaint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-performance\u002Fskill.md",[],[98,99,100,101,102,103,104,105,106,107,26,108,109,110,111,112,113,114,115,116],"performance","recipe performance","recipe","harness","sentry","mm","network","deterministic","recipes","flow","app","cold","critical","analysis","tasks","react","browser","layout","screen",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":32},"01M6CGJ4AEKJZJWJ704SZTWQ5T","smart-accounts-kit","Build dApps with MetaMask Smart Accounts Kit — ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fsmart-accounts-kit\u002Fskill.md",[],[24,31,22,23,29,30,26],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":32},"01M6CGJ11KGB6862Z1ADYTMKYZ","oh-my-opencode","Multi-agent orchestration plugin for OpenCode. Use when the user wants to install, configure, or operate oh-my-opencode — including agent delegation, ultrawork mode, Prometheus planning, background tasks, category-based task routing, model resolution, tmux integration, or any oh-my-opencode feature. Covers installation, configuration, all agents (Sisyphus, Oracle, Librarian, Explore, Atlas, Prometheus, Metis, Momus), all categories, slash commands, hooks, skills, MCPs, and troubleshooting.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Foh-my-opencode\u002Fskill.md",[],[131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,112,147,148,149,150,151,152,153,154,155,156],"my","oh my opencode","opencode","prometheus","planning","use","categories","operate","mode","metis","momus","when","agent orchestration","multi-agent","install","ultrawork","code","configure","orchestration","oracle","tmux","librarian","delegation","hooks","explore","model",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":32},"01M6CGHY9SVTXK2DK18H794EHE","gator-cli","Use when you need to operate the @metamask\u002Fgator-cli to initialize profiles, upgrade EOA to EIP-7702, grant, redeem, and revoke ERC-7710 delegations, or inspect balances and delegations. Covers commands, required flags, grant scopes, redeem action types, configuration locations, and common usage flows.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fgator-cli\u002Fskill.md",[],[164,165,166,167,31,168,28,169,170,171,172,138,142,173,174,136,175,145,176,177,178,179,180,181],"gator cli","cli","common","upgrade","profiles","inspect","balances","types","usage","configuration","docs","flags","node","https","initialize","commands","io","you"]