← 返回 Skills 市场
gate-exchange

gate-info-defianalysis

作者 Gate · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
133
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install gate-info-defianalysis
功能描述
DeFi ecosystem analysis via Gate-Info MCP. Use this skill whenever the user wants TVL rankings, protocol metrics, yield/APY, stablecoins, bridges, exchange r...
使用说明 (SKILL.md)

gate-info-defianalysis

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. Do NOT select or call any tool until all rules are read. These rules have the highest priority. → Read ./references/gate-runtime-rules.md → Also read ./references/info-news-runtime-rules.md for gate-info / gate-news shared rules (tool degradation, report standards, security, and output standards).

  • Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they exist in the MCP server.

The DeFi Ecosystem Analysis Skill. Routes to different sub-scenarios based on user intent (overview / single platform / yield / stablecoins / bridges / reserves / liquidation), each calling one or more MCP tools.

Trigger Scenarios: User asks about DeFi protocols, TVL, yield rates, stablecoins, cross-chain bridges, exchange reserves, liquidation distribution, etc.


MCP Dependencies

Required MCP Servers

MCP Server Status
Gate-Info ✅ Required

MCP Tools Used

Query Operations (Read-only) — use by sub-scenario; do not call tools outside the active scenario.

  • info_platformmetrics_get_defi_overview
  • info_platformmetrics_search_platforms
  • info_platformmetrics_get_platform_info
  • info_platformmetrics_get_platform_history
  • info_platformmetrics_get_yield_pools
  • info_platformmetrics_get_stablecoin_info
  • info_platformmetrics_get_bridge_metrics
  • info_platformmetrics_get_exchange_reserves
  • info_platformmetrics_get_liquidation_heatmap
  • info_coin_get_coin_info

Authentication

  • API Key Required: No
  • Credentials Source: None; this skill uses read-only Gate Info / Gate News MCP access only.

Installation Check

  • Required: Gate-Info
  • Install: Use the local Gate MCP installation flow for the current host IDE before continuing.
  • Continue only after the required Gate MCP server is available in the current environment.

Routing Rules

User Intent Keywords Action
DeFi overview / TVL ranking "DeFi overview" "TVL ranking" "top DeFi protocols" Execute Sub-scenario A: Overview
Single platform deep-dive "Uniswap TVL" "Aave metrics" "Compound info" Execute Sub-scenario B: Platform Detail
Yield / APY query "best yield" "USDC APY" "lending rates" "where to earn" Execute Sub-scenario C: Yield Pools
Stablecoin analysis "USDT market cap" "stablecoin ranking" "USDC circulation" Execute Sub-scenario D: Stablecoins
Cross-chain bridge "bridge volume" "top bridges" "cross-chain TVL" Execute Sub-scenario E: Bridges
Exchange reserves "Binance BTC reserves" "exchange reserves" "proof of reserves" Execute Sub-scenario F: Exchange Reserves
Liquidation analysis "BTC liquidation heatmap" "where are liquidations" "liquidation density" Execute Sub-scenario G: Liquidation Heatmap
Coin fundamentals (no DeFi focus) "analyze SOL" "how is BTC" Route to gate-info-coinanalysis
Market overview "how's the market" Route to gate-info-marketoverview

Execution Workflow

Step 0: Multi-Dimension Intent Check

  • If the query is about DeFi/platform metrics, proceed with this Skill.
  • If the query also involves coin fundamentals, technicals, or news beyond DeFi scope, route to gate-info-research (if available).

Step 1: Intent Recognition & Parameter Extraction

Extract from user input:

  • platform_name (optional): Protocol name (e.g., Uniswap, Aave, Lido)
  • symbol (optional): Token/stablecoin symbol (e.g., USDC, USDT, ETH)
  • chain (optional): Blockchain filter (e.g., Ethereum, Arbitrum)
  • exchange (optional): Exchange name (e.g., Binance, OKX)

Step 2: Call MCP Tools by Sub-scenario

Sub-scenario A: DeFi Overview

Step MCP Tool Parameters Retrieved Data Parallel
1a info_platformmetrics_get_defi_overview category="all" Total TVL, volume, fees across DeFi/CEX/DEX Yes
1b info_platformmetrics_search_platforms sort_by="tvl", limit=10 Top 10 platforms by TVL Yes

Sub-scenario B: Platform Detail

Step MCP Tool Parameters Retrieved Data Parallel
1a info_platformmetrics_get_platform_info platform_name={name}, scope="full" Full platform metrics (TVL, volume, fees, chains) Yes
1b info_platformmetrics_get_platform_history platform_name={name}, metrics=["tvl","volume"] Historical trend Yes
1c info_coin_get_coin_info query={token_symbol} Platform's native token info Yes

Sub-scenario C: Yield Pools

Step MCP Tool Parameters Retrieved Data
1 info_platformmetrics_get_yield_pools project={name}, chain={chain}, symbol={symbol}, sort_by="apy", limit=20 Yield pool rankings with APY, TVL

Sub-scenario D: Stablecoins

