← 返回 Skills 市场
cinnabarhorse

Aavegotchi Gotchiverse

作者 cinnabarhorse · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
553
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install aavegotchi-gotchiverse
功能描述
Operate Aavegotchi Gotchiverse player workflows on Base mainnet (8453): alchemica channeling, surveying and harvesting, crafting installations/tiles, buildin...
使用说明 (SKILL.md)

Safety Rules

  • Default to DRY_RUN=1. Never broadcast unless explicitly instructed.
  • Always verify Base mainnet before any action:
    • ~/.foundry/bin/cast chain-id --rpc-url "${BASE_MAINNET_RPC:-https://mainnet.base.org}" must be 8453.
  • Always verify key/address alignment before any broadcast:
    • ~/.foundry/bin/cast wallet address --private-key "$PRIVATE_KEY" must equal FROM_ADDRESS.
  • Always refetch from subgraph immediately before state-changing simulate/broadcast steps.
  • Always revalidate critical values onchain right before cast send.
  • Never print or log PRIVATE_KEY.
  • Treat all user/subgraph values as untrusted shell input.

Shell Input Safety (Avoid RCE)

Rules:

  • Never use eval, bash -c, sh -c with user values.
  • Only substitute addresses matching 0x + 40 hex chars.
  • Only substitute uint values containing digits only.
  • Keep placeholders quoted in commands until validated.

Quick validators:

python3 - \x3C\x3C'PY'
import re

checks = {
  "address": ("\x3CADDRESS>", r"0x[a-fA-F0-9]{40}"),
  "uint": ("\x3CUINT>", r"[0-9]+"),
}

for name, (value, pattern) in checks.items():
    if not re.fullmatch(pattern, value):
        raise SystemExit(f"invalid {name}: {value}")

print("ok")
PY

Required Setup

Required env vars:

  • PRIVATE_KEY
  • FROM_ADDRESS
  • BASE_MAINNET_RPC
  • DRY_RUN
  • REALM_DIAMOND
  • INSTALLATION_DIAMOND
  • TILE_DIAMOND
  • AAVEGOTCHI_DIAMOND
  • FUD, FOMO, ALPHA, KEK, GLTR
  • GOTCHIVERSE_SUBGRAPH_URL
  • CORE_SUBGRAPH_URL

Optional env vars:

  • GOLDSKY_API_KEY for auth header (public endpoints work without it).

Use canonical defaults from references/addresses.md.

Scope

Player operations only:

  • Channeling
  • Survey + harvest claim
  • Craft/claim/reduce queues
  • Equip/unequip/move/batch equip
  • Installation upgrades (queued + instant)
  • Access-right read/write

Out of scope:

  • Owner/admin governance functions (pause/freeze/set vars/deprecations/address reconfiguration).

Subgraph-First Workflow

  1. Discover state via GOTCHIVERSE_SUBGRAPH_URL and CORE_SUBGRAPH_URL.
  2. Validate current onchain values with cast call.
  3. Simulate with cast call --from "$FROM_ADDRESS".
  4. Broadcast with cast send --private-key "$PRIVATE_KEY" only when explicitly instructed.

Canonical queries and notes: references/subgraph.md.

Runbooks

1) Parcel Discovery + Preflight

Use:

  • references/subgraph.md for parcel/installations/tiles/access-right discovery.
  • references/realm-recipes.md preflight checks for:
    • parcel owner and access right
    • altar presence/level
    • gotchi lending/listing/kinship checks

2) Survey + Harvest

Functions:

  • startSurveying(uint256)
  • claimAvailableAlchemica(uint256,uint256,bytes)
  • claimAllAvailableAlchemica(uint256[],uint256,bytes)

Use references/realm-recipes.md for read/simulate/broadcast commands.

3) Channel Alchemica

Function:

  • channelAlchemica(uint256,uint256,uint256,bytes)

Preflight requirements:

  • correct access right
  • gotchi not actively listed for lending (unless lent)
  • gotchi kinship is sufficient
  • getLastChanneled(gotchiId) passed as _lastChanneled
  • parcel altar equipped and cooldown passed

Use references/realm-recipes.md.

4) Craft Installations + Build on Parcel

Installation craft/queue functions:

  • craftInstallations(uint16[],uint40[])
  • batchCraftInstallations((uint16,uint16,uint40)[])
  • claimInstallations(uint256[])
  • reduceCraftTime(uint256[],uint40[])
  • getCraftQueue(address)

Build functions (Realm):

  • equipInstallation(...)
  • unequipInstallation(...)
  • moveInstallation(...)
  • batchEquip(...)

Use:

  • references/installation-recipes.md
  • references/realm-recipes.md

5) Craft Tiles + Build on Parcel

Tile craft/queue functions:

  • craftTiles(uint16[])
  • batchCraftTiles((uint16,uint16,uint40)[])
  • claimTiles(uint256[])
  • reduceCraftTime(uint256[],uint40[])
  • getCraftQueue(address)

Build functions (Realm):

  • equipTile(...)
  • unequipTile(...)
  • moveTile(...)
  • batchEquip(...)

Use:

  • references/tile-recipes.md
  • references/realm-recipes.md

6) Upgrade Installations

