跳到正文
cccskills
免费在 GitHub 公开

web3-data

Use Chainbase CLI to investigate blockchain records, including token holders, prices, wallet activity, and DeFi positions. Use Tops to discover trending crypto topics, inspect related posts, and track recent Twitter/X mentions of projects or keywords.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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".

集成工具X (Twitter)
查看安装方法

适用场景

  • Check major token holders and transfer history
  • Review wallet balances and DeFi positions
  • Run custom SQL queries on blockchain records
  • Discover trending crypto topics and related posts
  • Track Twitter/X mentions of projects or keywords

包含的文件(8)

  • SKILL.md8.0 KB
  • .gitignore17 B
  • CLAUDE.md1.1 KB
  • clawhub.json1002 B
  • LICENSE1.0 KB
  • README.md2.5 KB
  • references/api-endpoints.md7.0 KB
  • references/tops-api.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Web3 Data Explorer (Chainbase)

Query on-chain data via the Chainbase CLI.

Quick Reference

Install: npm install -g chainbase-cli (or use npx chainbase-cli)

Auth: Set API key via chainbase config set api-key YOUR_KEY, or env CHAINBASE_API_KEY. Falls back to demo key. If rate-limited, direct user to https://platform.chainbase.com to get a key.

x402 Payment: Supports pay-per-call micropayments via --x402 flag. Setup: chainbase config set private-key 0x...

# Top token holders
chainbase token top-holders 0xdAC17F958D2ee523a2206206994597C13D831ec7 --chain 1 --limit 10

# Token price
chainbase token price 0xdAC17F958D2ee523a2206206994597C13D831ec7

# ENS resolve
chainbase domain ens-resolve vitalik.eth

# SQL query
chainbase sql execute "SELECT * FROM ethereum.blocks ORDER BY number DESC LIMIT 5"

Use --json for machine-parseable output. Use --chain <id> to target a specific chain.

Chain IDs

ChainIDChainID
Ethereum1Optimism10
BSC56Base8453
Polygon137zkSync324
Avalanche43114Arbitrum42161

Default to Ethereum (chain 1) unless user specifies otherwise.

Routing Logic

Match user intent to the right CLI command:

User wantsCLI command
Latest block numberchainbase block latest
Block detailschainbase block detail <number>
Transaction detailchainbase tx detail <hash>
Wallet transaction historychainbase tx list <address>
Token info (name, symbol, supply)chainbase token metadata <contract>
Token pricechainbase token price <contract>
Historical token pricechainbase token price-history <contract> --from <ts> --to <ts>
List of holder addresseschainbase token holders <contract>
Top token holders / who holds a tokenchainbase token top-holders <contract>
Token transfer historychainbase token transfers --contract <addr>
Native token balance (ETH/BNB)chainbase balance native <address>
ERC20 token balances of walletchainbase balance tokens <address>
DeFi portfolio positionschainbase balance portfolios <address>
ENS domains held by addresschainbase domain ens <address>
ENS name → addresschainbase domain ens-resolve <name>
Address → ENS namechainbase domain ens-reverse <address>
Space ID resolve (BSC)chainbase domain spaceid-resolve <domain>
Space ID reverse (BSC)chainbase domain spaceid-reverse <address>
Call smart contract functionchainbase contract call --address <contract> --function "fn" --abi '[...]' --params '[...]'
Anything not covered aboveSQL API: chainbase sql execute "SELECT ..."

Workflow

  1. Identify intent — Determine what data the user needs
  2. Resolve identifiers — If user gives token name (e.g. "USDT"), look up the contract address. Common tokens:
    • USDT: 0xdAC17F958D2ee523a2206206994597C13D831ec7 (ETH)
    • USDC: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (ETH)
    • WETH: 0xC02aaA39b223FE8D0A0e5c4F27eAD9083C756Cc2 (ETH)
    • DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F (ETH)
    • WBTC: 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 (ETH)
    • If unknown, use chainbase token metadata <contract> or ask the user for the contract address
  3. Select command — Use the routing table above; fall back to SQL API for complex/custom queries
  4. Execute — Run the CLI command. Add --json when you need to parse the output programmatically
  5. Present results — Format data clearly with tables for lists, highlight key insights

Global Options

All commands support these options:

OptionDescriptionDefault
--chain <id>Target chain1 (Ethereum)
--jsonMachine-parseable JSON outputfalse
--page <n>Page number for paginated results1
--limit <n>Results per page20
--x402Enable x402 micropayment modefalse

SQL API Fallback

When CLI commands don't cover the query, translate user intent to SQL:

chainbase sql execute "SELECT from_address, SUM(value) as total FROM ethereum.token_transfers WHERE contract_address = '0x...' GROUP BY from_address ORDER BY total DESC LIMIT 20"

Common table patterns (replace ethereum with chain name):

  • {chain}.blocks — Block data
  • {chain}.transactions — Transactions
  • {chain}.token_transfers — ERC20 transfers
  • {chain}.token_metas — Token metadata
  • {chain}.logs — Event logs