Step MCP Tool Parameters Retrieved Data
1 info_platformmetrics_get_stablecoin_info symbol={symbol}, chain={chain}, limit=10 Stablecoin ranking or single coin detail with chain distribution

Sub-scenario E: Bridges

Step MCP Tool Parameters Retrieved Data
1 info_platformmetrics_get_bridge_metrics bridge_name={name}, chain={chain} Bridge ranking or single bridge chain breakdown

Sub-scenario F: Exchange Reserves

Step MCP Tool Parameters Retrieved Data
1 info_platformmetrics_get_exchange_reserves exchange={exchange}, asset={asset} Exchange on-chain reserves (BTC, ETH, etc.)

Sub-scenario G: Liquidation Heatmap

Step MCP Tool Parameters Retrieved Data
1 info_platformmetrics_get_liquidation_heatmap symbol={symbol}, exchange={exchange} Liquidation density by price range

Step 3: LLM Aggregation

Generate sub-scenario-specific analysis. For overview, provide market context; for detail, provide competitive positioning; for yield, highlight risk/reward.

Step 4: Progressive Loading (Bridges & Stablecoins)

For Bridges and Stablecoins, use a list-first, detail-on-demand pattern:

  1. First call (no bridge_name / narrow symbol): ranking list — summary without full chain breakdown.
  2. Second call (user follow-up): specific bridge_name or symbol — full chain-level details.

Report Template

Template A: DeFi Overview

## DeFi Ecosystem Overview

> Generated: {timestamp}

### Market Summary

| Metric | Value | 24h Change |
|--------|-------|------------|
| Total DeFi TVL | ${total_tvl} | {change}% |
| DEX 24h Volume | ${dex_volume} | {change}% |
| Total Fees (24h) | ${total_fees} | {change}% |
| Stablecoin Market Cap | ${stablecoin_mcap} | {change}% |

### Top 10 Protocols by TVL

| Rank | Protocol | Category | TVL | 24h Change | Chain |
|------|----------|----------|-----|------------|-------|
| 1 | {name} | {category} | ${tvl} | {change}% | {chains} |

### Analysis

{LLM assessment: DeFi market trend, capital flows, notable shifts}

> Data sourced from Gate Info MCP. Does not constitute investment advice.

Template B: Platform Detail

## {platform_name} Deep Dive

> Generated: {timestamp}

### Key Metrics

| Metric | Value | Rank |
|--------|-------|------|
| TVL | ${tvl} | #{rank} |
| 24h Volume | ${volume} | — |
| 24h Fees | ${fees} | — |

### TVL Trend

{Describe trend from historical data}

### Token Info ({symbol})

| Metric | Value |
|--------|-------|
| Price | ${price} |
| Market Cap | ${market_cap} |
| FDV | ${fdv} |

### Analysis

{LLM competitive analysis}

> Data sourced from Gate Info MCP. Does not constitute investment advice.

Templates C–G (Yield / Stablecoin / Bridge / Reserve / Liquidation)

  • Summary metrics at top
  • Ranked table of data
  • 2–3 sentence LLM analysis
  • Standard disclaimer

Decision Logic

Condition Assessment / next step
Generic DeFi market, TVL leaderboard, or “top protocols” Sub-scenario A (Overview)
User names a specific protocol (Uniswap, Aave, ...) Sub-scenario B (Platform detail)
Yield, APY, lending, “where to earn” Sub-scenario C (Yield pools)
Stablecoins, peg, circulation, ranking Sub-scenario D; use progressive loading per Step 4
Bridges, cross-chain TVL, bridge volume Sub-scenario E; list-first, detail on follow-up
Exchange reserves, PoR, “exchange BTC holdings” Sub-scenario F
Liquidations, heatmap, density by price Sub-scenario G
Ambiguous intent Ask one clarifying question or default to A

Error Handling

Error Type Handling
Platform name not found Suggest similar platform names; ask user to verify
Single Tool fails Skip that section; note "Data temporarily unavailable"
All Tools fail Return error; suggest user try again later
No yield pools match criteria Broaden search (remove chain/symbol filter); inform user
Exchange not supported List supported exchanges; ask user to choose another
Symbol not recognized Try matching via info_coin_get_coin_info; ask user if unclear

Cross-Skill Routing

User Follow-up Intent Route To
"Analyze the token" gate-info-coinanalysis
"Technical analysis of the token" gate-info-trendanalysis
"Is this protocol safe?" gate-info-riskcheck
"On-chain data for the token" gate-info-tokenonchain
"Any news about this protocol?" gate-news-briefing
"How does macro affect DeFi?" gate-info-macroimpact
"How's the market overall?" gate-info-marketoverview

