gate-info-liveroomlocation

The live and replay listing function of Gate Exchange. Use this skill whenever the user asks to find live streams or replays by business type (tag), coin, sort (hottest/newest), or count. Trigger phrases include "最热直播", "live room list", "行情分析直播间", "给我5个SOL相关直播", "latest replays", "tag coin live replay", or any request involving live room location, replay list, or tag/coin/sort filter.

$ npx skills add https://github.com/gate/gate-skills --skill gate-info-liveroomlocation

Gate Info Liveroom Location — Live & Replay Listing

This skill returns a filtered list of live streams and replays on Gate Exchange. Each item is title + link. Parameters (tag, coin, sort, limit) are inferred from natural language; use defaults when not specified and do not ask the user for missing params.

Workflow

When the user asks about live rooms or replays (by business type, coin, hottest/newest, or count), execute the following steps.

Step 1: Parse intent and map parameters

From natural language, extract and map to API parameters:

  • tag: Market Analysis | Hot Topics | Blockchain | Others | empty (all). Default: empty.
  • coin: Coin symbol (e.g. BTC, SOL) or empty (all). Default: empty.
  • sort: hot (hottest) | new (newest). Default: hot.
  • limit: Integer 1–10. Default: 10.

Key mapping rules:

User phrase (examples)ParamValue
行情分析, 市场分析, Market AnalysistagMarket Analysis
热门话题, Hot TopicstagHot Topics
区块链, BlockchaintagBlockchain
其他, OtherstagOthers
Not mentionedtagempty
Bitcoin, BTC, SOL, ETH, 比特币coinBTC, SOL, etc.
Not mentionedcoinempty
最热, 热门, 按热度, hottestsorthot
最新, 最近, newestsortnew
Not mentionedsorthot
前5条, 给我3个, 10个limit5, 3, 10
Not mentionedlimit10

Do not ask the user "how many?" or "which coin?" when they did not specify; apply defaults.

Step 2: Call the API

Call GET /live/gate_ai/tag_coin_live_replay with query parameters:

  • tag: string (optional)
  • coin: string (optional)
  • sort: hot | new (optional, default hot)
  • limit: integer (optional, default 10, max 10)

Key data to extract from response:

  • data.list: array of items, each with content_type ("streaming" or "video"), and either live (with id, name) or video (with id, title).

Pre-filter: If the user is in a restricted region (US, Canada, Japan, or other Gate-restricted regions), do not call the API; reply that the feature is not available in their region.

Step 3: Build list output

For each item in data.list:

  • Title: live.name when content_type === "streaming", else video.title when content_type === "video".
  • Link:
    • content_type === "streaming": https://www.gate.io/live/video/{live.id}?type=live
    • content_type === "video": https://www.gate.io/live/video/{video.id}

Output a list of lines: each line = title + link. Optionally label "Live" or "Replay". Do not add extra fields (e.g. likes, duration) unless required by product.

Judgment Logic Summary

ConditionSignalMeaning
User in restricted regionBlockDo not call API; reply that the feature is not available in their region
tag / coin / sort / limit not mentionedUse defaulttag=empty, coin=empty, sort=hot, limit=10
content_type === "streaming"LiveUse live.name; link with ?type=live
content_type === "video"ReplayUse video.title; link without type
Empty list or API errorNo listReply with a short message; do not fabricate a list

Report Template

  • List format: One line per item: [Live/Replay] Title — <link>.
  • Disclaimer (if needed): Gate live and replay content is provided by creators; it does not constitute investment or viewing advice; the platform only provides display and filtering.

Single API only

Use only GET /live/gate_ai/tag_coin_live_replay. Do not combine or mention other live or video APIs.