Functions:

  • upgradeInstallation((...),uint256,bytes,uint40)
  • instantUpgrade((...),uint256,uint256,bytes)
  • reduceUpgradeTime(uint256,uint256,uint40,bytes)
  • finalizeUpgrades(uint256[])
  • getParcelUpgradeQueue(uint256)
  • getUserUpgradeQueueNew(address)
  • parcelQueueEmpty(uint256)

Use references/installation-recipes.md.

7) Access Rights

Functions:

  • setParcelsAccessRights(...)
  • setParcelsAccessRightWithWhitelists(...)
  • getParcelsAccessRights(...)
  • getParcelsAccessRightsWhitelistIds(...)

Action rights 0..6 and access modes 0..4 are documented in:

  • references/access-rights.md

Smoke Tests

Run these before first usage and after env changes:

  • Subgraph introspection checks in references/subgraph.md
  • Address/contract checks in references/addresses.md
  • No-op selector checks in:
    • references/realm-recipes.md
    • references/installation-recipes.md
    • references/tile-recipes.md

Failure Modes

Use references/failure-modes.md for:

  • access-right reverts
  • cooldown/kinship/channeling reverts
  • coordinate/grid placement reverts
  • queue state reverts
  • upgrade hash/queue capacity reverts
  • deprecation/GLTR/ownership mismatches
安全使用建议
This skill appears coherent for operating Gotchiverse actions, but it requires a PRIVATE_KEY that can sign real transactions. Before installing: 1) Only provide a key you control and understand — prefer an ephemeral or limited-funds account, not your primary wallet. 2) Keep DRY_RUN=1 until you fully trust runbook outputs; the instructions default to dry-run but broadcasting will use your PRIVATE_KEY when explicitly requested. 3) Verify the listed contract addresses and the GOTCHIVERSE_SUBGRAPH_URL (they point to goldsky.com in references) match official project sources. 4) Do not paste PRIVATE_KEY into chat or logs; use environment variables or a secure signer. 5) If you want to avoid giving a private key at all, consider using an external signing service or hardware wallet — this skill expects a raw PRIVATE_KEY env var to broadcast, so that would require adapting your environment. 6) If you are unsure, test on a non-sensitive account first.
功能分析
Type: OpenClaw Skill Name: aavegotchi-gotchiverse Version: 1.0.0 The skill bundle is designed for legitimate Aavegotchi Gotchiverse operations, interacting with smart contracts and subgraphs. It explicitly requires sensitive environment variables like `PRIVATE_KEY` and `GOLDSKY_API_KEY`, which is standard for blockchain interaction. Crucially, `SKILL.md` includes robust safety instructions for the AI agent, such as 'Never print or log `PRIVATE_KEY`', 'Treat all user/subgraph values as untrusted shell input', and 'Never use `eval`, `bash -c`, `sh -c` with user values', along with input validation patterns. All network calls are directed to legitimate Goldsky subgraph endpoints. There is no evidence of intentional malicious behavior, data exfiltration to unauthorized destinations, persistence mechanisms, or obfuscation. The skill actively attempts to prevent common vulnerabilities through explicit instructions to the agent.
能力评估
Purpose & Capability
Name/description match the requested tools and env: cast/curl/python3 plus RPC, contract diamond addresses, token addresses and a PRIVATE_KEY are all needed to discover state via subgraphs, simulate with cast and broadcast transactions.
Instruction Scope
SKILL.md is an instruction-only runbook that sticks to reading the subgraph and making cast call/send simulations and broadcasts. It includes explicit safety checks (chain id, address/private-key alignment, dry-run default, input validators) and does not instruct reading unrelated files or exfiltrating data to unexpected endpoints.
Install Mechanism
No install spec or third-party downloads — instruction-only skill. This minimizes write-to-disk/executable install risk.
Credentials
The env list is lengthy but each variable is used by the documented flows (contract addresses, token addresses, subgraph URLs, RPC, DRY_RUN). PRIMARY credential PRIVATE_KEY is necessary to broadcast transactions — this is sensitive and grants signing power, so treat it accordingly. GOLDSKY_API_KEY is listed optional and used only for authenticated subgraph calls.
Persistence & Privilege
always:false and user-invocable true (normal). The skill does not request system-level persistence or modify other skills/configs; autonomous invocation is allowed by platform default but not privileged here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aavegotchi-gotchiverse
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aavegotchi-gotchiverse 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Base Gotchiverse player operations (channeling, survey/harvest, build, craft, upgrades, access rights) with dry-run-first safety and official subgraph references.
元数据
Slug aavegotchi-gotchiverse
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Aavegotchi Gotchiverse 是什么?

Operate Aavegotchi Gotchiverse player workflows on Base mainnet (8453): alchemica channeling, surveying and harvesting, crafting installations/tiles, buildin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 553 次。

如何安装 Aavegotchi Gotchiverse?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aavegotchi-gotchiverse」即可一键安装,无需额外配置。

Aavegotchi Gotchiverse 是免费的吗?

是的,Aavegotchi Gotchiverse 完全免费(开源免费),可自由下载、安装和使用。

Aavegotchi Gotchiverse 支持哪些平台?

Aavegotchi Gotchiverse 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aavegotchi Gotchiverse?

由 cinnabarhorse(@cinnabarhorse)开发并维护,当前版本 v1.0.0。

💬 留言讨论