$npx -y skills add gate/gate-skills --skill gate-info-macroimpactMacro-driven crypto via Gate-Info and Gate-News MCP. Use this skill whenever macro (CPI, NFP, Fed, rates, payrolls) ties to crypto, calendar, or indicator-price links. Trigger phrases include CPI and BTC, macro today, Fed, NFP, rates. Route: price/technicals → gate-info-coinanaly
| 1 | # gate-info-macroimpact |
| 2 | |
| 3 | ## General Rules |
| 4 | |
| 5 | ⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. |
| 6 | Do NOT select or call any tool until all rules are read. These rules have the highest priority. |
| 7 | → Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md) |
| 8 | → Also read [info-news-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/info-news-runtime-rules.md) for **gate-info** / **gate-news**-specific rules (tool degradation, report standards, security, routing degradation, per-skill version checks when `scripts/` is present, and legacy wrapper routing). |
| 9 | - **Only call MCP tools explicitly listed in this skill.** Tools not documented here must NOT be called, even if they |
| 10 | exist in the MCP server. |
| 11 | - **Legacy / routing mode:** when Step 0 emits `__FALLBACK__`, use only the MCP tools listed in this file. When Step 0 emits `__ROUTE_CLI__`, do **not** call those MCP tools; delegate to the mapped primary skill per Step 0. |
| 12 | |
| 13 | > 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. |
| 14 | |
| 15 | **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". |
| 16 | |
| 17 | **Per-skill updates:** This directory includes `scripts/update-skill.sh` and may include `scripts/update-skill.ps1`. **ClawHub** packages uploaded to the marketplace often omit `update-skill.ps1` (upload-page restriction); **GitHub / Bitbucket** source trees keep both. Policy: [info-news-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/info-news-runtime-rules.md) §1. The **Trigger update** steps below apply in addition to [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md); when scripts are present, use this flow for version checks before execution. |
| 18 | |
| 19 | **Update check — user visibility:** Technical failures during version check (missing script, sandbox, network, non-zero exit, no parseable `Result=` line) must **not** be explained to the user; continue with Execution per [info-news-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/info-news-runtime-rules.md). Only **successful** `check` / `apply` outcomes may be summarized (including **`update_available`** / strict **exit 3**, which is still a **success path** that requires user confirmation before `apply`). **Do not** auto-download `update-skill.*` from the network. **Static reference** if `.ps1` is missing: canonical scripts live in [gate/gate-skills](https://github.com/gate/gate-skills) under `skills/<name>/scripts/` (same `<name>` as frontmatter). |
| 20 | |
| 21 | --- |
| 22 | |
| 23 | ## Step 0 — Wrapper routing probe |
| 24 | |
| 25 | This legacy skill is a compatibility alias for the primary CLI skill |
| 26 | `gate-info-research`. |
| 27 | |
| 28 | Before Trigger update, MCP tool selection, or any legacy Execution Workflow, |
| 29 | run a deterministic shell probe: |
| 30 | |
| 31 | ```bash |
| 32 | PRIMARY_SKILL="gate-info-research" |
| 33 | HAS_PRIMARY=0 |
| 34 | for root in \ |
| 35 | "$HOME/.cursor/skills" \ |
| 36 | "$HOME/.codex/skills" \ |
| 37 | "$HOME/.openclaw/skills" \ |
| 38 | "$HOME/.agents/skills" \ |
| 39 | "$HOME/.gemini/antigravity/skills" |
| 40 | do |
| 41 | if [ -f "$root/$PRIMARY_SKILL/SKILL.md" ]; then |
| 42 | HAS_PRIMARY=1 |
| 43 | break |
| 44 | fi |
| 45 | done |
| 46 | |
| 47 | if command -v gate-cli >/dev/null 2>&1 && [ "$HAS_PRIMARY" = "1" ]; then |
| 48 | echo "__ROUTE_CLI__" |
| 49 | else |
| 50 | echo "__FALLBACK__" |
| 51 | fi |
| 52 | ``` |
| 53 | |
| 54 | Interpretation: |
| 55 | |
| 56 | - `__ROUTE_CLI__` → stop here. Do **not** run Trigger update or the legacy MCP |
| 57 | sections below. Follow |
| 58 | `https://github.com/gate/gate-skills/blob/master/skills/gate-info-research/SKILL.md` |
| 59 | and its playbook contract. Carry over the minimum context: macro topic plus |
| 60 | optional `symbol`, `indicator`, or `country` when the user supplied them. |
| 61 | - `__FALLBACK__` → continue with Trigger update and the legacy MCP workflow in |
| 62 | this file. |
| 63 | |
| 64 | --- |
| 65 | |
| 66 | ## Trigger update (with Execution) |
| 67 | |
| 68 | **Default (PD / blocking):** On each trigger, run **`check`** first **without** **`GATE_SKILL_UPDATE_MODE=auto`**. The script **only compares** loca |