|
| 1 | +--- |
| 2 | +sidebar_label: Use skills |
| 3 | +description: Use MetaMask Smart Accounts Kit skills with agent frameworks to build dapps |
| 4 | +toc_max_heading_level: 2 |
| 5 | +keywords: |
| 6 | + [skill, delegation, smart accounts, ai, metamask smart accounts kit, agent framework, x402] |
| 7 | +--- |
| 8 | + |
| 9 | +import GlossaryTerm from '@theme/GlossaryTerm'; |
| 10 | + |
| 11 | +# Use skills |
| 12 | + |
| 13 | +Use skills to give your agent framework context on the MetaMask Smart Accounts Kit. |
| 14 | +Skills guide your agent through <GlossaryTerm term="MetaMask smart account">smart account</GlossaryTerm> creation, <GlossaryTerm term="Delegation">delegations</GlossaryTerm>, <GlossaryTerm term="Advanced Permissions" /> (ERC-7715), and [x402](../guides/x402/overview.md) |
| 15 | +payments. |
| 16 | + |
| 17 | +Skills are available through the open-source [`MetaMask/skills`](https://github.com/MetaMask/skills) |
| 18 | +repository. |
| 19 | + |
| 20 | +## Smart Accounts Kit |
| 21 | + |
| 22 | +This skill gives your agent context on the Smart Accounts Kit and how to integrate its |
| 23 | +capabilities into your dapp, including smart account creation, delegations, and Advanced |
| 24 | +Permissions. |
| 25 | + |
| 26 | +```bash |
| 27 | +npx skills add MetaMask/skills/domains/web3-tools/skills/smart-accounts-kit |
| 28 | +``` |
| 29 | + |
| 30 | +### Key capabilities |
| 31 | + |
| 32 | +| Capability | Description | |
| 33 | +| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 34 | +| Smart accounts | Integrate MetaMask Smart Accounts to support batch transactions, <GlossaryTerm term="Multisig smart account">multi-sig signatures</GlossaryTerm>, and <GlossaryTerm term="Paymaster">gas sponsorship</GlossaryTerm>. | |
| 35 | +| Delegation | Integrate delegations to execute transactions on behalf of a smart account. | |
| 36 | +| Advanced Permissions | Integrate Advanced Permissions to execute transactions on behalf of a MetaMask user. | |
| 37 | + |
| 38 | +## x402 Payments |
| 39 | + |
| 40 | +This skill helps your agent implement [x402 HTTP-based payments](../guides/x402/overview.md) using |
| 41 | +the Smart Accounts Kit, enabling both buyer and seller flows with delegations and Advanced |
| 42 | +Permissions. |
| 43 | + |
| 44 | +```bash |
| 45 | +npx skills add MetaMask/skills/domains/web3-tools/skills/x402-payments |
| 46 | +``` |
| 47 | + |
| 48 | +### Key capabilities |
| 49 | + |
| 50 | +| Capability | Description | |
| 51 | +| ---------- | --------------------------------------------------------------------------- | |
| 52 | +| Seller | Set up x402 payment endpoints that accept HTTP 402-based payments. | |
| 53 | +| Buyer | Pay for x402-protected resources using delegations or Advanced Permissions. | |
| 54 | + |
| 55 | +## Next steps |
| 56 | + |
| 57 | +- [Install the Smart Accounts Kit](./install.md) |
| 58 | +- [Create your first smart account](./smart-account-quickstart/index.md) |
| 59 | +- [Learn about x402 payments](../guides/x402/overview.md) |
0 commit comments