Gate Exchange market analysis tool. Use when the user asks for deep market metrics like liquidity, slippage, funding arbitrage, or manipulation risk. Triggers on 'liquidity', 'depth', 'slippage', 'momentum', 'buy/sell pressure', 'squeeze', 'funding rate', 'arbitrage', 'basis', 'premium'.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Skill metadata
Parsed from SKILL.md frontmatter.
Declared agentsclawdbot
More metadata
openclaw
{"emoji":"💱","os":["darwin","linux"],"primaryEnv":"GATE_API_KEY","requires":{"bins":["gate-cli"],"env":["GATE_API_KEY","GATE_API_SECRET"]},"install":{"0":"kind: download","os":["darwin"],"url":"https:\/\/github.com\/gate\/gate-cli\/releases\/download\/v0.6.2\/gate-cli_0.6.2_darwin_arm64.tar.gz","bins":["gate-cli"],"targetDir":"bin","label":"Download gate-cli (macOS Apple Silicon)","1":"kind: download","2":"kind: download","3":"kind: download"}}
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md14,032 B
docsSUMMARY.md324 B
History
First seen on skills.sh
First recorded snapshot · 1 installs
SKILL.md
Resolving gate-cli (binary path)
Resolve gate-cli in order: (1)command -v gate-cli and gate-cli --version succeeds; (2)${HOME}/.local/bin/gate-cli if executable; (3)${HOME}/.openclaw/skills/bin/gate-cli if executable. Canonical rules: exchange-runtime-rules.md §4 (or gate-runtime-rules.md §4).
gate-exchange-marketanalysis
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
Only use the gate-cli commands explicitly listed in this skill. Commands not documented here must NOT be run for these workflows, even if other interfaces expose them.
Market tape analysis covering thirteen scenarios, such as liquidity, momentum, liquidation monitoring, funding arbitrage, basis monitoring, manipulation risk, order book explanation, slippage simulation, K-line breakout/support–resistance, and liquidity with weekend vs weekday. This skill provides structured market insights by orchestrating Gate MCP tools; call order and judgment logic are defined in references/scenarios.md.
Skill Dependencies
Authentication
Interactive file setup: when GATEAPIKEY and GATEAPISECRET are not both set on the host, run gate-cli config init to complete the wizard for API key, secret, profiles, and defaults (see gate-cli).
Env / flags:gate-cli config init is not required when credentials are already supplied — e.g. bothGATEAPIKEY and GATEAPISECRET set on the host, or --api-key / --api-secret where supported — never ask the user to paste secrets into chat.
API Key Required: Not necessarily
Note: This skill is read-only and primarily uses public market-data surfaces. In many runtimes these calls work without authentication, though some deployments may still route them through an authenticated MCP layer.
Installation Check
Required:gate-cli (run sh ./setup.sh from this skill directory if missing; optional GATECLISETUP_MODE=release).
Add $HOME/.openclaw/skills/bin to PATH if you invoke gate-cli by name (or the directory where [setup.sh](./setup.sh) installs it).
Credentials: When GATEAPIKEY and GATEAPISECRET are both set (non-empty) for the host, do not require gate-cli config init for gate-cli-backed auth. When both are unset or empty and the deployment still expects keys, remind the operator to run gate-cli config initor to configure GATEAPIKEY / GATEAPISECRET in the matching skill from the skill library (never ask the user to paste secrets into chat).
Sanity check: Confirm the CLI works (e.g. gate-cli --version or a read-only gate-cli cex ... market call from this skill) before depending on deeper tool chains.
Execution mode
Read and strictly follow [references/gate-cli.md](./references/gate-cli.md), then execute this skill's market analysis workflow.
SKILL.md keeps intent routing, scenario mapping, and output semantics.
references/gate-cli.md is the authoritative gate-cli execution contract for tool sequencing, parameter checks, and degradation rules.
technical analysis, what to do with BTC, long or short, trading advice, current level
Read Case 11 (spot + futures, short & long timeframes)
Multi-asset buy & allocation
watchlist, want to buy, analyze several coins, investment advice, how to allocate budget
Read Case 12
Portfolio allocation review
portfolio, allocation, is my allocation reasonable, how to adjust, what else to buy
Read Case 13
Execution
Match user intent to the routing table above and determine case (1–13) and market type (spot/futures).
Read the corresponding case in references/scenarios.md for MCP call order and required fields.
Case 8 only: If the user did not specify a currency pair or did not specify a quote amount (e.g. $10K), do not assume defaults — prompt the user to provide the missing input(s); see Scenario 8.3 in references/scenarios.md.
Call Gate MCP in the exact order defined for that case.
Apply judgment logic from scenarios (thresholds, flags, ratings).
Output the report using that case’s Report Template.
Suggest related actions (e.g. “For basis, ask ‘What is the basis for XXX?’”).
Domain Knowledge (short)
Spot vs futures: Keywords “perpetual”, “contract”, “future”, “perp” → use futures MCP APIs; “spot” or unspecified → spot.
Basis (Case 5): Current basis vs history; basis widening/narrowing for sentiment.
Manipulation (Case 6): Top-10 depth total / 24h volume < 0.5% → thin depth; consecutive same-direction large orders → possible manipulation. Use spot by default; use futures when user says perpetual/contract.
Order book (Case 7): Show bids/asks example, explain spread with last price, depth and volatility.
Slippage simulation (Case 8):Requires both a currency pair and a quote amount (e.g. ETH_USDT, $10K). If user does not specify either, prompt them — do not assume defaults (e.g. do not default to $10K). Spot: gate-cli cex spot market orderbook → gate-cli cex spot market tickers. Futures: gate-cli cex futures market contract → gate-cli cex futures market orderbook → gate-cli cex futures market tickers. Simulate market buy by walking ask ladder; slippage = volume-weighted avg price − ask1 (points and %).
K-line breakout / support–resistance (Case 9): Trigger: e.g. “breakout, support, resistance”, “K-line”, “does X show signs of breaking out?”. Spot: gate-cli cex spot market candlesticks → gate-cli cex spot market tickers. Futures: gate-cli cex futures market candlesticks → gate-cli cex futures market tickers. Use candlesticks for support/resistance levels; use tickers for 24h price, volume, change (momentum).
Liquidity + weekend vs weekday (Case 10): Trigger: e.g. “liquidity”, “weekend vs weekday”, “compare weekend and weekday”. Spot: gate-cli cex spot market orderbook → gate-cli cex spot market candlesticks → gate-cli cex spot market tickers. Futures: gate-cli cex futures market contract → gate-cli cex futures market orderbook → gate-cli cex futures market candlesticks → gate-cli cex futures market tickers. Order book for current depth; 90d candlesticks to split weekend vs weekday volume and return; compare and summarize.
Technical analysis / what to do (Case 11): Trigger: e.g. "technical analysis, what should I do with BTC", "long or short at current level". Spot: gate-cli cex spot market candlesticks → gate-cli cex spot market tickers. Futures: gate-cli cex futures market candlesticks → gate-cli cex futures market tickers → gate-cli cex futures market funding-rate. Use history for support/resistance; compare current price and 24h volume to past for momentum; funding rate for long/short bias; give separate short- and long-term advice.
Multi-asset buy & allocation (Case 12): Trigger: e.g. "I'm watching BTC, ETH, GT and want to buy; analyze and give allocation for $5000". Per asset: gate-cli cex spot market candlesticks → gate-cli cex spot market tickers → gate-cli cex spot market orderbook; futures: gate-cli cex futures market candlesticks → gate-cli cex futures market tickers → gate-cli cex futures market orderbook → gate-cli cex futures market funding-rate. Spot ticker + order book + 7d daily; add funding for futures; output allocation % and rationale.
Portfolio allocation review (Case 13): Trigger: e.g. "I hold 30% BTC, 30% ETH, 20% DOGE, 15% LTC, 5% USDT; is this allocation reasonable, how to adjust, what else to buy?". Same MCP order as Case 12 (per-asset spot candlesticks + tickers + orderbook; futures + fundingrate). Assess allocation, suggest adjustments, or suggest what else to buy if no change.
Important Notes
All analysis is read-only — no trading operations are performed.
Gate MCP must be configured (use gate-mcp-installer skill if needed).
MCP call order and output format are in references/scenarios.md; follow them for consistent behavior.
Always include a disclaimer: analysis is data-based, not investment advice.