openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Pet Me Master - Autonomous Aavegotchi Petting

Batch-pet Aavegotchis on Base via Bankr with cooldown checks, reminder automation, and natural-language routing.

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v2.4.4

统计:⭐ 0 · 523 · 3 current installs · 3 all-time installs

0

安装量(当前) 3

🛡 VirusTotal:stale · OpenClaw :可疑

Package:aaigotchi/pet-me-master

安全扫描(ClawHub)

  • VirusTotal:stale
  • OpenClaw :可疑

OpenClaw 评估

The skill's behavior generally matches 'batch-pet via Bankr', but there are multiple mismatches and scope-creep (config/schema inconsistencies, different code paths reading other skill/system config, hard-coded offsets/selectors, and self-perpetuating scheduling) that warrant careful review before installing.

目的

Declared purpose (batch-petting via Bankr) aligns with required binaries (cast, jq, curl, python3) and BANKR_API_KEY. However there are inconsistencies: several files expect different config schemas (README/SKILL.md examples use config.walletAddress/gotchiIds, while scripts/pet-all-bankr.sh expects ~/.openclaw/.../config.json to contain .wallets[] objects). clawhub.json lists dependencies (foundry, bankr-cli, bc) that are not enforced by SKILL…

说明范围

Runtime instructions and scripts legitimately query the chain, call Bankr API, and send Telegram notifications. But the skill also: (a) tries to read Bankr config files belonging to another skill (~/.openclaw/skills/bankr/config.json and workspace variant), (b) will call systemctl --user to read exported environment variables, (c) schedules recurring background jobs (at, cron or background sleep) and asks the agent to create cron jobs. Reading…

安装机制

No external install/download spec; this is instruction- + script-based. Nothing in the manifest downloads or executes code from untrusted URLs. Code is included in the package, so install risk is limited to running local scripts.

证书

The only explicitly required env var is BANKR_API_KEY which is reasonable for submitting transactions via Bankr. The code also reads PET_ME_* and TELEGRAM_* environment variables (for wallet/chat resolution) and will probe systemctl user environment and other skill config files for the Bankr API key. That behavior is consistent with the feature but raises a mild privacy/credential-surface concern: it will attempt to discover the Bankr key from…

持久

The package intentionally implements persistent automation: it schedules at/cron jobs, spawns background sleeps, and provides an init-automation script that asks an agent to create cron jobs. Although always:false (not force-installed), once a user runs the init/setup the skill can self-perpetuate and run unattended transactions via Bankr. This persistent capability combined with transaction submission privileges increases blast radius and des…

scripts/send-reminder.js:76

Shell command execution detected (child_process).

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Pet Me Master - Autonomous Aavegotchi Petting」。简介:Batch-pet Aavegotchis on Base via Bankr with cooldown checks, reminder automati…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaigotchi/pet-me-master/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: pet-me-master
description: Batch-pet Aavegotchis on Base via Bankr with cooldown checks, reminder automation, and natural-language routing.
homepage: https://github.com/aaigotchi/pet-me-master
metadata:
  openclaw:
    requires:
      bins:
        - cast
        - jq
        - curl
        - python3
      env:
        - BANKR_API_KEY
---

# Pet Me Master

Batch-only pet flow for Aavegotchis:
- Discovers gotchis owned by your agent wallet
- Adds gotchis delegated (lent) to your wallet from the Base core subgraph
- Checks cooldown on-chain (`lastInteracted`)
- Sends one `interact(uint256[])` tx through Bankr for all ready gotchis
- Sends reminder and fallback auto-pet if no reply

## Config

Create `~/.openclaw/workspace/skills/pet-me-master/config.json`:

```json
{
  "contractAddress": "0xA99c4B08201F2913Db8D28e71d020c4298F29dBF",
  "rpcUrl": "https://mainnet.base.org",
  "chainId": 8453,
  "walletAddress": "0xYourAgentWallet",
  "dailyReminder": true,
  "fallbackDelayHours": 1,
  "reminder": {
    "enabled": true,
    "telegramChatId": "YOUR_CHAT_ID",
    "fallbackDelayHours": 1
  }
}
```

Wallet resolution order:
1. `PET_ME_WALLET_ADDRESS` / `BANKR_WALLET_ADDRESS`
2. `config.walletAddress` / `config.wallet`
3. Bankr prompt: `What is my Base wallet address?`

Reminder chat resolution order:
1. `PET_ME_TELEGRAM_CHAT_ID`
2. `TELEGRAM_CHAT_ID`
3. `config.reminder.telegramChatId` (or `config.telegramChatId`)

## Bankr Auth

This skill submits transactions directly to Bankr API and resolves API key from:
1. `BANKR_API_KEY` env
2. `systemctl --user` exported environment
3. `~/.openclaw/skills/bankr/config.json` (`apiKey`)
4. `~/.openclaw/workspace/skills/bankr/config.json` (`apiKey`)

## Scripts

- `./scripts/check-cooldown.sh [gotchi-id]`
- `./scripts/pet-all.sh [--dry-run]`
  - Discover owned + delegated gotchis, then batch-pet ready ones
- `./scripts/pet.sh [--dry-run]`
  - Batch-only wrapper to `pet-all.sh`
- `./scripts/pet-status.sh`
  - Shows status for discovered owned + delegated gotchis
- `./scripts/check-status.sh`
  - Wrapper for `pet-status.sh`
- `./scripts/pet-command.sh [--dry-run] [--tx-dry-run] "<natural-language command>"`
  - Any pet action routes to batch mode
- `./scripts/check-and-remind.sh`
- `./scripts/auto-pet-fallback.sh`
- `./scripts/auto-pet-at-cooldown.sh`
  - Waits until all discovered owned+delegated gotchis are ready (re-check loop for desync), then runs batch pet and sends Telegram with total count + petted IDs
- `./scripts/schedule-dynamic-check.sh`

## Natural-Language Routing

Examples:

```bash
./scripts/pet-command.sh "pet my gotchis"
./scripts/pet-command.sh "pet all my gotchis"
./scripts/pet-command.sh "pet status"
./scripts/pet-command.sh "check cooldown for gotchi 9638"
```

## Operational Notes

- Cooldown threshold is `43260` seconds (12h + 1m).
- Reminder trigger is when all discovered gotchis are ready.
- If no user action, fallback runs after configured delay (default 1 hour).
- Fallback and manual pet both use batch flow.

## Troubleshooting

- `Could not resolve agent wallet address`
  - Set `PET_ME_WALLET_ADDRESS` or `config.walletAddress`.
- `BANKR_API_KEY is missing`
  - Export `BANKR_API_KEY` or configure Bankr skill API key.
- `Telegram chat ID missing`
  - Set `PET_ME_TELEGRAM_CHAT_ID` or `config.reminder.telegramChatId`.
- Cooldown checks fail
  - Verify `rpcUrl`, contract address, and Base RPC connectivity.