TopRank Skills

Home / Claw Skills / 数据解析 / pet-me-master
Official OpenClaw rules 54%

pet-me-master

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

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 pet-me-master 技能。 若已安装,则直接安装 pet-me-master 技能。

Overview

Skill Key
aaigotchi/pet-me-master
Author
aaigotchi
Source Repo
openclaw/skills
Version
-
Source Path
skills/aaigotchi/pet-me-master
Latest Commit SHA
05118984da0bdab806163acb4c96237737226463

Extracted Content

SKILL.md excerpt

# 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 di...

README excerpt

# Pet Me Master 👻💜

Interactive Aavegotchi petting via Bankr. Daily kinship ritual for bonding with your gotchis.

## Quick Start

### Setup

1. **Install Bankr skill** and configure API key at `~/.openclaw/skills/bankr/config.json`

2. **Create config:**
   ```bash
   mkdir -p ~/.openclaw/workspace/skills/pet-me-master
   cat > ~/.openclaw/workspace/skills/pet-me-master/config.json << 'EOF'
   {
     "contractAddress": "0xA99c4B08201F2913Db8D28e71d020c4298F29dBF",
     "rpcUrl": "https://mainnet.base.org",
     "chainId": 8453,
     "gotchiIds": ["9638"],
     "streakTracking": true
   }
   EOF
   ```

3. **Edit your gotchi IDs:**
   ```bash
   nano ~/.openclaw/workspace/skills/pet-me-master/config.json
   # Add your gotchi IDs to the "gotchiIds" array
   ```

4. **Verify dependencies:**
   ```bash
   cast --version  # Foundry (for on-chain reads)
   jq --version    # JSON parser
   ```

### Usage

Ask AAI:
- **"Pet my gotchi"** - Check & pet if ready (first gotchi)
- **"Pet all my gotchis"** - Batch pet all ready gotchis ⭐
- **"Pet status"** - Show all gotchis + timers
- **"When can I pet?"** - Next available time
- **"Pet gotchi #9638"** - Pet specific gotchi

## How It Works

```
You → AAI → Check on-chain cooldown → Build transaction → Bankr signs & submits → ✅ Petted!
```

**Security:** All transactions signed remotely by Bankr. No private keys used.

## Philosophy

**Less automation, more connection.**

This isn't about setting-and-forgetting. It's about checking in on your gotchis daily, like a Tamagotchi. The ritual matters.

## Optional: Auto-Reminders

Set up daily reminders with optional automatic fallback petting:

```
"Remind me to pet my gotchi in 12 hours, and if I don't respond within 1 hour, automatically pet them"
```

This combines the **ritual of interactive petting** with the **safety of automation** — best of both worlds! 💜

## Files

- `SKILL.md` - Full documentation
- `config.json` - Your gotchi IDs
- `scripts/check-cooldown.sh` - Query...

Related Claw Skills