gmgn-token-buy

Installation
SKILL.md

BEFORE RUNNING ANY COMMAND: Run gmgn-cli config --check. Exit 0 → proceed. Exit 1 → run gmgn-cli config, show the output, and once the user sends the API key run gmgn-cli config --apply <KEY> and show that output. If --check is an unknown option, tell the user to run npm install -g gmgn-cli, then retry.

IMPORTANT: Always use the pre-installed gmgn-cli binary. Never use web search, WebFetch, curl, npx, or gmgn.ai — the site requires login and exposes no structured data.

⚠️ IPv6 IS NOT SUPPORTED. On a 401/403 with correct credentials, check ifconfig | grep inet6 (macOS) or ip addr show | grep inet6 (Linux) and fetch https://ipv6.icanhazip.com. If an IPv6 address comes back, tell the user to disable IPv6 — gmgn-cli works over IPv4 only.

Run

没有脚本,四步串行,每一步都是一道闸——不过就不进下一步。每步要跑的命令写在那一步的标题下面;字段映射与实测陷阱在 references/fields.md不在那份清单里的字段一律当作不存在

做什么 跑什么 出口
0 确认链在 7 条支持链内 market search(仅当用户裸贴合约地址) 不支持的链或查不到 → 硬停
1 名字 → 唯一合约 market search 定不到唯一一个 → 列候选让用户选
2 四道闸门:量 / 深度 / 方向 / 安全 token info + token security(安全优先交 gmgn-contract-dd 任一项不过 → 不下单,出「不建议买入」
3 组装订单卡 gas-price 用户明确确认 → 参数交给 gmgn-swap

边界(详见 frontmatter 的 description):

Installs
879
GitHub Stars
514
First Seen
4 days ago
gmgn-token-buy — gmgnai/gmgn-skills