Use the Smart Accounts Kit with OpenClaw
Use the MetaMask Smart Accounts Kit OpenClaw skills to interact with the Smart Accounts Kit using natural language prompts.
OpenClaw 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 below two skills.
Gator CLI skill
This skill enables your agent to grant, redeem, inspect and revoke ERC-7710 delegations using the @metamask/gator-cli package.
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
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 on chain 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 on chain. |
inspect | View delegations for your account. |
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
- 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
The skill provides access to the following capabilities:
| Capability | Description |
|---|---|
Smart accounts | Helps you integrate MetaMask smart accounts to support batch transactions, multi-sig signatures, and gas sponsorship. |
Delegation | Helps you integrate delegations with scopes and caveats. |
Advanced Permissions | Helps you integrate Advanced Permissions. |