Safety Rules

  1. No yield guarantees: APY/yield data is historical and subject to change; state clearly that past rates do not guarantee future returns.
  2. Smart contract risk: When showing yield pools or protocols, note that DeFi carries smart contract risk.
  3. No endorsement: Listing a protocol does not constitute an endorsement; maintain neutrality.
  4. Reserve disclaimers: Exchange reserve data is on-chain observable but may not reflect total assets.
  5. Liquidation data: Liquidation heatmaps show estimated levels, not guaranteed triggers.
  6. Data transparency: Label data source, update frequency, and known limitations.
  7. Age & eligibility: Intended for users aged 18 or above with full civil capacity in their jurisdiction.
  8. Data flow: The host agent processes user prompts; this skill directs read-only Gate-Info MCP tools listed above. The LLM formats answers from tool results. Aside from those MCP calls and the documented skill-update flow (GitHub URLs in General Rules and info-news-runtime-rules.md), this skill does not invoke additional third-party data services.
安全使用建议
This skill appears coherent and read-only: it only calls Gate-Info MCP read endpoints and asks for no secrets. Before installing, confirm you have access to the Gate MCP server it depends on and that you trust the MCP endpoint (network access to the MCP is required). Note the skill's source/homepage is unspecified—if provenance matters, ask the publisher for more information or run it in a restricted environment. If you plan to run this in an environment that should not access external networks, ensure the MCP dependency is satisfied locally or decline installation.
功能分析
Type: OpenClaw Skill Name: gate-info-defianalysis Version: 1.0.2 The skill bundle 'gate-info-defianalysis' is a legitimate set of instructions for an AI agent to perform DeFi ecosystem analysis using the Gate-Info MCP server. It defines clear workflows for retrieving TVL rankings, yield metrics, and exchange reserves, and includes appropriate safety disclaimers and error handling in SKILL.md and its referenced runtime rules. No evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力标签
crypto
能力评估
Purpose & Capability
Name and description (DeFi ecosystem analysis) align with the declared MCP tools (platform metrics, yield pools, stablecoins, bridges, exchange reserves, liquidation heatmaps, and coin info). No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md restricts actions to the listed MCP tools and included runtime rules, instructs the agent to confirm MCP availability, and explicitly forbids calling undocumented tools or exfiltrating secrets. The included references only contain guardrails and output standards. There are no instructions to read arbitrary system files, environment variables, or to transmit data to endpoints outside the documented MCP.
Install Mechanism
This is an instruction-only skill with no install spec and no code files; nothing in the bundle writes files or downloads external code. The only install-related note is a direction to use the local Gate MCP installation flow for the host environment, which is reasonable given the MCP dependency.
Credentials
No environment variables, credentials, or config paths are required. The skill explicitly declares it is read-only and requires no API key. The requested access is proportionate to the described functionality.
Persistence & Privilege
The skill does not request or claim always:true, does not modify other skills, and does not ask to persist credentials. Autonomous invocation is allowed (platform default) but is not accompanied by elevated privileges or broad access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-info-defianalysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-info-defianalysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Significant cleanup of repository: removed obsolete CHANGELOG.md, README.md, scenario, and script files. - Migrated shared runtime rules to local references; now requires reading `references/gate-runtime-rules.md` and `references/info-news-runtime-rules.md`. - Updated installation and MCP server check instructions for clarity and local context. - Streamlined documentation to focus on active sub-scenarios, valid MCP tools, and core routing logic. - Enhanced progressive loading instructions and clarified the workflow for Bridges and Stablecoins. - No changes to supported features or user-facing toolset.
v1.0.1
- Updated maintenance and update-check procedures to simplify and clarify instructions for interactive and non-interactive sessions. - Added explicit MCP dependencies and a table of all used MCP tools for easier integration and audit. - Supplemented documentation with required authentication, environment variables, and permissions (now all explicitly marked as unused/read-only). - Routing rules and scenario breakdowns are reformatted and clarified for faster reference and user intent mapping. - Removed lengthy shell-script maintenance walkthrough and replaced it with a clear, concise maintenance flow section. - No changes to the logic, methods, or tool coverage; this update is documentation/metadata only.
v1.0.0
- Initial release of the gate-info-defianalysis skill for DeFi ecosystem analysis via Gate-Info MCP. - Supports queries for TVL rankings, protocol metrics, yield/APY, stablecoins, bridges, exchange reserves, and liquidation heatmaps. - Automatically routes coin-only fundamental questions to the separate gate-info-coinanalysis skill. - Includes detailed instructions for version update checks and user confirmation before applying updates. - Provides clear trigger phrases and scenario-based tool routing for accurate DeFi data responses.
元数据
Slug gate-info-defianalysis
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

gate-info-defianalysis 是什么?

DeFi ecosystem analysis via Gate-Info MCP. Use this skill whenever the user wants TVL rankings, protocol metrics, yield/APY, stablecoins, bridges, exchange r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 133 次。

如何安装 gate-info-defianalysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gate-info-defianalysis」即可一键安装,无需额外配置。

gate-info-defianalysis 是免费的吗?

是的,gate-info-defianalysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

gate-info-defianalysis 支持哪些平台?

gate-info-defianalysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 gate-info-defianalysis?

由 Gate(@gate-exchange)开发并维护,当前版本 v1.0.2。

💬 留言讨论