← 返回 Skills 市场
gaixianggeng

gate-info-trendanalysis

作者 gaixg · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gate-info-trend-analysis-staging
功能描述
Trend and technical analysis. Use this skill ONLY when the user's query is exclusively about technical indicators or trend analysis for one coin with no othe...
使用说明 (SKILL.md)

gate-info-trendanalysis

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 ../gate-runtime-rules.md → Also read ../info-news-runtime-rules.md for gate-info / gate-news shared rules (tool degradation, report standards, security, routing, and optional local maintenance when scripts/ is present).

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

A technicals-focused Skill. The user inputs a coin name + technical analysis intent; the system calls 4 Tools (K-line data, indicator history, multi-timeframe signals, real-time market snapshot) in parallel, then the LLM aggregates into a multi-dimensional technical analysis report.

Trigger Scenarios: User explicitly mentions technical analysis, K-line, indicators, trend, support/resistance, or similar keywords.

Local maintenance (optional, repository copy only):

  • If scripts/update-skill.* exists in the repository copy, check may compare the installed copy with the packaged skill source used by the current install.
  • Ask the user before apply.
  • apply updates files within this skill directory only.

MCP Dependencies

Required MCP Servers

MCP Server Status
Gate-Info ✅ Required

MCP Tools Used

Query Operations (Read-only)

  • info_marketsnapshot_get_market_snapshot
  • info_markettrend_get_indicator_history
  • info_markettrend_get_kline
  • info_markettrend_get_technical_analysis

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
Technical analysis "technical analysis" "K-line" "RSI" "MACD" "Bollinger" "moving average" "support" "resistance" "trend" Execute this Skill's full workflow
Comprehensive analysis (incl. fundamentals) "analyze BTC for me" Route to gate-info-coinanalysis
Price only "what's BTC price" Call info_marketsnapshot_get_market_snapshot directly
Raw K-line data only "BTC 30-day K-line" Call info_markettrend_get_kline directly — no need for full Skill

Execution Workflow

Step 0: Multi-Dimension Intent Check

Before executing this Skill, check if the user's query involves multiple analysis dimensions:

  • If the query is exclusively about technical indicators or trend analysis for one coin, proceed with this Skill.
  • If the query also mentions fundamentals, risk, news, sentiment, or any other analysis dimension beyond technicals, route to gate-info-research — it handles multi-dimension queries with unified tool deduplication and coherent report aggregation.

Step 1: Intent Recognition & Parameter Extraction

Extract from user input:

  • symbol: Coin ticker (BTC, ETH, SOL, etc.)
  • timeframe: Analysis timeframe (e.g., "daily" → 1d, "4-hour" → 4h; default: 1d)
  • indicators: Specific indicators the user cares about (e.g., "RSI", "MACD"; default: all)
  • period: K-line lookback days (default: 90)

Step 2: Call 4 MCP Tools in Parallel

Step MCP Tool Parameters Retrieved Data Parallel
1a info_markettrend_get_kline symbol={symbol}, timeframe={timeframe}, limit=90 K-line OHLCV data (default 90 bars) Yes
1b info_markettrend_get_indicator_history symbol={symbol}, indicators=["rsi","macd","bollinger","ma"], timeframe={timeframe} Technical indicator history Yes
1c info_markettrend_get_technical_analysis symbol={symbol} Multi-timeframe composite signals (1h/4h/1d/1w) Yes
1d info_marketsnapshot_get_market_snapshot symbol={symbol}, timeframe="1d", source="spot" Real-time market snapshot (price, volume, OI, funding rate) Yes

All 4 Tools are called in parallel.

Step 3: LLM Analysis

The LLM performs technical analysis on the raw data, completing the following reasoning:

  1. Identify trend from candlestick patterns (uptrend / downtrend / sideways channel)
  2. Combine indicator history to assess current position (overbought / oversold / neutral)
  3. Evaluate multi-timeframe signal alignment or divergence
  4. Identify key support and resistance levels

Step 4: Output Structured Report


Report Template

## {symbol} Technical Analysis Report

> Analysis time: {timestamp} | Primary timeframe: {timeframe}

### 1. Current Market Snapshot

| Metric | Value |
|--------|-------|
| Price | ${price} |
| 24h Change | {change_24h}% |
| 24h Volume | ${volume_24h} |
| 24h High | ${high_24h} |
| 24h Low | ${low_24h} |
| Open Interest | ${oi} (if available) |
| Funding Rate | {funding_rate}% (if available) |

### 2. Trend Assessment

**Overall Trend**: {Uptrend / Downtrend / Sideways / Trend Reversal}

