$npx -y skills add gate/gate-skills --skill gate-exchange-assets-managerGate multi-account asset manager L2 skill. Use when the user asks to check total assets combined with margin/liquidation risk or earnings snapshots. Triggers on 'total assets', 'margin check', 'liquidation risk', 'earn interest', 'staking rewards', 'affiliate commissions', 'borro
| 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 Account and Asset Manager |
| 7 | |
| 8 | This is an L2 composite skill that orchestrates 58 deduplicated MCP tool calls (54 read + 4 write) across 7 L1 skills. It provides a unified entry point for account and asset overview, margin and liquidation risk assessment, SimpleEarn and staking earnings snapshots, affiliate commission queries, and unified-account write operations (borrowing, collateral, leverage settings). |
| 9 | This skill is intended for users aged 18 or above with full civil capacity. |
| 10 | |
| 11 | ## General Rules |
| 12 | |
| 13 | ⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. |
| 14 | Do NOT select or call any tool until all rules are read. These rules have the highest priority. |
| 15 | → Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md) |
| 16 | - **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. |
| 17 | |
| 18 | ## Skill Dependencies |
| 19 | |
| 20 | |
| 21 | ### gate-cli commands used |
| 22 | |
| 23 | **Query Operations (Read-only)** |
| 24 | |
| 25 | - `gate-cli cex alpha account balances` |
| 26 | - `gate-cli cex alpha market currencies` |
| 27 | - `gate-cli cex alpha market tickers` |
| 28 | - `gate-cli cex alpha market tokens` |
| 29 | - `gate-cli cex earn staking assets` |
| 30 | - `gate-cli cex earn staking awards` |
| 31 | - `gate-cli cex earn staking find` |
| 32 | - `gate-cli cex earn uni currency` |
| 33 | - `gate-cli cex earn uni interest` |
| 34 | - `gate-cli cex earn dual balance` |
| 35 | - `gate-cli cex earn dual orders` |
| 36 | - cex_earn_list_structured_orders |
| 37 | - `gate-cli cex earn uni currencies` |
| 38 | - `gate-cli cex earn uni rate` |
| 39 | - `gate-cli cex earn uni lends` |
| 40 | - `gate-cli cex earn staking orders` |
| 41 | - `gate-cli cex futures account get` |
| 42 | - `gate-cli cex futures market candlesticks` |
| 43 | - `gate-cli cex futures market contract` |
| 44 | - `gate-cli cex futures market funding-rate` |
| 45 | - `gate-cli cex futures market orderbook` |
| 46 | - `gate-cli cex futures market premium` |
| 47 | - `gate-cli cex futures market tickers` |
| 48 | - `gate-cli cex futures market trades` |
| 49 | - `gate-cli cex futures market liquidations` |
| 50 | - `gate-cli cex futures position list` |
| 51 | - `gate-cli cex margin account list` |
| 52 | - `gate-cli cex options account get` |
| 53 | - `gate-cli cex rebate broker commissions` |
| 54 | - `gate-cli cex rebate broker transactions` |
| 55 | - `gate-cli cex rebate partner commissions` |
| 56 | - `gate-cli cex rebate partner sub-list` |
| 57 | - `gate-cli cex rebate partner transactions` |
| 58 | - `gate-cli cex rebate user-info` |
| 59 | - `gate-cli cex rebate sub-relation` |
| 60 | - `gate-cli cex spot account get` |
| 61 | - `gate-cli cex spot market candlesticks` |
| 62 | - `gate-cli cex spot market orderbook` |
| 63 | - `gate-cli cex spot market tickers` |
| 64 | - `gate-cli cex spot market trades` |
| 65 | - `gate-cli cex spot account book` |
| 66 | - `gate-cli cex tradfi account assets` |
| 67 | - `gate-cli cex unified account get` |
| 68 | - `gate-cli cex unified quer |