> For the complete documentation index, see [llms.txt](/llms.txt).

# Use the Smart Accounts Kit with OpenClaw

Use the MetaMask Smart Accounts Kit [OpenClaw skills](https://docs.openclaw.ai/tools/skills) to interact with the Smart Accounts Kit using natural language prompts.

[OpenClaw](https://openclaw.ai/) is an open-source platform for AI agents that enables you to build, deploy, and manage AI assistants with access to various tools and skills. The Smart Accounts Kit provides the following two skills.

## Gator CLI skill[​](#gator-cli-skill "Direct link to Gator CLI skill")

This skill enables your agent to grant, redeem, inspect, and revoke ERC-7710 [delegations](/smart-accounts-kit/development/reference/glossary#delegation)**Delegation** The ability for a MetaMask smart account to authorize another account to perform specific executions on its behalf. using the [@metamask/gator-cli](https://www.npmjs.com/package/@metamask/gator-cli) package.

Alpha version

This CLI is in alpha version, and stores agent's private key in a local JSON file (`~/.gator-cli/`). Please proceed with caution, and do not use it with accounts holding significant funds.

### Install[​](#install "Direct link to Install")

- ClawHub
- OpenClaw prompt

```
clawhub install gator-cli

```

```
Install the skill from https://github.com/MetaMask/openclaw-skills/blob/main/metamask/gator-cli/SKILL.md

```

### Reference[​](#reference "Direct link to Reference")

The skill provides access to the following commands:

| Command | Description                                  |
| ------- | -------------------------------------------- |
| init    | Generate a private key and save config.      |
| create  | Upgrade an EOA to an EIP-7702 smart account. |
| show    | Display the EOA address.                     |
| status  | Check config and onchain account status.     |
| balance | Show native or ERC-20 balance.               |
| grant   | Create, sign, and store a delegation.        |
| redeem  | Redeem a delegation using an action type.    |
| revoke  | Revoke a delegation onchain.                 |
| inspect | View delegations for your account.           |

## Smart Accounts Kit skill[​](#smart-accounts-kit-skill "Direct link to Smart Accounts Kit skill")

This skill helps your agent learn about the Smart Accounts Kit and its capabilities, and integrate them into your applications.

### Install[​](#install-1 "Direct link to Install")

- ClawHub
- Git
- OpenClaw prompt

```
clawhub install smart-accounts-kit

```

```
cd ~/.openclaw/workspace/skills
git clone https://github.com/smartgator/smart-accounts-kit-skills.git

```

```
Install the skill from https://github.com/smartgator/smart-accounts-kit-skills.git

```

### Reference[​](#reference-1 "Direct link to Reference")

The skill provides access to the following capabilities:

| Capability                                                                                                                   | Description                                                                                                           |
| ---------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [Smart accounts](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/smart-accounts.md)             | Helps you integrate MetaMask Smart Accounts to support batch transactions, multi-sig signatures, and gas sponsorship. |
| [Delegation](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/delegations.md)                    | Helps you integrate delegations with scopes and caveats.                                                              |
| [Advanced Permissions](https://github.com/smartgator/smart-accounts-kit-skills/blob/main/references/advanced-permissions.md) | Helps you integrate Advanced Permissions.                                                                             |
