Skip to content

internet-court/internet-court-skill / vendored/chainbase/web3-data

web3-data

Verified

Two services in one skill: (1) Web3 on-chain data via Chainbase CLI — use when the user asks about blockchain data, token holders, wallet addresses, token prices, ENS domains, transactions, DeFi portfolios, or any on-chain analytics. Triggers: "top holders of", "who holds", "wallet address", "token price", "token transfers", "ENS domain", "on-chain data", "blockchain query", "SQL query on-chain", across Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, zkSync, and other EVM chains. (2) Crypto social intelligence via Tops (chainbase tops) — use when the user asks about trending crypto narratives, social mentions, Twitter/X crypto discussions, narrative discovery, topic heat, or KOL/community signals. Triggers: "trending topics", "crypto narrative", "what's trending in crypto", "social mentions", "who is talking about", "crypto twitter", "KOL signals", "narrative search", "topic posts".

FileKindSize
.gitignoreother17 B
CLAUDE.mdmarkdown1.1 KB
LICENSEother1.0 KB
README.mdmarkdown2.5 KB
SKILL.mdskill md8.0 KB
clawhub.jsonconfig1002 B
references/api-endpoints.mdmarkdown7.0 KB
references/tops-api.mdmarkdown4.1 KB
# web3-data-skill

A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill covering two Chainbase services:

| Service | Description |
|---|---|
| **Web3 Data** | On-chain data via [Chainbase](https://chainbase.com) APIs — tokens, wallets, DeFi, ENS, SQL |
| **Tops** | Crypto social intelligence via [Tops](https://tops.chainbase.com) — trending narratives, Twitter/X mentions |

## Features

### Web3 On-Chain Data (`chainbase`)

- **Token Holders** — Top holders of any ERC20 token with balance and USD value
- **Token Data** — Price, metadata, transfer history
- **Wallet Analytics** — Balances, transaction history, DeFi portfolios, ENS domains
- **SQL Queries** — Custom SQL against any on-chain data when fixed APIs fall short

Supports Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, zkSync, and more.

### Crypto Social Intelligence (`chainbase tops`)

- **Trending Topics** — Ranked list of current crypto narratives with heat scores
- **Topic Details** — AI summary, keywords, and representative tweets for any topic
- **Topic Posts** — Raw tweets under a topic for sentiment/stance analysis
- **Narrative Search** — Discover topics from a vague keyword (e.g. "RWA", "AI Agent")
- **Social Mentions** — Recent Twitter/X mentions of any project or keyword

No API key required for Tops — free to use.

## Install

```bash
claude install-skill /path/to/web3-data-skill
```

Or install from GitHub:

```bash
claude install-skill https://github.com/lxcong/web3-data-skill
```

## Usage

Once installed, ask Claude Code in natural language:

**On-chain data:**
```
> USDT 的 top holders 是谁?
> 查一下 vitalik 的地址标签
> ETH 上 USDC 最近 24 小时的转账记录
> 用 SQL 查一下以太坊最近 10 个区块
```

**Crypto social intelligence:**
```
> 现在 crypto 最热的 narrative 是什么?
> Search narrative candidates for "AI Agent"
> Who is talking about Ethereum ETF on Twitter?
> Get posts for the top trending topic
```

## API Keys

- **Web3 Data**: Uses Chainbase `demo` key by default. For higher limits, register at [console.chainbase.com](https://console.chainbase.com) and set `CHAINBASE_API_KEY`.
- **Tops**: No API key needed. Rate limit: 10 req/s · 60 req/min · 600 req/hour per IP.

## Structure

```
├── SKILL.md                    # Skill definition and routing logic (both services)
└── references/
    ├── api-endpoints.md        # Chainbase Web3 API reference (38 endpoints)
    └── tops-api.md             # Tops Social Intelligence API reference
```

## License

MIT
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall