Use skills
Use skills to give your agent framework context on the MetaMask Smart Accounts Kit. Skills guide your agent through smart accountMetaMask smart account A smart contract account created using the Smart Accounts Kit that supports programmable behavior, flexible signing options, and ERC-7710 delegations. creation, delegationsDelegation The ability for a MetaMask smart account to authorize another account to perform specific executions on its behalf., Advanced PermissionsAdvanced Permissions Fine-grained, wallet execution permissions that dapps can request from MetaMask extension users. Based on ERC-7715. (ERC-7715), and x402 payments.
Skills are available through the open-source MetaMask/skills
repository.
Smart Accounts Kit
This skill gives your agent context on the Smart Accounts Kit and how to integrate its capabilities into your dapp, including smart account creation, delegations, and Advanced Permissions.
npx skills add MetaMask/skills/domains/web3-tools/skills/smart-accounts-kit
Key capabilities
| Capability | Description |
|---|---|
| Smart accounts | Integrate MetaMask Smart Accounts to support batch transactions, multi-sig signaturesMultisig smart account A smart account implementation that requires multiple signers to generate a valid signature., and gas sponsorshipPaymaster A service that pays for user operations on behalf of a smart account.. |
| Delegation | Integrate delegations to execute transactions on behalf of a smart account. |
| Advanced Permissions | Integrate Advanced Permissions to execute transactions on behalf of a MetaMask user. |
x402 Payments
This skill helps your agent implement x402 HTTP-based payments using the Smart Accounts Kit, enabling both buyer and seller flows with delegations and Advanced Permissions.
npx skills add MetaMask/skills/domains/web3-tools/skills/x402-payments
Key capabilities
| Capability | Description |
|---|---|
| Seller | Set up x402 payment endpoints that accept HTTP 402-based payments. |
| Buyer | Pay for x402-protected resources using delegations or Advanced Permissions. |