SQL constraints: max 100,000 results per query.

For full command help, run chainbase --help or chainbase <command> --help.


Crypto Social Intelligence (Tops)

Query crypto social signals via chainbase tops. No API key required — free to use.

Service: Tops — trending narratives, topic discovery, Twitter/X mentions. Base URL: https://api.chainbase.com/tops (called internally by the CLI) Rate limit: 10 req/s · 60 req/min · 600 req/hour (per client IP)

Quick Reference

# List trending crypto topics (default: English)
chainbase tops trending
chainbase tops trending --language zh   # Chinese
chainbase tops trending --language ko   # Korean

# Get structured details for a topic
chainbase tops topic <topic_id>

# Get posts/tweets under a topic
chainbase tops posts <topic_id>

# Search narrative candidates by keyword
chainbase tops search "RWA"
chainbase tops search "AI Agent"

# Search recent Twitter/X mentions
chainbase tops mentions "Ethereum ETF"

Use --json for machine-parseable output.

Routing Logic

Match user intent to the right subcommand:

User wantsCLI command
What's trending in crypto right nowchainbase tops trending [--language <lang>]
Details / summary of a specific topicchainbase tops topic <topic_id>
Raw tweets / posts under a topicchainbase tops posts <topic_id>
Find topics related to a narrative keywordchainbase tops search <keyword>
Recent Twitter/X mentions of a project or keywordchainbase tops mentions <keyword>

Workflow

Trend Tracking

  1. chainbase tops trending → get current top topics (note id fields)
  2. chainbase tops topic <id> → dive into summary, keywords, representative tweets
  3. chainbase tops posts <id> → retrieve raw tweets for sentiment analysis

Narrative Discovery

  1. chainbase tops search <keyword> → find candidate topics from a vague term
  2. Cluster/summarize candidates, identify the target topic ID
  3. chainbase tops topic <id> → confirm topic details

Real-time Monitoring

  1. chainbase tops mentions <keyword> → monitor social mentions of a project/token
  2. Extract stance, sentiment, key voices from results

Data Schemas

Story (topic): id, keyword, summary, score, current_rank, rank_status (new/up/down/same), is_new, authors[], tweet_urls[], first_tweet_time, snapshot_time

Tweet: id, text, media_json, user → {user_id, name, screen_name, blue_verified, profile_image}

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build chat, image generation, and speech transcription features on 0G Compute Network, a distributed GPU marketplace. This skill guides SDK integration, model fine-tuning, response processing for billing, and account funding through code patterns and CLI commands.

中文简介正在准备中。当前显示英语简介。

  • Integrating chat and image generation into an application
  • Preparing model fine-tuning jobs
  • Checking balances and funding provider accounts
internet-court/internet-court-skill69662026年8月20日 更新

Build servers and clients for A2A, an open protocol that lets AI agents communicate across frameworks. Publish agent capabilities, exchange tasks and results, stream progress, and add notifications for workflows involving multiple agents.

中文简介正在准备中。当前显示英语简介。

  • Connect agents built with different frameworks
  • Publish agent capabilities through an Agent Card
  • Build a research, writing, and review workflow
internet-court/internet-court-skill69662026年8月20日 更新

Give an AI agent a wallet with administrator-defined transaction limits. The skill covers encrypted key storage, balance checks, and sending funds through code-enforced rules for destinations, amounts, transaction frequency, and emergency shutdown.

中文简介正在准备中。当前显示英语简介。

  • Give an agent a wallet with transaction limits
  • Restrict transfers to approved chains and addresses
  • Check balances and active rules before sending
internet-court/internet-court-skill69662026年8月20日 更新

Manage a crypto wallet with the awal CLI, including sign-in, balance checks, transfers, swaps, and funding. Also find and pay for APIs through x402, a payment protocol, set up paid endpoints, and query blockchain data on Base.

中文简介正在准备中。当前显示英语简介。

  • Check wallet balances across supported networks
  • Send tokens to an address or ENS name
  • Swap tokens or add wallet funds
internet-court/internet-court-skill69662026年8月20日 更新

Write TypeScript, Rust, or Python code for Alkahest escrow contracts, which hold assets until conditions are met. Covers creating escrows, submitting fulfillment, collecting payments, and building custom contracts that decide whether requirements have been satisfied.

中文简介正在准备中。当前显示英语简介。

  • Integrate Alkahest escrow into an application
  • Build a bot that creates escrows and submits fulfillment
  • Implement payment collection and fulfillment monitoring
internet-court/internet-court-skill69662026年8月20日 更新

Use the Alkahest CLI to manage escrow, where assets are held until agreed conditions are met. It covers buyer deposits, seller fulfillment and collection, third-party decisions, token swaps, and reclaiming expired, unfulfilled deposits.

中文简介正在准备中。当前显示英语简介。

  • Creating escrow with release conditions
  • Submitting work and collecting escrowed assets
  • Approving or rejecting fulfillment as an oracle
internet-court/internet-court-skill69662026年8月20日 更新

查看 internet-court 的全部技能

报告此技能的问题