gate-exchange-smallbalance
Installation
SKILL.md
Resolving gate-cli (binary path)
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 §4 (or gate-runtime-rules.md §4).
Gate Exchange Small Balance (Dust to GT)
General Rules
Read and follow the shared runtime rules before proceeding:
→ exchange-runtime-rules.md (in parent directory skills/)
Skill Dependencies
Authentication
- Interactive file setup: when
GATE_API_KEYandGATE_API_SECRETare not both set on the host, rungate-cli config initto complete the wizard for API key, secret, profiles, and defaults (see gate-cli). - Env / flags:
gate-cli config initis not required when credentials are already supplied — e.g. bothGATE_API_KEYandGATE_API_SECRETset on the host, or--api-key/--api-secretwhere supported — never ask the user to paste secrets into chat. - Permissions: Wallet read and small-balance convert as required for dust-to-GT flows (least privilege).
- Portal: create or rotate keys outside the chat: https://www.gate.com/myaccount/profile/api-key/manage