Pet Operator for Openclaw

A specialized toolset for delegating Aavegotchi petting rights to automated operator wallets on the Base network.

aaigotchi
v1.2.0
Mar 7, 2026
0
904
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pet-operator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pet-operator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Pet Operator?

The Pet Operator skill is a technical utility designed to manage the delegation of petting rights for Aavegotchi NFTs. By utilizing these Openclaw Skills, developers and players can automate the process of maintaining Gotchi kinship without compromising asset security. The skill interacts directly with the Aavegotchi Diamond contract on the Base mainnet to generate transaction data and manage local bookkeeping.

This utility ensures that a designated operator wallet can perform petting actions on behalf of a user. It simplifies the lifecycle of permission management, from checking current approval status to generating the necessary on-chain transaction data for approving or revoking access. It is an essential component for users looking to integrate Aavegotchi maintenance into automated workflows.

Pet Operator Use Cases

  • Automating daily petting routines to maximize Aavegotchi kinship scores.
  • Delegating petting permissions to an AI agent for hands-off NFT maintenance.
  • Managing a fleet of wallets and their respective delegation statuses via CLI.
  • Safe generation of call data for hardware wallet transaction signing.

How Pet Operator Works

  1. The skill uses cast to query the Aavegotchi Diamond contract and verify if the operator is already approved for a specific wallet.
  2. It generates hex-encoded transaction data for the setPetOperatorForAll function, allowing the user to sign and broadcast the approval.
  3. Upon successful on-chain approval, the skill fetches all Gotchi IDs owned by the wallet using jq to parse contract returns.
  4. It synchronizes this data with a local pet-me-master configuration file, ensuring the automation engine recognizes the new delegation.
  5. The operator wallet can then trigger petting transactions while the user retains full ownership and transfer rights of their NFTs.

Pet Operator Setup

To use this skill, ensure you have foundry (for cast) and jq installed on your system. These Openclaw Skills rely on these binaries for blockchain interaction and JSON processing.

# Install Foundry (Cast)
curl -L https://foundry.paradigm.xyz | bash
foundryup

# Install jq
sudo apt-get install jq # Linux
brew install jq # macOS

# Set your RPC environment variable
export BASE_RPC_URL="https://mainnet.base.org"

Pet Operator Data Schema & Taxonomy

The skill maintains a local state within a configuration file to track delegated wallets and their associated metadata.

Property Type Description
.delegatedWallets Array The primary list of wallets that have granted petting rights to the operator.
.wallets Array Legacy support field for older configuration formats.
wallet_id String The public address of the owner wallet.
gotchi_ids Array A list of NFT IDs belonging to the owner for targeted petting.

Pet Operator Advanced Features

  • Environment variable overrides for custom RPC endpoints, operator addresses, and contract diamonds.
  • Seamless bookkeeping synchronization that fetches and updates Gotchi IDs automatically during registration.
  • Granular transaction generation for both approving and revoking permissions.
  • Support for multi-wallet management through a centralized configuration file.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*