$npx -y skills add gate/gate-skills --skill gate-exchange-candydropGate CandyDrop activity operations guide. Use this skill whenever users want to browse CandyDrop activities, view activity rules, register for activities, check task completion progress, or query participation and airdrop records. Trigger phrases include: candydrop, candydrop act
| 1 | ### Resolving `gate-cli` (binary path) |
| 2 | |
| 3 | 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`](https://github.com/gate/gate-skills/blob/master/skills/exchange-runtime-rules.md) §4 (or [`gate-runtime-rules.md`](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md) §4). |
| 4 | |
| 5 | |
| 6 | # Gate Exchange CandyDrop |
| 7 | |
| 8 | **Authoring language:** This skill’s **instructions and reference prose** are written in **English** (Gate skill standard). **End-user replies** still follow **Language adaptation** (match the user’s locale). |
| 9 | |
| 10 | ## General Rules |
| 11 | |
| 12 | ⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. |
| 13 | Do NOT select or call any tool until all rules are read. These rules have the highest priority. |
| 14 | → Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md) |
| 15 | - **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. |
| 16 | |
| 17 | ## Skill Dependencies |
| 18 | |
| 19 | |
| 20 | ### gate-cli commands used |
| 21 | |
| 22 | **Query Operations (Read-only, Public)** |
| 23 | |
| 24 | - `gate-cli cex launch candy-drop activities` |
| 25 | - `gate-cli cex launch candy-drop rules` |
| 26 | |
| 27 | **Query Operations (Read-only, Auth Required)** |
| 28 | |
| 29 | - `gate-cli cex launch candy-drop progress` |
| 30 | - `gate-cli cex launch candy-drop participations` |
| 31 | - `gate-cli cex launch candy-drop airdrops` |
| 32 | |
| 33 | **Execution Operations (Write)** |
| 34 | |
| 35 | - `gate-cli cex launch candy-drop register` |
| 36 | |
| 37 | ### Authentication |
| 38 | |
| 39 | - **Interactive file setup:** when **`GATE_API_KEY`** and **`GATE_API_SECRET`** 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](https://github.com/gate/gate-cli)). |
| 40 | - **Env / flags:** **`gate-cli config init`** is **not** required when credentials are already supplied — e.g. **both** **`GATE_API_KEY`** and **`GATE_API_SECRET`** set on the host, or **`--api-key`** / **`--api-secret`** where supported — never ask the user to paste secrets into chat. |
| 41 | - **Permissions:** Launch:Write |
| 42 | - **Portal:** create or rotate keys outside the chat: https://www.gate.com/myaccount/profile/api-key/manage |
| 43 | |
| 44 | ### Installation Check |
| 45 | |
| 46 | - **Required:** Gate (main), Gate (trading); **`gate-cli`** when using CLI-backed flows (install via [`setup.sh`](./setup.sh) from this skill when applicable). |
| 47 | - **Install (MCP / IDE):** Run installer skill for your environment — Cursor: `gate-mcp-cursor-installer`; Codex: `gate-mcp-codex-installer`; Claude: `gate-mcp-claude-installer`; OpenClaw: `gate-mcp-openclaw-installer`. |
| 48 | - **Credentials:** When **`GATE_API_KEY`** and **`GATE_API_SECRET`** are both set (non-empty) for the host, **do not** require **`gate-cli config init`** — that is equivalent valid config for `gate-cli`. When **both** are unset or empty, **remind** the operator to run **`gate-cli config init`** **or** to configure **`GATE_API_KEY`** / **`GATE_API_SECRET`** in the **matching skill** from the |