# Send Gator CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gator-cli",
    "name": "Gator CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/AyushBherwani1998/gator-cli",
    "canonicalUrl": "https://clawhub.ai/AyushBherwani1998/gator-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/gator-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gator-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "gator-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T12:56:49.312Z",
      "expiresAt": "2026-05-10T12:56:49.312Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gator-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gator-cli",
        "contentDisposition": "attachment; filename=\"gator-cli-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "gator-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/gator-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gator-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/gator-cli",
    "agentUrl": "https://openagent3.xyz/skills/gator-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gator-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gator-cli/agent.md"
  }
}
```
## Documentation

### Quick Reference

Use this skill to run the gator CLI from the repo and to choose the correct command/flags for delegation workflows.

### Installation

npm install -g @metamask/gator-cli

### CLI Overview

Binary name: gator
Default profile: default
Config path: ~/.gator-cli/permissions.json (or ~/.gator-cli/profiles/<profile-name>.json)
Delegations local cache: ~/.gator-cli/delegations/<profile-name>.json when storage not configured

### Configuration Requirements

Edit the profile config after gator init:

{
  "delegationStorage": {
    "apiKey": "your-api-key",
    "apiKeyId": "your-api-key-id"
  },
  "rpcUrl": "https://your-rpc-url.com"
}

delegationStorage is optional; when missing, delegations are stored locally.
rpcUrl is required for on-chain actions.

### init

Generate a private key and save config. Errors if the profile already exists.

gator init [--chain <chain>] [--profile <profile-name>]
--chain values: base (default), baseSepolia, sepolia
--profile default: default
Prints: address, chain, and config file path.

### create

Upgrade an EOA to an EIP-7702 smart account. Uses the chain in your profile config.

gator create [--profile <profile-name>]
Requires the account to be funded with native token first.
Prints: address, chain, and the upgrade transaction hash.

### show

Display the EOA address for a profile.

gator show [--profile <profile-name>]

### status

Check config and on-chain account status.

gator status [--profile <profile-name>]
Prints: address, chain, config upgrade status, on-chain code presence, storage and RPC URL config.

### balance

Show native balance and optional ERC-20 balance.

gator balance [--tokenAddress <address>] [--profile <profile-name>]
If --tokenAddress is provided, prints ERC-20 balance and decimals-derived units.

### grant

Create, sign, and store a delegation with a predefined scope.

gator grant --to <to-address> --scope <type> [scope flags] [--profile <profile-name>]

Scope flags:

Token scopes: --tokenAddress <token-address>, --maxAmount <amount>, --tokenId <id>
Periodic scopes: --periodAmount <amount>, --periodDuration <seconds>, --startDate <timestamp>
Streaming scopes: --amountPerSecond <amount>, --initialAmount <amount>, --startTime <timestamp>
Function call scope: --targets <addresses>, --selectors <sigs>, --valueLte <ether>
Ownership transfer: --contractAddress <contract-address>

Supported scopes:

erc20TransferAmount
erc20PeriodTransfer
erc20Streaming
erc721Transfer
nativeTokenTransferAmount
nativeTokenPeriodTransfer
nativeTokenStreaming
functionCall
ownershipTransfer

Grant flags per scope:

ScopeRequired FlagsOptional Flagserc20TransferAmount--tokenAddress, --maxAmounterc20PeriodTransfer--tokenAddress, --periodAmount, --periodDuration--startDateerc20Streaming--tokenAddress, --amountPerSecond, --initialAmount, --maxAmount--startTimeerc721Transfer--tokenAddress, --tokenIdnativeTokenTransferAmount--maxAmountnativeTokenPeriodTransfer--periodAmount, --periodDuration--startDatenativeTokenStreaming--amountPerSecond, --initialAmount, --maxAmount--startTimefunctionCall--targets, --selectors--valueLteownershipTransfer--contractAddress

--startDate and --startTime default to the current time (unix seconds) when omitted.
--valueLte sets the max native token value per call for functionCall scopes.

### redeem

Redeem a stored delegation using a specific action type.

gator redeem --from <from-address> --action <type> [action flags] [--profile <profile-name>]

Supported action types: erc20Transfer, erc721Transfer, nativeTransfer, functionCall, ownershipTransfer, raw

Action-specific flags:

erc20Transfer: --tokenAddress, --to, --amount
erc721Transfer: --tokenAddress, --to, --tokenId
nativeTransfer: --to, --amount
functionCall: --target, --function, --args, --value
ownershipTransfer: --contractAddress, --to
raw: --target, --callData, --value

### revoke

Revoke a delegation on-chain. Revokes the first matching delegation.

gator revoke --to <to-address> [--profile <profile-name>]

### inspect

Inspect delegations for your account.

gator inspect [--from <from-address>] [--to <to-address>] [--profile <profile-name>]
With no filters, prints both Given and Received.
Printed fields: From, To, Authority, Caveats count, Signed flag.

### Redeem Flags per Action

ActionRequired Flagserc20Transfer--tokenAddress, --to, --amounterc721Transfer--tokenAddress, --to, --tokenIdnativeTransfer--to, --amountfunctionCall--target, --function, --argsownershipTransfer--contractAddress, --toraw--target, --callData

### Example Flows

Initialize and upgrade:

gator init --profile <profile-name>
gator create --profile <profile-name>

Grant an ERC-20 transfer delegation:

gator grant --profile <profile-name> --to <to-address> --scope erc20TransferAmount \\
  --tokenAddress <token-address> --maxAmount 50

Redeem an ERC-20 transfer:

gator redeem --profile <profile-name> --from <from-address> --action erc20Transfer \\
  --tokenAddress <token-address> --to <to-address> --amount 10

Redeem a native transfer:

gator redeem --profile <profile-name> --from <from-address> --action nativeTransfer \\
  --to <to-address> --amount 0.5

Redeem in raw mode:

gator redeem --profile <profile-name> --from <from-address> --action raw \\
  --target <contract-address> --callData 0xa9059cbb...

Inspect delegations:

gator inspect --profile <profile-name>
gator inspect --profile <profile-name> --from <from-address>
gator inspect --profile <profile-name> --to <to-address>

Revoke a delegation:

gator revoke --profile <profile-name> --to <to-address>

### Operational Notes

Private key security: This is alpha version. Private keys are stored in plaintext JSON. Never use accounts with significant funds.
--from refers to the delegator address; --to refers to the delegate/recipient.
--targets and --selectors are comma-separated lists.
--function accepts a human-readable Solidity function signature like "approve(address,uint256)". Do not pass a 4-byte selector (e.g. 0x095ea7b3) — the CLI derives the selector from the signature automatically.
--startDate and --startTime accept unix timestamps in seconds. When omitted, they default to the current time.
--action is required for redeem and must be one of: erc20Transfer, erc721Transfer, nativeTransfer, functionCall, ownershipTransfer, raw.
Supported chains for --chain in gator init: base (default), baseSepolia, sepolia.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: AyushBherwani1998
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T12:56:49.312Z
- Expires at: 2026-05-10T12:56:49.312Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/gator-cli)
- [Send to Agent page](https://openagent3.xyz/skills/gator-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/gator-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/gator-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/gator-cli)