gate-info-macroimpact
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesegate-info-macroimpact
gate-info-macroimpact
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-specific rules (tool degradation, report standards, security, routing degradation, per-skill version checks when is present, and legacy wrapper routing).
scripts/- 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.
- Legacy / routing mode: when Step 0 emits , use only the MCP tools listed in this file. When Step 0 emits
__FALLBACK__, do not call those MCP tools; delegate to the mapped primary skill per Step 0.__ROUTE_CLI__
The Macro-Economic Impact Analysis Skill. When the user asks about the impact of macro data/events on the crypto market, the system calls MCP tools in parallel to fetch economic calendar, macro indicators (or summary), related news, and correlated coin market data, then the LLM produces a structured correlation analysis report.
Trigger Scenarios: User mentions macroeconomic events/indicators and crypto market impact, e.g., "how does non-farm payroll affect BTC", "any macro data today", "Fed meeting impact on the market", "has CPI been released".
Per-skill updates: This directory includes and may include . ClawHub packages uploaded to the marketplace often omit (upload-page restriction); GitHub / Bitbucket source trees keep both. Policy: info-news-runtime-rules.md §1. The Trigger update steps below apply in addition to gate-runtime-rules.md; when scripts are present, use this flow for version checks before execution.
scripts/update-skill.shscripts/update-skill.ps1update-skill.ps1Update check — user visibility: Technical failures during version check (missing script, sandbox, network, non-zero exit, no parseable line) must not be explained to the user; continue with Execution per info-news-runtime-rules.md. Only successful / outcomes may be summarized (including / strict exit 3, which is still a success path that requires user confirmation before ). Do not auto-download from the network. Static reference if is missing: canonical scripts live in gate/gate-skills under (same as frontmatter).
Result=checkapplyupdate_availableapplyupdate-skill.*.ps1skills/<name>/scripts/<name>⚠️ 停止操作 — 继续前必须阅读并严格遵守共享运行时规则。
在未阅读所有规则前,请勿选择或调用任何工具。这些规则具有最高优先级。
→ 阅读 gate-runtime-rules.md
→ 同时阅读 info-news-runtime-rules.md 中针对 gate-info / gate-news 的特定规则(工具降级、报告标准、安全、路由降级、存在时的逐Skill版本检查,以及遗留包装器路由)。
scripts/- 仅调用本Skill中明确列出的MCP工具。即使MCP服务器中存在未在此记录的工具,也不得调用。
- 遗留/路由模式:当步骤0输出时,仅使用本文件中列出的MCP工具。当步骤0输出
__FALLBACK__时,请勿调用这些MCP工具;根据步骤0的指示委托给映射的主Skill。__ROUTE_CLI__
宏观经济影响分析Skill。当用户询问宏观数据/事件对加密货币市场的影响时,系统会并行调用MCP工具获取经济日历、宏观指标(或摘要)、相关新闻以及关联币种的市场数据,随后由LLM生成结构化的关联分析报告。
触发场景:用户提及宏观经济事件/指标及其对加密货币市场的影响,例如“非农就业数据如何影响BTC”“今日有哪些宏观数据”“美联储会议对市场的影响”“CPI数据发布了吗”。
逐Skill更新:本目录包含,可能还包含。上传至市场的ClawHub包通常会省略(上传页面限制);GitHub / Bitbucket源码树会保留这两个文件。相关政策:info-news-runtime-rules.md §1。以下触发更新步骤需在gate-runtime-rules.md的基础上额外执行;当存在脚本时,需在执行前使用此流程进行版本检查。
scripts/update-skill.shscripts/update-skill.ps1update-skill.ps1更新检查 — 用户可见性:版本检查期间的技术故障(缺失脚本、沙箱问题、网络问题、非零退出码、无可解析的行)不得向用户解释;需根据info-news-runtime-rules.md继续执行。仅成功的/结果可向用户汇总(包括**** / 严格的退出码3,这仍属于需要用户确认后才能执行的成功路径)。请勿从网络自动下载。若缺失,静态参考:标准脚本位于gate/gate-skills的目录下(与前置元数据中的名称一致)。
Result=checkapplyupdate_availableapplyupdate-skill.*.ps1skills/<name>/scripts/<name>Step 0 — Wrapper routing probe
步骤0 — 包装器路由探测
This legacy skill is a compatibility alias for the primary CLI skill
.
gate-info-researchBefore Trigger update, MCP tool selection, or any legacy Execution Workflow,
run a deterministic shell probe:
bash
PRIMARY_SKILL="gate-info-research"
HAS_PRIMARY=0
for root in \
"$HOME/.cursor/skills" \
"$HOME/.codex/skills" \
"$HOME/.openclaw/skills" \
"$HOME/.agents/skills" \
"$HOME/.gemini/antigravity/skills"
do
if [ -f "$root/$PRIMARY_SKILL/SKILL.md" ]; then
HAS_PRIMARY=1
break
fi
done
if command -v gate-cli >/dev/null 2>&1 && [ "$HAS_PRIMARY" = "1" ]; then
echo "__ROUTE_CLI__"
else
echo "__FALLBACK__"
fiInterpretation:
- → stop here. Do not run Trigger update or the legacy MCP sections below. Follow
__ROUTE_CLI__and its playbook contract. Carry over the minimum context: macro topic plus optionalhttps://github.com/gate/gate-skills/blob/master/skills/gate-info-research/SKILL.md,symbol, orindicatorwhen the user supplied them.country - → continue with Trigger update and the legacy MCP workflow in this file.
__FALLBACK__
此遗留Skill是主CLI Skill 的兼容别名。
gate-info-research在触发更新、选择MCP工具或执行任何遗留工作流之前,运行确定性shell探测:
bash
PRIMARY_SKILL="gate-info-research"
HAS_PRIMARY=0
for root in \
"$HOME/.cursor/skills" \
"$HOME/.codex/skills" \
"$HOME/.openclaw/skills" \
"$HOME/.agents/skills" \
"$HOME/.gemini/antigravity/skills"
do
if [ -f "$root/$PRIMARY_SKILL/SKILL.md" ]; then
HAS_PRIMARY=1
break
fi
done
if command -v gate-cli >/dev/null 2>&1 && [ "$HAS_PRIMARY" = "1" ]; then
echo "__ROUTE_CLI__"
else
echo "__FALLBACK__"
fi结果解读:
- → 在此停止。请勿运行触发更新或以下遗留MCP部分。遵循
__ROUTE_CLI__及其剧本约定。仅传递必要上下文:宏观主题,以及用户提供的可选https://github.com/gate/gate-skills/blob/master/skills/gate-info-research/SKILL.md、symbol或indicator。country - → 继续执行触发更新和本文件中的遗留MCP工作流。
__FALLBACK__
Trigger update (with Execution)
触发更新(含执行)
Default (PD / blocking): On each trigger, run first without . The script only compares local vs remote; if , it does not overwrite files. STOP — ask the user whether to update before any , , or skill Execution. In sandboxes (e.g. Cursor), use full / all permissions when later running . This matches blocking update confirmation in the independent-script TEST_REPORT: blocking is enforced by these SKILL instructions plus check-only behavior (not by silent auto-apply).
checkGATE_SKILL_UPDATE_MODE=autoResult=update_availableapplyrunapplyStrict check (Agent / IDE — recommended on ): Use . When , exits 3 and prints — it stops only that shell step. Hard rule: after you ask the user, end this assistant turn; do not call , , or MCP in the same message. applies without a prior user step — do not use in chat for the blocking flow; use → user confirms → .
checkGATE_SKILL_CHECK_STRICT=1Result=update_availablecheckGATE_SKILL_CHECK_EXIT=3applyrunrunruncheckapply默认(产品开发/阻塞模式):每次触发时,先运行**,且不设置**。脚本仅对比本地与远程版本;若返回,则不会覆盖文件。停止操作 — 在执行任何**、或Skill执行前,询问用户是否更新。在沙箱环境(如Cursor)中,后续运行时需使用完全/所有权限**。这与独立脚本TEST_REPORT中的阻塞更新确认一致:阻塞由这些SKILL指令加上仅检查行为强制执行(而非静默自动应用)。
checkGATE_SKILL_UPDATE_MODE=autoResult=update_availableapplyrunapply严格检查(Agent/IDE — 推荐在时使用):设置**。当返回时,会以退出码3终止,并打印** — 仅终止该shell步骤。硬性规则:询问用户后,结束本次助手对话轮次;请勿在同一条消息中调用**、或MCP工具。无需用户前置步骤即可应用 — 在阻塞流程的聊天场景中请勿使用;请使用 → 用户确认 → **流程。
checkGATE_SKILL_CHECK_STRICT=1Result=update_availablecheckGATE_SKILL_CHECK_EXIT=3applyrunrunruncheckapplyStep 1 — Check
步骤1 — 检查
Install root: / read . Typical : , , , , . Single-arg: the script resolves in that order when exists; otherwise is . Workspace-only trees need two-arg / with explicit .
checkapply$DEST/SKILL.md$SKILL_ROOT$HOME/.cursor/skills/<name>/$HOME/.codex/skills/<name>/$HOME/.openclaw/skills/<name>/$HOME/.agents/skills/<name>/$HOME/.gemini/antigravity/skills/<name>/DESTSKILL.mdDESTscripts/../checkapplyDESTAgent selection rules (run at most one of the fenced examples below; choose by OS and files under ):
$SKILL_ROOT/scripts/- macOS / Linux / WSL / Git Bash: If exists → use only the Bash example.
update-skill.sh - Windows (native PowerShell): If exists → use only the PowerShell example.
update-skill.ps1 - Windows without (typical ClawHub install): If only
.ps1exists → try WSL or Git Bash (update-skill.sh) using the same command shape as the Bash example. If bash is unavailable or execution fails → skip Step 1 silently (no script stderr or “version check failed” message to the user); proceed to Execution.bash - Neither script exists: Skip Step 1 silently; proceed to Execution. Do not invent or run
GATE_SKILL_CONFIRM_TOKEN/apply.revoke-pending
Bash (blocking — no auto; example Cursor):
bash
GATE_SKILL_CHECK_STRICT=1 bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" check "gate-info-macroimpact"PowerShell:
powershell
$env:GATE_SKILL_CHECK_STRICT = '1'
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" check "gate-info-macroimpact"Result semantics: = no action. = remote newer; with blocking flow, do not apply until the user agrees. = could not compare — proceed with current version per info-news-runtime-rules.md; do not surface technical check failure details to the user.
skippedupdate_availablecheck_failedAgent parse (stdout): . → Step 2 before Execution. → no block from the check script.
GATE_SKILL_UPDATE_AGENT_ACTION=…BLOCK_UNTIL_USER_CONFIRMS_UPDATECONTINUE_SKILL_EXECUTION安装根目录:/会读取**。典型的:、、、、。单参数模式:当存在时,脚本会按上述顺序解析;否则为。仅工作区的目录需使用双参数/,并指定明确的**。
checkapply$DEST/SKILL.md$SKILL_ROOT$HOME/.cursor/skills/<name>/$HOME/.codex/skills/<name>/$HOME/.openclaw/skills/<name>/$HOME/.agents/skills/<name>/$HOME/.gemini/antigravity/skills/<name>/SKILL.mdDESTDESTscripts/../checkapplyDESTAgent选择规则(以下 fenced 示例最多运行一个;根据操作系统和下的文件选择):
$SKILL_ROOT/scripts/- macOS / Linux / WSL / Git Bash:若存在→ 仅使用Bash示例。
update-skill.sh - Windows(原生PowerShell):若存在→ 仅使用PowerShell示例。
update-skill.ps1 - Windows无文件(典型ClawHub安装):若仅存在
.ps1→ 尝试使用WSL或Git Bash(update-skill.sh)执行与Bash示例相同格式的命令。若bash不可用或执行失败 → 静默跳过步骤1(不向用户显示脚本错误信息或“版本检查失败”提示);继续执行后续流程。bash - 两种脚本都不存在:静默跳过步骤1;继续执行后续流程。请勿虚构或运行
GATE_SKILL_CONFIRM_TOKEN/apply。revoke-pending
Bash(阻塞模式 — 无自动更新;Cursor示例):
bash
GATE_SKILL_CHECK_STRICT=1 bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" check "gate-info-macroimpact"PowerShell:
powershell
$env:GATE_SKILL_CHECK_STRICT = '1'
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" check "gate-info-macroimpact"结果语义: = 无操作。 = 远程版本更新;在阻塞流程中,需用户同意后才能应用更新。 = 无法对比版本 — 根据info-news-runtime-rules.md使用当前版本继续执行;不得向用户透露技术检查失败的细节。
skippedupdate_availablecheck_failedAgent解析(标准输出):。 → 执行前需先完成步骤2。 → 检查脚本无阻塞,可继续执行。
GATE_SKILL_UPDATE_AGENT_ACTION=…BLOCK_UNTIL_USER_CONFIRMS_UPDATECONTINUE_SKILL_EXECUTIONStep 2 — Confirm or Reject (blocking)
步骤2 — 确认或拒绝(阻塞模式)
Runtime: Use the same shell family for Step 2 as for Step 1 (Bash vs PowerShell). If Step 1 was skipped, do not run or .
applyrevoke-pendingIf :
update_available-
STOP — do NOT proceed to Execution yet.
-
Inform the user (e.g. newer version available; summarize if helpful).
-
Wait for the user’s reply — blocking step.Hard rule (Cursor / Agent): Whenreports
check, orupdate_available, or strictBLOCK_UNTIL_USER_CONFIRMS_UPDATE, end this turn after asking. Only in the user’s next message runexit 3(if they agree) orapply(if they decline). Do not chainrevoke-pendingin the same turn asapplyfor this flow.check- User agrees → run with
applyfrom strictGATE_SKILL_CONFIRM_TOKENstdout when required, then Execution.check - User declines → , then Execution on the current install.
revoke-pending
- User agrees → run
Two-step gate (strict ): / (without ) fail until matches . User decline → .
checkapplyrunGATE_SKILL_UPDATE_MODE=autoGATE_SKILL_CONFIRM_TOKEN.gate-skill-apply-tokenrevoke-pendingbash
GATE_SKILL_CONFIRM_TOKEN="<paste from check stdout>" bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" apply "gate-info-macroimpact"bash
bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" revoke-pending "gate-info-macroimpact"powershell
$env:GATE_SKILL_CONFIRM_TOKEN = '<paste from check stdout>'
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" apply "gate-info-macroimpact"powershell
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" revoke-pending "gate-info-macroimpact"If Step 1 was not strict (no pending token): without is allowed.
applyGATE_SKILL_CONFIRM_TOKENIf or : no update step; proceed to Execution.
skippedcheck_failed运行时:步骤2使用与步骤1相同的shell类型(Bash或PowerShell)。若步骤1被跳过,则请勿运行或。
applyrevoke-pending若返回:
update_available-
停止操作 — 暂不执行后续流程。
-
告知用户(例如:有新版本可用;如有帮助可简要说明更新内容)。
-
等待用户回复 — 阻塞步骤。硬性规则(Cursor/Agent):当返回**
check、update_available或严格的BLOCK_UNTIL_USER_CONFIRMS_UPDATE时,询问用户后结束本次对话轮次**。仅在用户的下一条消息中运行**exit 3(若用户同意)或apply(若用户拒绝)。在阻塞流程的聊天场景中,请勿在同一次对话轮次中连续执行revoke-pending和check**。apply- 用户同意 → 运行**,必要时使用严格
apply标准输出中的check**,然后执行后续流程。GATE_SKILL_CONFIRM_TOKEN - 用户拒绝 → 运行****,然后基于当前安装版本执行后续流程。
revoke-pending
- 用户同意 → 运行**
两步验证(严格模式):/(未设置)在**与匹配前会执行失败。用户拒绝时 → 运行**。
checkapplyrunGATE_SKILL_UPDATE_MODE=autoGATE_SKILL_CONFIRM_TOKEN.gate-skill-apply-tokenrevoke-pendingbash
GATE_SKILL_CONFIRM_TOKEN="<粘贴check标准输出中的内容>" bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" apply "gate-info-macroimpact"bash
bash "$HOME/.cursor/skills/gate-info-macroimpact/scripts/update-skill.sh" revoke-pending "gate-info-macroimpact"powershell
$env:GATE_SKILL_CONFIRM_TOKEN = '<粘贴check标准输出中的内容>'
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" apply "gate-info-macroimpact"powershell
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\.cursor\skills\gate-info-macroimpact\scripts\update-skill.ps1" revoke-pending "gate-info-macroimpact"若步骤1未使用严格模式(无待处理令牌):允许不携带**运行**。
GATE_SKILL_CONFIRM_TOKENapply若返回或:无需执行更新步骤;继续执行后续流程。
skippedcheck_failedOptional — GATE_SKILL_UPDATE_MODE=auto
GATE_SKILL_UPDATE_MODE=auto可选 — GATE_SKILL_UPDATE_MODE=auto
GATE_SKILL_UPDATE_MODE=autoFor CI / unattended automation only: setting on makes the script apply immediately when the remote is newer — no user confirmation and incompatible with blocking update confirmation tests. Do not use on when reproducing the blocking PD flow.
GATE_SKILL_UPDATE_MODE=autocheckautocheck仅适用于CI/无人值守自动化:在**时设置,当远程版本更新时脚本会立即应用** — 无需用户确认,且与阻塞更新确认测试不兼容。在复现阻塞产品开发流程时,请勿在**时使用**模式。
checkGATE_SKILL_UPDATE_MODE=autocheckautoParameters
参数说明
- name: Frontmatter above; must match
nameon gate-skills.skills/<name>/ - Invoke: Use (or
$SKILL_ROOT/scripts/update-skill.sh) where.ps1is this skill — e.g.$SKILL_ROOT/SKILL.md,~/.cursor/skills/<name>,~/.codex/skills/<name>,~/.openclaw/skills/<name>,~/.agents/skills/<name>; do not treat~/.gemini/antigravity/skills/<name>(or any host root without~/.cursor) as the install. With one arg, the script resolvesskills/<name>/SKILL.mdin that order before falling back to the script’s directory; workspace installs need explicit$SKILL_ROOT. Two-argDEST/check/apply: canonical order is absoluterevoke-pending(skill root) first, thenDEST;name/update-skill.shauto-swap when only one normalized path containsupdate-skill.ps1(e.g. agent passesSKILL.mdthen path).name - ClawHub vs full tree: Installs without may copy it from gate/gate-skills under
update-skill.ps1(manual only; agents must not auto-download).skills/<name>/scripts/
Do not dump raw script logs into the user-facing reply except when debugging. On exit 3 (strict), do not run Execution until Step 2 is resolved. On or failure, still run Execution when appropriate per runtime rules.
checkcheck_failedapply- name:前置元数据中的;必须与gate-skills上的
name路径匹配。skills/<name>/ - 调用方式:使用**(或
$SKILL_ROOT/scripts/update-skill.sh),其中.ps1为本Skill的文件 — 例如$SKILL_ROOT/SKILL.md、~/.cursor/skills/<name>、~/.codex/skills/<name>、~/.openclaw/skills/<name>、~/.agents/skills/<name>;请勿将~/.gemini/antigravity/skills/<name>(或任何不含~/.cursor的主机根目录)视为安装目录。单参数模式下,脚本会按上述顺序解析skills/<name>/SKILL.md,若未找到则回退至脚本所在目录;工作区安装需使用双参数$SKILL_ROOT/check/apply:标准顺序为绝对路径revoke-pending(Skill根目录)在前**,然后是**DEST;当仅有一个规范化路径包含name时,SKILL.md/update-skill.sh会自动交换参数顺序**(例如Agent传递update-skill.ps1然后是路径)。name - ClawHub vs 完整目录:无的安装可从gate/gate-skills的
update-skill.ps1目录手动复制该文件;Agent不得自动下载。skills/<name>/scripts/
请勿将原始脚本日志直接输出到用户可见的回复中,调试场景除外。当**退出码3**(严格模式)时,需在步骤2解决后才能执行后续流程。当**或失败**时,仍需根据运行时规则在适当情况下执行后续流程。
checkcheck_failedapplyMCP Dependencies
MCP依赖
Legacy path only — this section applies when Step 0 emitted .
__FALLBACK__仅适用于遗留路径 — 当步骤0输出时,本节生效。
__FALLBACK__Required MCP Servers
必需的MCP服务器
| MCP Server | Status |
|---|---|
| Gate-Info | ✅ Required |
| Gate-News | ✅ Required |
| MCP服务器 | 状态 |
|---|---|
| Gate-Info | ✅ 必需 |
| Gate-News | ✅ 必需 |
MCP Tools Used
使用的MCP工具
Query Operations (Read-only)
- info_macro_get_economic_calendar
- info_macro_get_macro_indicator
- info_macro_get_macro_summary (use when no specific indicator is named)
- news_feed_search_news
- info_marketsnapshot_get_market_snapshot
查询操作(只读)
- info_macro_get_economic_calendar
- info_macro_get_macro_indicator
- info_macro_get_macro_summary(未指定具体指标时使用)
- news_feed_search_news
- info_marketsnapshot_get_market_snapshot
Authentication
认证信息
- API Key Required: No
- Credentials Source: None; this skill uses read-only Gate Info / Gate News MCP access only.
- 是否需要API密钥:否
- 凭证来源:无;本Skill仅使用只读的Gate Info / Gate News MCP访问权限。
Installation Check
安装检查
- Required: Gate-Info, Gate-News
- 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.
- 必需组件:Gate-Info、Gate-News
- 安装方式:继续前请使用当前主机IDE的本地Gate MCP安装流程完成安装。
- 仅当当前环境中存在必需的Gate MCP服务器时,才可继续执行。
Routing Rules
路由规则
Legacy path only — when Step 0 emitted , routing is delegated to
.
__ROUTE_CLI__gate-info-research| User Intent | Keywords | Action |
|---|---|---|
| Macro event impact on crypto | "non-farm payroll BTC" "CPI crypto impact" "Fed decision market" | Execute this Skill's full workflow |
| Upcoming economic calendar | "any macro data today" "economic calendar this week" | Execute this Skill (calendar-focused mode) |
| Specific macro indicator query | "what's the current CPI" "latest GDP data" | Execute this Skill (indicator-focused mode) |
| Pure coin analysis without macro angle | "analyze SOL" "how is BTC" | Route to |
| Market overview | "how's the market" | Route to |
| News only | "any crypto news" | Route to |
| Why price moved | "why did BTC crash" | Route to |
仅适用于遗留路径 — 当步骤0输出时,路由委托给。
__ROUTE_CLI__gate-info-research| 用户意图 | 关键词 | 操作 |
|---|---|---|
| 宏观事件对加密货币的影响 | "non-farm payroll BTC" "CPI crypto impact" "Fed decision market" | 执行本Skill的完整工作流 |
| 即将到来的经济日历 | "any macro data today" "economic calendar this week" | 执行本Skill(日历聚焦模式) |
| 特定宏观指标查询 | "what's the current CPI" "latest GDP data" | 执行本Skill(指标聚焦模式) |
| 无宏观角度的纯币种分析 | "analyze SOL" "how is BTC" | 路由至 |
| 市场概览 | "how's the market" | 路由至 |
| 仅新闻查询 | "any crypto news" | 路由至 |
| 价格波动原因 | "why did BTC crash" | 路由至 |
Execution Workflow
执行工作流
Legacy path only — this section applies when Step 0 emitted .
__FALLBACK__仅适用于遗留路径 — 当步骤0输出时,本节生效。
__FALLBACK__Step 0: Multi-Dimension Intent Check
步骤0:多维度意图检查
- If the query is about macro-economic impact on crypto, proceed with this Skill.
- If the query also mentions coin-specific fundamentals, risk check, or on-chain data beyond the macro angle, route to (if available).
gate-info-research
- 若查询涉及宏观经济对加密货币的影响,则继续执行本Skill。
- 若查询同时提及币种特定基本面、风险检查或链上数据等非宏观角度内容,则路由至(若可用)。
gate-info-research
Step 1: Intent Recognition & Parameter Extraction
步骤1:意图识别与参数提取
Extract from user input:
- : Macro event/indicator name (e.g., "CPI", "non-farm payroll", "Fed meeting", "interest rate")
event_keyword - (optional): Related coin (default: BTC if not specified)
coin - : Time window for calendar/news (default: 7d for calendar, 24h for news)
time_range
If the macro event cannot be identified, ask the user to clarify — do not guess.
从用户输入中提取:
- :宏观事件/指标名称(例如"CPI"、"非农就业数据"、"美联储会议"、"利率")
event_keyword - (可选):相关币种(默认:未指定时为BTC)
coin - :日历/新闻的时间范围(默认:日历为7天,新闻为24小时)
time_range
若无法识别宏观事件,请询问用户澄清 — 请勿猜测。
Step 2: Call MCP Tools in Parallel
步骤2:并行调用MCP工具
| Step | MCP Tool | Parameters | Retrieved Data | Parallel |
|---|---|---|---|---|
| 1a | | | Upcoming economic events | Yes |
| 1b | | | Latest value of the specific macro indicator | Yes |
| 1c | | | Related news articles | Yes |
| 1d | | | Current market data for the correlated coin | Yes |
Note: If a specific indicator is not mentioned, use instead of for Step 1b.
info_macro_get_macro_summaryinfo_macro_get_macro_indicatorAll four primary tools run in parallel when applicable.
| 步骤 | MCP工具 | 参数 | 获取数据 | 是否并行 |
|---|---|---|---|---|
| 1a | | | 即将到来的经济事件 | 是 |
| 1b | | | 特定宏观指标的最新值 | 是 |
| 1c | | | 相关新闻文章 | 是 |
| 1d | | | 关联币种的当前市场数据 | 是 |
注意:若未提及具体指标,则步骤1b使用替代。
info_macro_get_macro_summaryinfo_macro_get_macro_indicator适用时,四个主工具会并行运行。
Step 3: LLM Aggregation
步骤3:LLM聚合
The LLM must:
- Match the user's query to relevant economic calendar events
- Compare actual vs forecast vs previous values (surprise factor)
- Correlate macro data with crypto price action
- Reference historical patterns where appropriate
- Combine with latest news for context
LLM必须完成以下操作:
- 将用户查询与相关经济日历事件匹配
- 对比实际值、预测值与历史值(意外因素)
- 将宏观数据与加密货币价格走势关联
- 酌情参考历史模式
- 结合最新新闻提供上下文
Report Template
报告模板
Legacy path only — this section applies when Step 0 emitted .
__FALLBACK__markdown
undefined仅适用于遗留路径 — 当步骤0输出时,本节生效。
__FALLBACK__markdown
undefinedMacro-Economic Impact Analysis
宏观经济影响分析
Generated: {timestamp} | Related Asset: {coin}
生成时间:{timestamp} | 相关资产:{coin}
Economic Calendar
经济日历
| Date | Event | Previous | Forecast | Actual | Impact |
|---|---|---|---|---|---|
| {date} | {event_name} | {previous} | {forecast} | {actual or "Pending"} | {High/Medium/Low} |
| 日期 | 事件 | 历史值 | 预测值 | 实际值 | 影响程度 |
|---|---|---|---|---|---|
| {date} | {event_name} | {previous} | {forecast} | {actual 或 "待发布"} | {高/中/低} |
Key Indicator: {indicator_name}
关键指标:{indicator_name}
| Metric | Value |
|---|---|
| Latest Value | {value} |
| Previous Value | {previous} |
| Change | {change} ({direction}) |
Interpretation: {LLM analysis}
| 指标 | 数值 |
|---|---|
| 最新值 | {value} |
| 历史值 | {previous} |
| 变化 | {change} ({方向}) |
解读:{LLM分析内容}
Crypto Market Correlation
加密货币市场关联
| Metric | Value | Context |
|---|---|---|
| {coin} Price | ${price} | — |
| 24h Change | {change_24h}% | — |
Historical Pattern: {LLM analysis}
| 指标 | 数值 | 上下文 |
|---|---|---|
| {coin} 价格 | ${price} | — |
| 24小时涨跌幅 | {change_24h}% | — |
历史模式:{LLM分析内容}
Related News
相关新闻
- {title} — {time}
- {title} — {time}
Impact Assessment
影响评估
{LLM: 3–5 sentences on surprise factor, risk-on/risk-off, levels to watch, upcoming events}
{LLM生成3-5句话,涵盖意外因素、风险偏好、关注价位、即将到来的事件}
Risk Factors
风险因素
{Data-driven risk alerts}
Macroeconomic impacts on crypto are complex and non-deterministic. This does not constitute investment advice.
---{基于数据的风险预警}
宏观经济对加密货币的影响复杂且具有不确定性。本报告不构成投资建议。
---Decision Logic
决策逻辑
| Condition | Assessment |
|---|---|
| Actual > Forecast (inflation metrics like CPI) | Hotter-than-expected — may delay rate cuts, bearish for risk assets |
| Actual < Forecast (inflation metrics) | Cooler-than-expected — supports rate cut narrative, bullish for risk assets |
| Actual > Forecast (employment data) | Stronger labor market — mixed (growth positive but rate cut delay) |
| Actual < Forecast (employment data) | Weakening labor market — supports cuts but signals slowdown |
| Event status = Pending | Upcoming — markets may position ahead of release |
| BTC 24h change > 5% coinciding with macro event | Significant move correlating with macro release |
| No related news found | Limited market commentary — event may not yet be widely covered |
| 条件 | 评估 |
|---|---|
| 实际值 > 预测值(CPI等通胀指标) | 强于预期 — 可能推迟降息,对风险资产利空 |
| 实际值 < 预测值(通胀指标) | 弱于预期 — 支持降息预期,对风险资产利好 |
| 实际值 > 预测值(就业数据) | 劳动力市场强劲 — 影响复杂(增长利好但降息推迟) |
| 实际值 < 预测值(就业数据) | 劳动力市场疲软 — 支持降息但预示经济放缓 |
| 事件状态 = 待发布 | 即将到来 — 市场可能提前布局 |
| BTC 24小时涨跌幅 >5%且与宏观事件同步 | 宏观数据发布引发显著波动 |
| 未找到相关新闻 | 市场评论有限 — 事件可能尚未被广泛报道 |
Error Handling
错误处理
| Error Type | Handling |
|---|---|
| Skip calendar section; focus on indicator + news |
| Skip indicator detail; use calendar data if available |
| Skip news section |
| Skip market correlation section |
| All Tools fail | Return error; suggest user try again later |
| Indicator not found | Suggest similar indicators; ask user to clarify |
| No upcoming macro events | Inform user; show recent past events if available |
| 错误类型 | 处理方式 |
|---|---|
| 跳过日历部分;聚焦指标+新闻 |
| 跳过指标详情;若可用则使用日历数据 |
| 跳过新闻部分 |
| 跳过市场关联部分 |
| 所有工具执行失败 | 返回错误;建议用户稍后重试 |
| 未找到指标 | 推荐类似指标;询问用户澄清 |
| 无即将到来的宏观事件 | 告知用户;若可用则显示近期已发生事件 |
Cross-Skill Routing
跨Skill路由
| User Follow-up Intent | Route To |
|---|---|
| "Analyze BTC for me" | |
| "What's the technical outlook?" | |
| "How's the overall market?" | |
| "Why did BTC crash?" | |
| "What about DeFi impact?" | |
| "Any crypto news?" | |
| 用户后续意图 | 路由至 |
|---|---|
| "帮我分析BTC" | |
| "技术面展望如何?" | |
| "整体市场情况如何?" | |
| "BTC为何暴跌?" | |
| "对DeFi的影响如何?" | |
| "有哪些加密货币新闻?" | |
Safety Rules
安全规则
- No price predictions: Describe potential impacts and historical patterns, not specific price targets.
- Correlation ≠ causation: State that macro–crypto links are probabilistic.
- Data transparency: Label source, time, and reference period for each data point.
- No trading advice: Do not recommend specific trades based on macro data.
- Flag uncertainty: When data is pending, label forecast vs actual clearly.
- Historical patterns disclaimer: Past performance does not guarantee future results.
- Age & eligibility: Intended for users aged 18 or above with full civil capacity in their jurisdiction.
- Data flow: The host agent processes user prompts; this skill directs read-only Gate-Info and Gate-News MCP tools listed above. The LLM synthesizes from tool results. This skill does not invoke additional third-party data services.
- 禁止价格预测:描述潜在影响和历史模式,不得给出具体价格目标。
- 相关性≠因果性:说明宏观与加密货币的关联具有概率性。
- 数据透明:为每个数据点标注来源、时间和参考周期。
- 禁止交易建议:不得基于宏观数据推荐具体交易操作。
- 标注不确定性:当数据待发布时,明确区分预测值与实际值。
- 历史模式免责声明:过往表现不代表未来结果。
- 年龄与资格:仅面向18周岁及以上且在所在司法辖区具备完全民事行为能力的用户。
- 数据流:主机Agent处理用户提示;本Skill仅调用上述列出的只读 Gate-Info和Gate-News MCP工具。LLM基于工具结果进行合成。本Skill不会调用额外第三方数据服务。