ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ayushbherwani1998/gator-cli
Or

What 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

  1. "Initialize a new gator-cli profile named 'production' on the Base network and display the configuration path."
  2. "Upgrade my default EOA profile to an EIP-7702 smart account and print the transaction hash."
  3. "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.json file. If you use a remote delegationStorage provider, 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 --tokenAddress or --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

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ayushbherwani1998-gator-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#web3#eip-7702#delegation#metamask
Safety Score: 3/5

Flags: file-write, file-read, external-api, code-execution