Agent skill · gmgnai
gmgn-kline-pattern
Price-action pattern reading — classifies a token's candles into a named pattern (uptrend channel, breakdown, bounce off the lows, distribution at highs, basing, wide chop, consolidation) and scores it 0-100 from six measurements you compute directly from the kline response. Every point added or deducted states its reason. Use when the user asks about K 线, K线形态, 走势, 趋势, 形态, price action, chart pattern, whether a chart looks strong or weak, is it breaking down, is it consolidating, or wants a technical read of a token's chart rather than the raw numbers.
What it needs
About 10k tokens when loaded.
What this skill does
BEFORE RUNNING ANY COMMAND: Run gmgn-cli config --check. If exit code is 0, proceed normally. If exit code is 1, run gmgn-cli config and show output, then apply the key with gmgn-cli config --apply <KEY>. If unknown option, tell user to run npm install -g gmgn-cli. IMPORTANT: Always use gmgn-cli. Do NOT use curl, WebFetch, or visit gmgn.ai. BEFORE PUTTING THE ADDRESS ON A COMMAND LINE: check its shape yourself. EVM chains need 0x plus exactly 40 hex characters; sol needs 32-44 base58 characters. If it does not match, stop and tell the user the address looks malformed — never pass unvalidated user text into a shell, and never strip characters to make it fit. Details under Parameters. Sub-commands Purpose Command --------- --------- Fetch candles gmgn-cli market kline --chain <chain> --address <address> --resolution <res> --raw gmgn-market gives the raw candles; this skill answers what pattern that is. Everything below is computed by you from that one response — no script, no second call. Supported Chains sol / bsc / base / eth — whatever gmgn-cli market kline accepts. Prerequisites gmgn-cli installed: npm install -g gmgn-cli API key configured: gmgn-cli config Nothing else. No Python, no local script, no other tool. Parameters Parameter Required Description ----------- ---------- ------------- --chain Yes sol for base58 addresses, bsc for EVM 0x... unless the user names another chain --address Yes Token contract address --resolution No 1m 5m 15m 30m 1h 4h 1d — default 15m Validate the address before you run anything The address comes from the user. Check its shape yourself before putting it on a command line, and refuse rather than guess: EVM chains (bsc / base / eth): must match 0x followed by exactly 40 hex characters sol: must be 32-44 characters from the base58 alphabet (123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz — no 0, O, I, l) If it does not match, stop and tell the user the address looks malformed. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills gmgnai/gmgn-kline-pattern