← 返回 Skills 市场
aaigotchi

Gotchi Pocket

作者 aaigotchi · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
278
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gotchi-pocket
功能描述
Manage Aavegotchi pocket wallets (escrow) on Base with Bankr. Use when the user wants to deposit ERC20 tokens into a gotchi pocket, withdraw ERC20 tokens fro...
使用说明 (SKILL.md)

Gotchi Pocket

Send and receive ERC20 tokens with Aavegotchi pockets on Base, using Bankr for signing/submission.

What this skill does

  • Resolve gotchi owner + pocket address from gotchi ID
  • Check owner and pocket token balances
  • Deposit ERC20 tokens from owner wallet into pocket
  • Withdraw ERC20 tokens from pocket with transferEscrow(...)
  • Enforce owner-control check against active Bankr wallet (default)
  • Parse plain-English commands and dispatch to scripts automatically
  • Require explicit approval for natural-language withdraw intents

Scripts

  • ./scripts/pocket-info.sh \x3Cgotchi-id> [--check-bankr]
  • ./scripts/pocket-balance.sh \x3Cgotchi-id> \x3Ctoken-alias-or-address>
  • ./scripts/pocket-deposit.sh \x3Cgotchi-id> \x3Ctoken-alias-or-address> \x3Camount> [--raw]
  • ./scripts/pocket-withdraw.sh \x3Cgotchi-id> \x3Ctoken-alias-or-address> \x3Cto-address> \x3Camount> [--raw]
  • ./scripts/pocket-command.sh [--approve-withdraw] [--dry-run] "\x3Cnatural-language command>"

Natural-language command layer

Use one plain-English command and let the skill route it.

Examples:

./scripts/pocket-command.sh "send 25 GHST to gotchi 9638 pocket"
./scripts/pocket-command.sh "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"
./scripts/pocket-command.sh "check pocket GHST balance for gotchi 9638"
./scripts/pocket-command.sh "show pocket info for gotchi 9638"

Preview parsing without sending tx:

./scripts/pocket-command.sh --dry-run "send 25 GHST to gotchi 9638 pocket"

Withdraw approval safety

Natural-language withdraws are blocked unless explicitly approved.

# First call returns approval_required=true and exits without sending
./scripts/pocket-command.sh "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"

# Approved execution
./scripts/pocket-command.sh --approve-withdraw "send 25 GHST from gotchi 9638 pocket to 0xb96b48a6b190a9d509ce9312654f34e9770f2110"

Token input

Use either a token address or aliases:

  • GHST
  • FUD
  • FOMO
  • ALPHA
  • KEK
  • USDC
  • WETH
  • DAI

Standard workflow

  1. Resolve addresses:
./scripts/pocket-info.sh 9638 --check-bankr
  1. Check balance before mutation:
./scripts/pocket-balance.sh 9638 GHST
  1. Deposit or withdraw:
# Deposit 100 GHST to pocket
./scripts/pocket-deposit.sh 9638 GHST 100

# Withdraw 100 GHST from pocket to owner
./scripts/pocket-withdraw.sh 9638 GHST 0xb96b48a6b190a9d509ce9312654f34e9770f2110 100
  1. Re-check balance after tx:
./scripts/pocket-balance.sh 9638 GHST

Notes

  • Amounts are token units by default (for example 100 GHST).
  • Use --raw only when the amount is already base units.
  • Owner check is on by default and can be skipped with SKIP_BANKR_OWNER_CHECK=1.
  • All txs use waitForConfirmation=true and return a BaseScan URL.

Contracts

  • Aavegotchi Diamond (Base): 0xA99c4B08201F2913Db8D28e71d020c4298F29dBF
  • GHST (Base): 0xcD2F22236DD9Dfe2356D7C543161D4d260FD9BcB
安全使用建议
This skill appears to do what it says: it reads on-chain data via cast and uses Bankr to sign/submit transactions. Before installing, confirm you trust the Bankr service (default BANKR_API_URL is https://api.bankr.bot) because the BANKR_API_KEY allows submission of transactions and querying the Bankr agent. Note the scripts will try to auto-discover a Bankr API key in your systemd user environment and OpenClaw skill config paths (~/.openclaw/...), so if you don't want that behavior either (a) don't place Bankr credentials in those locations or (b) review/modify the scripts. If you plan to run withdraw or send commands, keep the default owner-check enabled (SKIP_BANKR_OWNER_CHECK=0) and use the natural-language approval flag (--approve-withdraw) to avoid accidental outgoing transfers. Finally, consider auditing the included scripts locally (they are plaintext) and pinning BANKR_API_URL or supplying a dedicated API key with restricted scope if Bankr supports it.
功能分析
Type: OpenClaw Skill Name: gotchi-pocket Version: 1.0.0 The gotchi-pocket skill bundle provides tools for managing Aavegotchi escrow wallets on the Base network via the Bankr API. It includes scripts for token transfers and balance checks, featuring a natural-language interface (pocket-command.py) that uses safe command execution practices like shlex.quote. Security measures such as ownership verification (ensure_bankr_controls_gotchi) and mandatory approval flags for withdrawals are implemented, and the code shows no signs of malicious intent, obfuscation, or unauthorized data exfiltration.
能力评估
Purpose & Capability
Name/description (gotchi pocket management on Base via Bankr) match the actual behavior: resolving gotchi/pocket addresses, checking balances, and submitting transactions via Bankr. Required binaries (cast, jq, curl, python3) are appropriate for on-chain calls, JSON handling, HTTP calls, and the natural-language dispatcher.
Instruction Scope
SKILL.md directs the agent to run included scripts that query the chain (via cast) and communicate with Bankr's API to lookup the Bankr wallet and submit transactions. The scripts enforce an owner check by default and require explicit approval for natural-language withdraw intents. One notable behavior: the scripts will attempt to find a Bankr API key in multiple places (env, systemd user environment, and other local OpenClaw Bankr skill config paths), which is out-of-band relative to the simple 'provide BANKR_API_KEY' expectation but is intended to reuse an existing Bankr credential.
Install Mechanism
No remote install/downloads or archive extraction are used; the skill is delivered as scripts included in the package and runs locally. There are no brew/npm/go installs or remote extracts in the install spec.
Credentials
Only one primary credential is required (BANKR_API_KEY), which makes sense because Bankr is used to sign/submit transactions. However, the scripts also look for that API key in systemd user environment and in other local skill config files (~/.openclaw/skills/bankr/config.json and workspace path). This file/systemd probing could be surprising to users who expect only the explicit env var to be used; it does not appear malicious but is broader file access than the high-level docs state.
Persistence & Privilege
The skill does not request permanent/global inclusion (always=false) and does not modify other skills or system settings. It only reads local config files and environment variables and submits transactions through the Bankr API; it does not write persistent agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gotchi-pocket
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gotchi-pocket 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - manage Aavegotchi pocket wallets on Base via Bankr
元数据
Slug gotchi-pocket
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gotchi Pocket 是什么?

Manage Aavegotchi pocket wallets (escrow) on Base with Bankr. Use when the user wants to deposit ERC20 tokens into a gotchi pocket, withdraw ERC20 tokens fro... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 278 次。

如何安装 Gotchi Pocket?

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

Gotchi Pocket 是免费的吗?

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

Gotchi Pocket 支持哪些平台?

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

谁开发了 Gotchi Pocket?

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

💬 留言讨论