# Smart Accounts Kit

Build dApps with MetaMask Smart Accounts Kit, ERC-4337 smart accounts, delegations...

- Repository: https://github.com/internet-court/internet-court-skill (7050 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add internet-court/internet-court-skill --skill smart-accounts-kit -g -a claude-code -y`
Codex: `npx skills add internet-court/internet-court-skill --skill smart-accounts-kit -g -a codex -y`
Cursor: `npx skills add internet-court/internet-court-skill --skill smart-accounts-kit -g -a cursor -y`
Gemini CLI: `npx skills add internet-court/internet-court-skill --skill smart-accounts-kit -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add internet-court/internet-court-skill`

## Description

Build dApps with MetaMask Smart Accounts Kit, ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# MetaMask Smart Accounts Kit

## When to use

- You want to create ERC-4337 smart accounts (Hybrid, MultiSig, or Stateless7702)
- You want to send user operations or batch transactions via bundlers
- You want to configure signers (EOA, passkey/WebAuthn, multisig, wallet client)
- You want to implement gas abstraction with paymasters
- You want to create, sign, or redeem delegations (ERC-7710)
- You want to request Advanced Permissions via MetaMask extension (ERC-7715)
- You want to build automated backend services (DCA bots, keeper services) using delegations
- You want to implement session accounts for AI agents or automated trading
- You want to set up parallel user operations with nonce keys

## Installation

```bash
npm install @metamask/smart-accounts-kit permissionless
```

## Which smart account type to use

| Name | Usage |
|------|-------|
| Hybrid | A flexible account with EOA, wallet client, and passkey (WebAuthn) signers. The most flexible option for standard dApp users. |
| MultiSig | Requires multiple signers to meet a threshold before transactions execute. Best for treasury, DAO, or shared custody use cases. |
| Stateless7702 | Upgrades an existing EOA to a smart account using EIP-7702 while keeping the same address. Best for users with existing embedded EOAs. |

If the user hasn't specified which implementation they need, present the options.

## Delegations vs Advanced Permissions

| Name | Usage |
|------|-------|
| Delegations (ERC-7710) | You create, sign, and manage delegations programmatically. The delegator is a smart account you control. You handle the full lifecycle: creation, signing, storage, and redemption. |
| Advanced Permissions (ERC-7715) | You request permissions from a MetaMask user through a human-readable UI in the extension. MetaMask creates and enforces the delegations internally. The user can review and adjust parameters before approving. |

The rest: https://github.com/internet-court/internet-court-skill/blob/HEAD/vendored/metamask/smart-accounts-kit/SKILL.md
