市场数据

TermiX-official2026-10-25查看 395复制 1220

获取加密货币价格、市值、图表和热门代币。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md1451 chars
---
name: market-data
description: Fetch cryptocurrency prices, market caps, charts, and trending tokens.
metadata: { "cryptoclaw": { "emoji": "📊", "always": true } }
---

# Market Data Skill

Fetch cryptocurrency prices, market caps, charts, and trending tokens.

## Overview

Provide real-time and historical market data for cryptocurrencies using public APIs (CoinGecko free tier).

## Capabilities

- **Price lookup**: Current price of any token in USD/BTC/ETH
- **Market overview**: Top tokens by market cap, 24h volume, gainers/losers
- **Trending tokens**: Currently trending on CoinGecko
- **Price history**: Historical price data for charting
- **Token search**: Find tokens by name or symbol

## Data Sources

- CoinGecko API (free, no key required for basic queries)
- On-chain price from DEX pools via `read_contract` when needed

## Example Interactions

User: "What's the price of ETH?"
Action: Query CoinGecko for ethereum price, report USD value and 24h change

User: "Show me trending tokens"
Action: Query CoinGecko trending endpoint, list top 10 with prices

User: "How has BNB performed this week?"
Action: Query 7-day price history, summarize with high/low/change

## Notes

- Rate limits: CoinGecko free tier allows ~30 calls/minute
- For on-chain token prices, use DEX router contracts
- Always show the data source and timestamp
- For detailed CoinGecko API usage (endpoints, parameters, ID lookup), see the `coingecko` skill
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