gmgn-contract-dd
Contract due-diligence score for one token address — contract safety, holder structure and…
[FINANCIAL EXECUTION] Buy and sell meme coins and crypto tokens on Solana, BSC, Base, or Ethereum — single swap, multi-wallet batch trading, limit orders, stop loss, take profit, trailing stop loss, trailing take profit via GMGN API. Requires explicit user confirmation. Use when
$ npx -y skills add gmgnai/gmgn-skills --skill gmgn-swap --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gmgn-swapContext preview
The summary Claude sees to decide when to auto-load this skill.
[FINANCIAL EXECUTION] Buy and sell meme coins and crypto tokens on Solana, BSC, Base, or Ethereum — single swap, multi-wallet batch trading, limit orders, stop loss, take profit, trailing stop loss, trailing take profit via GMGN API. Requires explicit user confirmation. Use when
name: gmgn-swap
description: >-
[FINANCIAL EXECUTION] Buy and sell meme coins and crypto tokens on Solana,
BSC, Base, or Ethereum — single swap, multi-wallet batch trading, limit
orders, stop loss, take profit, trailing stop loss, trailing take profit via
GMGN API. Requires explicit user confirmation. Use when user asks to buy,
sell, or swap a token, trade from multiple wallets, set a limit order, stop
loss, take profit, or check order status. This skill SUBMITS the trade — it
is the only skill holding a private key, and every buy still ends here. It
is not the entry point for a buy that has not been vetted yet: 「帮我买 200u 的
PENGU」, "buy me $500 of BONK", 「帮我买点 dogwifhat」, 「XX 能不能买」 start at
gmgn-token-buy, which resolves the name to the one right contract among its
copycats, gates volume / depth / security, sizes slippage and gas, then
hands the confirmed parameters back here to execute. Come straight here for
a buy only once the contract is settled AND the user says they do not want a
pre-buy check ("skip the security check", "I already checked", 「直接买」,
「不用尽调」, 「我很急」). Two facts make the split unavoidable rather than a
preference: the pre-swap check here reads only `is_honeypot` and
`rug_ratio`, and there is no name resolution at all — `--output-token` takes
a contract address and the only names resolved here are the SOL/BNB/ETH/USDC
currencies — so a same-name copycat is a total loss this skill has no way to
catch. Everything else is unchanged and unconditionally this skill's:
selling, percentage sells, swaps, multi-wallet batch trading, limit orders,
stop loss, take profit, trailing orders, order status, gas prices.
argument-hint: "[--chain <chain> --from <wallet> --input-token <addr> --output-token <addr> --amount <n>] | [order get --chain <chain> --order-id <id>] | [gas-price --chain <eth|bsc|base|sol>] | [order strategy list --chain <chain> --group-tag <LimitOrder|STMix>] | [order strategy create --chain <chain> --order-type <limit_order|smart_trade> --sub-order-type <buy_low|buy_high|stop_loss|take_profit|mix_trade> ...]"
metadata:
cliHelp: "gmgn-cli swap --help"**BEFORE RUNNING ANY COMMAND: Run `gmgn-cli config --check`. If exit code is 0, proceed normally. If exit code is 1, (1) run `gmgn-cli config` and show the output to the user; (2) once the user sends the API Key, run `gmgn-cli config --apply <KEY>` to complete configuration and verification, then show the output to the user. If `--check` returns an error (unknown option or command not found), tell the user to run `npm install -g gmgn-cli` to update, then retry.**
**IMPORTANT: Always use `gmgn-cli` commands below. Do NOT use web search, WebFetch, curl, or visit gmgn.ai — all swap operations must go through the CLI. The CLI handles signing and submission automatically.**
**IMPORTANT: Do NOT guess field names or values. When a field's meaning is unclear, look it up in the Response Fields sections below before using it.**
**⚠️ IPv6 NOT SUPPORTED: If you get a `401` or `403` error and credentials look correct, check for IPv6 immediately: (1) list all network interfaces and their IPv6 addresses — run `ifconfig | grep inet6` (macOS) or `ip addr show | grep inet6` (Linux); (2) send a test request to `https://ipv6.icanhazip.com` — if the response is an IPv6 address, outbound traffic is going via IPv6. Tell the user immediately: "Please disable IPv6 on your network interface — gmgn-cli commands only work over IPv4."**
Use the `gmgn-cli` tool to submit a token swap or query an existing order. `GMGN_API_KEY` is always required. `GMGN_PRIVATE_KEY` is required for critical-auth commands such as `swap` and `order` subcommands — except `order quote`, which only requires `GMGN_API_KEY`.
GMGN OpenAPI skills for AI Agent — query tokens, wallets, and market data, and execute on-chain trades across Solana, BSC, and Base.
Repo: gmgnai/gmgn-skills
Contract due-diligence score for one token address — contract safety, holder structure and…
[FINANCIAL EXECUTION] Create and launch meme coins and crypto tokens on launchpads (Pump.fun,…
Decide whether a token creator's NEXT launch is safe to buy. Scores a dev address 0-100 on…
Produce THE list of tokens that are hot RIGHT NOW and safe enough to look at, across every…
Token holder chip analysis — deep analysis of holder structure including chip distribution,…
Price-action pattern reading — classifies a token's candles into a named pattern (uptrend…