{Trend analysis based on candlestick patterns and MA alignment:}
- MA7 / MA25 / MA99 alignment: {Bullish / Bearish / Tangled}
- Recent candlestick patterns: {Bullish Engulfing / Doji / Hammer / etc.} (if notable)
- Volume confirmation: {Rising volume + price up (healthy) / Declining volume + price up (weak momentum) / Rising volume + price down (accelerated selling)}

### 3. Technical Indicator Details

#### RSI (14)
| Timeframe | Value | Status |
|-----------|-------|--------|
| 1h | {rsi_1h} | {Overbought/Oversold/Neutral} |
| 4h | {rsi_4h} | {Overbought/Oversold/Neutral} |
| 1d | {rsi_1d} | {Overbought/Oversold/Neutral} |

{RSI divergence analysis: any bullish/bearish divergence present?}

#### MACD
| Timeframe | DIF | DEA | Histogram | Status |
|-----------|-----|-----|-----------|--------|
| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |
| 4h | ... | ... | ... | ... |
| 1d | ... | ... | ... | ... |

#### Bollinger Bands (20, 2)
| Metric | Value |
|--------|-------|
| Upper Band | ${upper} |
| Middle Band | ${middle} |
| Lower Band | ${lower} |
| Bandwidth | {bandwidth}% |
| Current Position | {price relative to bands + percentile} |

{Narrowing bands → breakout imminent; price touching upper band → potential pullback to middle; touching lower band → potential bounce}

### 4. Key Price Levels

| Type | Price | Basis |
|------|-------|-------|
| Strong Resistance | ${resistance_1} | {Previous high / MA99 / Upper Bollinger / Round number} |
| Weak Resistance | ${resistance_2} | ... |
| Weak Support | ${support_1} | ... |
| Strong Support | ${support_2} | {Previous low / MA99 / Lower Bollinger / Volume profile cluster} |

### 5. Multi-Timeframe Signal Summary

| Timeframe | Composite Signal | Bullish Indicators | Bearish Indicators |
|-----------|-----------------|--------------------|--------------------|
| 1h | {Strong Buy/Buy/Neutral/Sell/Strong Sell} | {count} | {count} |
| 4h | ... | ... | ... |
| 1d | ... | ... | ... |
| 1w | ... | ... | ... |

**Signal Consistency**: {Are multi-timeframe signals aligned? e.g., "Short-term bearish but medium/long-term bullish — divergence present"}

### 6. Overall Technical Assessment

{LLM generates a comprehensive assessment:}
- Current trend strength evaluation
- Short-term (1-3 day) likely direction
- Medium-term (1-2 week) likely direction
- Key observation: a break above ${resistance_1} opens upside; a break below ${support_2} signals trend weakening

### Risk Warnings

{Data-driven risk alerts}

> Technical analysis is based on historical data and cannot predict future price movements. This does not constitute investment advice.

Decision Logic

Condition Assessment
RSI > 70 (multi-timeframe consistent) "Multi-timeframe RSI overbought — high pullback probability"
RSI \x3C 30 (multi-timeframe consistent) "Multi-timeframe RSI oversold — high bounce probability"
MACD daily golden cross + 4h golden cross "MACD multi-timeframe golden cross confirmed — bullish signal"
MACD daily death cross + 4h death cross "MACD multi-timeframe death cross confirmed — bearish signal"
Bollinger bandwidth \x3C 5% "Extreme Bollinger squeeze — breakout imminent"
Price breaks above upper Bollinger "Short-term overextended — potential pullback to middle band"
MA7 > MA25 > MA99 "Bullish MA alignment"
MA7 \x3C MA25 \x3C MA99 "Bearish MA alignment"
3 consecutive days of rising volume + price up "Rising volume rally — healthy trend"
Declining volume + price up "Low-volume rally — watch for weakening momentum"
Short-term vs medium/long-term signals diverge Flag "Bull/bear divergence — awaiting directional resolution"
funding_rate > 0.1% "Extreme long crowding in futures — risk of long squeeze"
Any Tool returns empty/error Skip that indicator analysis; note "Data unavailable"

Error Handling

Error Type Handling
Coin does not exist Prompt user to verify the coin name
info_markettrend_get_kline insufficient data Reduce lookback period or switch to larger timeframe; note limited data
info_markettrend_get_technical_analysis fails Derive signals from K-line and indicator history manually; label "Composite signal manually derived"
info_markettrend_get_indicator_history partial indicators missing Display available indicators; note missing ones as "temporarily unavailable"
All Tools fail Return error message; suggest the user try again later

Cross-Skill Routing

