gator-cli
Use when you need to operate the @metamask/gator-cli to initialize profiles, upgrade EOA to EIP-7702, grant, redeem, and revoke ERC-7710 delegations, or inspect balances and delegations. Covers commands, required flags, grant scopes, redeem action types, configuration locations, and common usage flows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ayushbherwani1998/gator-cliWhat This Skill Does
The gator-cli skill serves as a comprehensive interface for managing EIP-7702 smart account delegations via the @metamask/gator-cli. It enables developers and users to initialize account profiles, upgrade standard Externally Owned Accounts (EOAs) to EIP-7702 smart accounts, and execute fine-grained permission management for assets. By abstracting the complexity of delegation signatures and storage, the skill allows for seamless interaction with native, ERC-20, and ERC-721 token permissions, as well as complex function call authorizations and ownership transfers.
Installation
To integrate this skill, use the following ClawHub command within your project environment:
clawhub install openclaw/skills/skills/ayushbherwani1998/gator-cli
For the underlying command-line tool, ensure you have the binary installed globally via npm: npm install -g @metamask/gator-cli. Once installed, use the gator init command to generate your first profile and configuration file.
Use Cases
This skill is primarily used for managing delegated authority on-chain. Key scenarios include:
- Upgrading an existing wallet to an EIP-7702 smart account to enable delegated capabilities.
- Implementing granular spending limits (token transfer amounts or streaming allowances) for specific service addresses.
- Managing complex authorization policies, such as specific function call permissions on smart contracts.
- Monitoring balance and delegation statuses across multiple chains including Base and Sepolia.
Example Prompts
- "Initialize a new gator-cli profile named 'production' on the Base network and display the configuration path."
- "Upgrade my default EOA profile to an EIP-7702 smart account and print the transaction hash."
- "Grant a native token transfer delegation to address 0x123... with a period limit of 0.5 ETH per day."
Tips & Limitations
- Configuration Management: Always verify your
~/.gator-cli/permissions.jsonfile. If you use a remotedelegationStorageprovider, ensure your API keys are secured. - Prerequisites: Your account must be sufficiently funded with native tokens before attempting the EIP-7702 upgrade, as it involves an on-chain transaction.
- Scope Specificity: When granting permissions, ensure all required flags for the chosen scope (like
--tokenAddressor--periodDuration) are provided to avoid CLI errors. - Local Cache: If not using a remote storage provider, delegations are stored in
~/.gator-cli/delegations/. Back up these files to avoid losing your delegation mapping.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ayushbherwani1998-gator-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution
Related Skills
smart-accounts-kit
Web3 development using MetaMask Smart Accounts Kit. Use when the user wants to build dApps with ERC-4337 smart accounts, send user operations, batch transactions, configure signers (EOA, passkey, multisig), implement gas abstraction with paymasters, create delegations, or request advanced permissions (ERC-7715). Supports Viem integration, multiple signer types (Dynamic, Web3Auth, Wagmi), gasless transactions, and the Delegation Framework.
smart-accounts-kit
Web3 development using MetaMask Smart Accounts Kit. Use when the user wants to build dApps with ERC-4337 smart accounts, send user operations, batch transactions, configure signers (EOA, passkey, multisig), implement gas abstraction with paymasters, create delegations, or request advanced permissions (ERC-7715). Supports Viem integration, multiple signer types (Dynamic, Web3Auth, Wagmi), gasless transactions, and the Delegation Framework.