Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

base-address-balance

БесплатноБез исполняемых скриптовНе проверен

Retired on 2026-11-23. The endpoint this skill called (api.botx402.io/base-address-balance) is no longer served and answers no request. Do not call it; use…

scogibот scogib222 установки в других каталогах

Об этом скилле

Base wallet balance (retired)

This skill is retired as of 2026-11-23. The endpoint it paid, https://api.botx402.io/base-address-balance, is archived and no longer served: it returns no balance and no 402. Do not run the commands below. For a Base wallet's balance, use another source (a Base RPC provider's eth_getBalance and ERC-20 balanceOf, or a listed balances API). Nothing here reads or needs a wallet any more.

The text below is kept as the record of what the skill did.


One paid call to api.botx402.io returns what a Base wallet holds now, for $0.01 USDC. No account, no API key.

It needs an existing agentcash or awal wallet holding USDC: x402 on Base, or (agentcash) MPP on Tempo. The wallet CLI holds the signing key, and this skill never reads it.

The skill has no install step. On first use, npx -y downloads and runs two npm packages pinned to exact versions: [email protected] and [email protected]. The call sends the looked-up address to api.botx402.io, and nothing else about the user.

1. Pick the wallet

  • agentcash (preferred: pays x402 or MPP), when test -f ~/.agentcash/wallet.json or [ -n "${X402_PRIVATE_KEY:+set}" ] succeeds. Both test presence only: never print, log or pass the key, or run env to find it.
  • awal (Coinbase Agentic Wallet, x402 on Base), when there's no agentcash wallet and the user says they pay with awal. Only after that yes, run npx -y [email protected] status to confirm a signed-in wallet. This fallback path is untested with awal.

Run agentcash commands only once one of those holds: on its first run agentcash creates a new, empty wallet, and setting up a wallet is the user's decision.

If neither wallet is there, tell the user this skill pays from an existing agentcash or awal wallet holding USDC, and stop.

Done when one wallet is chosen, or you've told the user and stopped.

2. Get the user's approval for a budget

Before the first lookup in a conversation, ask once, naming the price, the wallet and a budget:

Each Base balance lookup costs $0.01 USDC, paid from your agentcash wallet. OK to spend up to $0.10 (10 lookups) in this conversation?

  • Make lookups only after a clear yes, and only as many as approved. A budget the user names instead is the budget, if it's a specific amount or number of lookups. If the answer is open-ended ("as many as you need"), ask for a number.
  • Count every call the wallet CLI reports as paid, whatever the HTTP status. If you lose count, can't tell whether a call was charged, or the budget is used up, ask again before the next lookup.

The skill asks because neither wallet has a cap it can read that only the user can change: agentcash's maxAmount is per call and not locked against the agent, and awal's limits live in its wallet app with no command that reports them. That approval covers each lookup inside the budget, with no prompt per call. Every call also caps its own price with the wallet's max-amount flag, so the wallet refuses a request for more than $0.01. Keep that flag at $0.01, and leave agentcash's maxAmount setting as the user set it.

Done when the user has approved a number of lookups and the next lookup is within it.

3. Call

The body is JSON. Required: chain ("base") and address (0x + 40 hex). Optional: token_addresses (up to 50 ERC-20 contracts beyond the fixed list) and pagination ({"page": 1, "per_page": 100}, per_page up to 250).

With agentcash:

npx -y [email protected] fetch "https://api.botx402.io/base-address-balance?via=clawhub" \
  -m POST \
  -H "Content-Type: application/json" \
  -H "X-Botx402-Source: clawhub/1.0.0" \
  -b '{"chain":"base","address":"0x28c6c06298d514db089934071355e5743bf21d60"}' \
  --max-amount 0.01

With awal (--max-amount is in atomic units: 10000 is $0.01):

npx -y [email protected] x402 pay "https://api.botx402.io/base-address-balance?via=clawhub" \
  -X POST \
  -h '{"Content-Type":"application/json","X-Botx402-Source":"clawhub/1.0.0"}' \
  -d '{"chain":"base","address":"0x28c6c06298d514db089934071355e5743bf21d60"}' \
  --max-amount 10000

?via=clawhub and X-Botx402-Source are an attribution tag: they tell botx402 the call came through this skill, carry no user data, and don't change the result.

Done when the command returns the answer or an error.

4. Read the answer

{"block_number": 52943289,
 "pagination": {"page": 1, "per_page": 10, "is_last_page": true},
 "data": [{"token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "token_symbol": "USDC",
   "token_name": "USD Coin", "token_decimals": 6, "token_amount": 604.382274, "token_amount_raw": "604382274"}]}
  • data holds only non-zero balances: ETH first (the zero address), then tokens by market-cap rank, then the contracts you named. A token missing from data has a zero balance at block_number.
  • token_amount_raw is exact, in the token's smal
Полный SKILL.md на ClawHub

Установить base-address-balance в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл base-address-balance?

Retired on 2026-11-23. The endpoint this skill called (api.botx402.io/base-address-balance) is no longer served and answers no request. Do not call it; use another Base wallet balance source. Kept on ClawHub only so existing copies read this notice.

Как установить скилл base-address-balance?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл base-address-balance запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить base-address-balance с