User Follow-up Intent Route To
"What about fundamentals?" / "Full analysis" gate-info-coinanalysis
"Why is it pumping/dumping?" gate-news-eventexplain
"On-chain chip analysis" gate-info-tokenonchain
"Compare XX and YY" gate-info-coincompare
"Recent news?" gate-news-briefing

Safety Rules

  1. No trading advice: Do not output "recommend going long/short" or "buy at XX"
  2. No specific price predictions: Do not output "will rise to XX tomorrow" or "target price XX"
  3. Acknowledge limitations: Clearly state that technical analysis is based on historical data and may fail
  4. Data transparency: Label K-line data range and indicator parameter settings
  5. Flag missing data: When indicators are unavailable, explicitly state it — never fabricate values
安全使用建议
What to check before installing: - Functionality: This is instruction-only and read-only — it calls Gate Info MCP tools to fetch market data and assembles a technical analysis report; it does not trade or require secrets. - Provenance: Registry metadata shows Source: unknown and no homepage, while README references Gate's GitHub and Gate.com. If you care about provenance, confirm the publisher/owner and that the README/repo link are authentic before installing. - Runtime rules: The skill instructs the agent to read shared runtime rule files (../gate-runtime-rules.md and ../info-news-runtime-rules.md) and optionally local update scripts in a repository copy. Ensure those shared files and any local scripts in your environment are trusted and reviewed because the agent may consult them at runtime. - Operational requirement: The skill requires the Gate-Info MCP server to be available to function. If your environment does not expose that MCP server, the skill will fail gracefully but should not leak credentials (none are requested). - If unsure: run the skill in a restricted/sandboxed agent, or request the publisher’s canonical repository link and verify owner identity before enabling it in production.
功能分析
Type: OpenClaw Skill Name: gate-info-trend-analysis-staging Version: 1.0.0 The skill is a technical analysis tool for cryptocurrency market data using read-only MCP tools (e.g., info_markettrend_get_kline). It includes clear safety guidelines, such as prohibiting financial advice and requiring user confirmation for maintenance tasks. While it references external runtime rules and update scripts (not included in the bundle), the documented behavior and instructions are consistent with its stated purpose and lack any signs of malicious intent or data exfiltration.
能力标签
crypto
能力评估
Purpose & Capability
The skill's name, README, and SKILL.md all describe single-coin technical/trend analysis and list exactly four read-only MCP tools required for that purpose. No credentials, binaries, or config paths are requested, which is proportional to a read-only analysis skill. One minor mismatch: registry metadata lists Source: unknown / no homepage while README claims a Gate GitHub repo and Gate.com publisher — this is a provenance inconsistency to verify.
Instruction Scope
SKILL.md confines behavior to fetching K-line, indicator history, technical snapshots, and a market snapshot and assembling a report. It instructs the agent to read shared runtime rule files (../gate-runtime-rules.md and ../info-news-runtime-rules.md) and to follow local maintenance scripts if present; reading those shared rules is expected for Gate skills but means the agent may consult files outside the skill directory at runtime — verify those shared rule files come from a trusted source in your installation.
Install Mechanism
No install spec and no code files (instruction-only). This is the lowest-risk install model: nothing is written to disk by the skill itself and no external archives or package downloads are requested.
Credentials
The skill requires no environment variables, no credentials, and declares read-only MCP access with 'API Key Required: No'. This is proportionate to the described read-only analysis function.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or write to other skills' configs. It may be invoked autonomously by the agent when eligible (platform default) but does not escalate privileges itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-info-trend-analysis-staging
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-info-trend-analysis-staging 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gate-info-trendanalysis — a dedicated Trend and Technical Analysis skill. - Provides structured technical analysis reports based on user queries about a single coin's price trends or indicators. - Triggers only for technical-analysis-focused queries; routes broader/multi-dimensional queries to gate-info-research. - Aggregates data from 4 MCP tools: K-line, indicator history, multi-timeframe signals, and market snapshot. - Includes detailed intent checks, parameter extraction, and parallel tool execution. - Outputs a comprehensive report covering trend, indicators (RSI, MACD, Bollinger), support/resistance, and multi-timeframe signals.
元数据
Slug gate-info-trend-analysis-staging
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

gate-info-trendanalysis 是什么?

Trend and technical analysis. Use this skill ONLY when the user's query is exclusively about technical indicators or trend analysis for one coin with no othe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 gate-info-trendanalysis?

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

gate-info-trendanalysis 是免费的吗?

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

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

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

谁开发了 gate-info-trendanalysis?

由 gaixg(@gaixianggeng)开发并维护,当前版本 v1.0.0。

💬 留言讨论