Task Router Skill
Task Router
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install ayushbherwani1998/gator-cli打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Use this skill to run the gator CLI from the repo and to choose the correct command/flags for delegation workflows.
npm install -g @metamask/gator-cli
gator
default
~/.gator-cli/permissions.json (or ~/.gator-cli/profiles/<profile-name>.json)~/.gator-cli/delegations/<profile-name>.json when storage not configuredEdit 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.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
Upgrade an EOA to an EIP-7702 smart account. Uses the chain in your profile config.
gator create [--profile <profile-name>]
Display the EOA address for a profile.
gator show [--profile <profile-name>]
Check config and on-chain account status.
gator status [--profile <profile-name>]
Show native balance and optional ERC-20 balance.
gator balance [--tokenAddress <address>] [--profile <profile-name>]
--tokenAddress is provided, prints ERC-20 balance and decimals-derived units.Create, sign, and store a delegation with a predefined scope.
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
## Quick Reference
Use this skill to run the gator CLI from the repo and to choose the correct command/flags for delegation workflows.
## Installation
```sh
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`:
```json
{
"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.
## Commands
### 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...Task Router
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
Read-only factual data about historical Ethereum mainnet contracts. Use when the user asks about a specific contract address, early Ethereum contracts, deployment era, deployer, bytecode, decompiled code, or do...