技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.2.0
统计:⭐ 0 · 234 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:aaigotchi/pet-operator
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code, required binaries, and runtime instructions are consistent with its stated purpose (generating approve/revoke tx data, checking on-chain approval, and maintaining pet-me bookkeeping); nothing in the package attempts unexplained network exfiltration or credential access.
目的
Name/description match the included scripts and required binaries. cast and jq are appropriate for on-chain calls and JSON manipulation; the scripts perform the described tasks (generate calldata, call contract read methods, and update a pet-me config).
说明范围
SKILL.md and scripts stay within the stated scope (on-chain reads via RPC, produce calldata, and update the pet-me-master config). The scripts read and overwrite a user-specified config file (PET_ME_CONFIG_FILE) and create backups; this is expected for bookkeeping but means the skill will modify files at the configured path.
安装机制
Instruction-only skill with no install spec and no external downloads. All code is bundled in the repo; nothing pulls arbitrary code from external URLs at install time.
证书
No credentials or secret env vars are requested. The scripts use an RPC URL (default https://mainnet.base.org) and rely on cast for read calls or user-signed transactions. One caution: PET_ME_CONFIG_FILE is overridable and the scripts will write to that path — ensure it is set to the intended pet-me config so the skill cannot accidentally overwrite unrelated files.
持久
always is false and the skill does not request persistent platform privileges. It only writes to its own target config file(s) (delegatedWallets / wallets) and does not alter other skills or system-wide agent settings.
综合结论
This package appears to do what it claims: generate hex calldata, check approval on-chain, and update a pet-me config. Before installing or running: 1) Confirm you have cast and jq from trusted sources; 2) Verify PET_ME_CONFIG_FILE is pointed at the correct pet-me-master config (not an unrelated/privileged file) so the scripts don't overwrite unintended data; 3) Understand the scripts only produce calldata and perform read-only on-chain calls …
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Pet Operator」。简介:Delegate Aavegotchi petting rights to AAI's wallet on Base. Generate approve/re…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaigotchi/pet-operator/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: pet-operator
description: Delegate Aavegotchi petting rights to AAI's wallet on Base. Generate approve/revoke tx data, check approval, and maintain delegated wallet bookkeeping in pet-me-master config.
metadata:
openclaw:
requires:
bins:
- cast
- jq
---
# pet-operator
Set or revoke AAI as pet operator for user wallets, and keep delegation bookkeeping aligned.
## Constants
- AAI operator wallet: `0xb96B48a6B190A9d509cE9312654F34E9770F2110`
- Aavegotchi Diamond: `0xA99c4B08201F2913Db8D28e71d020c4298F29dBF`
- Chain: Base mainnet (`8453`)
- RPC default: `https://mainnet.base.org`
Overridable env:
- `AAVEGOTCHI_DIAMOND`
- `AAI_OPERATOR`
- `BASE_RPC_URL`
- `PET_ME_CONFIG_FILE`
## Scripts
- `./scripts/check-approval.sh <wallet>`
- Checks `isPetOperatorForAll(owner, operator)`.
- `./scripts/generate-delegation-tx.sh <wallet>`
- Generates call data for `setPetOperatorForAll(AAI_OPERATOR, true)`.
- `./scripts/generate-revoke-tx.sh <wallet>`
- Generates call data for `setPetOperatorForAll(AAI_OPERATOR, false)`.
- `./scripts/add-delegated-wallet.sh <wallet> [name]`
- Verifies approval, fetches owned gotchi IDs, upserts into `pet-me-master` config.
- `./scripts/remove-delegated-wallet.sh <wallet>`
- Removes wallet bookkeeping entries from config.
## Config Bookkeeping
`add-delegated-wallet.sh` writes to:
- `.delegatedWallets` (preferred)
- `.wallets` (legacy compatibility, only if present)
This does not grant on-chain permissions by itself; on-chain approval must already exist.
## Security
- Operator permission only enables petting, not transfer.
- User keeps full ownership.
- Revocation is one on-chain tx away.