Base logo

Base

Community
Tommy-yw
base

Query Base (Ethereum L2) blockchain data with USD pricing — wallet balances, token info, transaction details, gas analysis, contract inspection, whale detection, and live network stats. Uses Base RPC + CoinGecko. No API key required.

Overview

PublisherTommy-yw
RepositoryRunbookHermes
Skill namebase
Stars
546
Forks
41
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Tommy-yw on GitHub. Read the source before you install it.

Installation

Install the Base AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Tommy-yw/RunbookHermes/tree/main/optional-skills/blockchain/base
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Tommy-yw/RunbookHermes.git /tmp/RunbookHermes
mkdir -p .claude/skills
cp -r /tmp/RunbookHermes/optional-skills/blockchain/base .claude/skills/base
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Base in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Base on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Base is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Base Blockchain Skill

Query Base (Ethereum L2) on-chain data enriched with USD pricing via CoinGecko. 8 commands: wallet portfolio, token info, transactions, gas analysis, contract inspection, whale detection, network stats, and price lookup.

No API key needed. Uses only Python standard library (urllib, json, argparse).


When to Use

  • User asks for a Base wallet balance, token holdings, or portfolio value
  • User wants to inspect a specific transaction by hash
  • User wants ERC-20 token metadata, price, supply, or market cap
  • User wants to understand Base gas costs and L1 data fees
  • User wants to inspect a contract (ERC type detection, proxy resolution)
  • User wants to find large ETH transfers (whale detection)
  • User wants Base network health, gas price, or ETH price
  • User asks "what's the price of USDC/AERO/DEGEN/ETH?"

Prerequisites

The helper script uses only Python standard library (urllib, json, argparse). No external packages required.

Pricing data comes from CoinGecko's free API (no key needed, rate-limited to ~10-30 requests/minute). For faster lookups, use --no-prices flag.


Quick Reference

RPC endpoint (default): https://mainnet.base.org Override: export BASE_RPC_URL=https://your-private-rpc.com

Helper script path: ~/.hermes/skills/blockchain/base/scripts/base_client.py

python3 base_client.py wallet   <address> [--limit N] [--all] [--no-prices]
python3 base_client.py tx       <hash>
python3 base_client.py token    <contract_address>
python3 base_client.py gas
python3 base_client.py contract <address>
python3 base_client.py whales   [--min-eth N]
python3 base_client.py stats
python3 base_client.py price    <contract_address_or_symbol>

Procedure

0. Setup Check

bash
python3 --version

# Optional: set a private RPC for better rate limits
export BASE_RPC_URL="https://mainnet.base.org"

# Confirm connectivity
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py stats

1. Wallet Portfolio

Get ETH balance and ERC-20 token holdings with USD values. Checks ~15 well-known Base tokens (USDC, WETH, AERO, DEGEN, etc.) via on-chain balanceOf calls. Tokens sorted by value, dust filtered.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py \
  wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Flags:

  • --limit N — show top N tokens (default: 20)
  • --all — show all tokens, no dust filter, no limit
  • --no-prices — skip CoinGecko price lookups (faster, RPC-only)

Output includes: ETH balance + USD value, token list with prices sorted by value, dust count, total portfolio value in USD.

Note: Only checks known tokens. Unknown ERC-20s are not discovered. Use the token command with a specific contract address for any token.

2. Transaction Details

Inspect a full transaction by its hash. Shows ETH value transferred, gas used, fee in ETH/USD, status, and decoded ERC-20/ERC-721 transfers.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py \
  tx 0xabc123...your_tx_hash_here

Output: hash, block, from, to, value (ETH + USD), gas price, gas used, fee, status, contract creation address (if any), token transfers.

3. Token Info

Get ERC-20 token metadata: name, symbol, decimals, total supply, price, market cap, and contract code size.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py \
  token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Output: name, symbol, decimals, total supply, price, market cap. Reads name/symbol/decimals directly from the contract via eth_call.

4. Gas Analysis

Detailed gas analysis with cost estimates for common operations. Shows current gas price, base fee trends over 10 blocks, block utilization, and estimated costs for ETH transfers, ERC-20 transfers, and swaps.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py gas

Output: current gas price, base fee, block utilization, 10-block trend, cost estimates in ETH and USD.

Note: Base is an L2 — actual transaction costs include an L1 data posting fee that depends on calldata size and L1 gas prices. The estimates shown are for L2 execution only.

5. Contract Inspection

Inspect an address: determine if it's an EOA or contract, detect ERC-20/ERC-721/ERC-1155 interfaces, resolve EIP-1967 proxy implementation addresses.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py \
  contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Output: is_contract, code size, ETH balance, detected interfaces (ERC-20, ERC-721, ERC-1155), ERC-20 metadata, proxy implementation address.

6. Whale Detector

Scan the most recent block for large ETH transfers with USD values.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py \
  whales --min-eth 1.0

Note: scans the latest block only — point-in-time snapshot, not historical. Default threshold is 1.0 ETH (lower than Solana's default since ETH values are higher).

7. Network Stats

Live Base network health: latest block, chain ID, gas price, base fee, block utilization, transaction count, and ETH price.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py stats

8. Price Lookup

Quick price check for any token by contract address or known symbol.

bash
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py price ETH
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py price USDC
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py price AERO
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py price DEGEN
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py price 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Known symbols: ETH, WETH, USDC, cbETH, AERO, DEGEN, TOSHI, BRETT, WELL, wstETH, rETH, cbBTC.


Pitfalls

  • CoinGecko rate-limits — free tier allows ~10-30 requests/minute. Price lookups use 1 request per token. Use --no-prices for speed.
  • Public RPC rate-limits — Base's public RPC limits requests. For production use, set BASE_RPC_URL to a private endpoint (Alchemy, QuickNode, Infura).
  • Wallet shows known tokens only — unlike Solana, EVM chains have no built-in "get all tokens" RPC. The wallet command checks ~15 popular Base tokens via balanceOf. Unknown ERC-20s won't appear. Use the token command for any specific contract.
  • Token names read from contract — if a contract doesn't implement name() or symbol(), these fields may be empty. Known tokens have hardcoded labels as fallback.
  • Gas estimates are L2 only — Base transaction costs include an L1 data posting fee (depends on calldata size and L1 gas prices). The gas command estimates L2 execution cost only.
  • Whale detector scans latest block only — not historical. Results vary by the moment you query. Default threshold is 1.0 ETH.
  • Proxy detection — only EIP-1967 proxies are detected. Other proxy patterns (EIP-1167 minimal proxy, custom storage slots) are not checked.
  • Retry on 429 — both RPC and CoinGecko calls retry up to 2 times with exponential backoff on rate-limit errors.

Verification

bash
# Should print Base chain ID (8453), latest block, gas price, and ETH price
python3 ~/.hermes/skills/blockchain/base/scripts/base_client.py stats

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Base AI skill do?

Query Base (Ethereum L2) blockchain data with USD pricing — wallet balances, token info, transaction details, gas analysis, contract inspection, whale detection, and live network stats. Uses Base RPC + CoinGecko. No API key required.

Why use Base on TypingMind?

Because you install it once and use it with any model. Base is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Base in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Tommy-yw/RunbookHermes/tree/main/optional-skills/blockchain/base. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Base?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Base?

As many as you like. As long as a model supports skills, you can use Base with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Base AI skill free?

Yes. It is published on GitHub by Tommy-yw under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