[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H2KW5EFYPV10WCEPAFTT2K":3,"skill-same:01M6H2KW5EFYPV10WCEPAFTT2K":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6H2KW5EFYPV10WCEPAFTT2K","gmgn-official-skills",null,"GMGN OpenAPI skills for AI Agent — query tokens, wallets, and market data, and execute on-chain trades across Solana, BSC, and Base.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fgmgn-official-skills\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"official","gmgn official skills","data","openapi","execute","Market","solana","base","query","across","tokens","chain","wallets","on-chain","bsc","market data","for","ai agent","2026-11-10 10:12:30",false,"---\nname: gmgn-official-skills\ndescription: \"GMGN OpenAPI skills for AI Agent — query tokens, wallets, and market data, and execute on-chain trades across Solana, BSC, and Base.\"\n---\n\n# GMGN OpenAPI Agent Skills\n\n_Source: [github.com\u002FGMGNAI\u002Fgmgn-skills](https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills). The body below is the upstream Readme.md, refreshed 2026-05-08._\n\n---\n\n\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"static\u002Fgmgnagentskills.png\" alt=\"GMGN Agent Skills\" \u002F>\n\n[![X](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFollow-%40gmgnai-black?logo=x&logoColor=white)](https:\u002F\u002Fx.com\u002Fgmgnai) [![Telegram](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTelegram-gmgnagentapi-2CA5E0?logo=telegram&logoColor=white)](https:\u002F\u002Ft.me\u002Fgmgnagentapi) [![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-gmgnai-5865F2?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002Fgmgnai)\n\nEnglish | [简体中文](Readme.zh.md)\n\n\u003C\u002Fdiv>\n\n## GMGN Agent Skills\n\nWith GMGN Agent Skills, you can use AI agents to query real-time trending token rankings across multiple chains, token fundamentals, social media signals, live trading activity, new tokens in Trenches, top holders, top traders, smart money positions, KOL holdings, insider wallets, bundled wallet exposure, and other professional on-chain analytics. It also supports market orders, limit orders, advanced take-profit\u002Fstop-loss strategy orders, one-command cooking orders (buy + condition orders in a single flow), and wallet management — including real-time holdings, recent P&L, and transaction history — all through natural language.\n\n---\n\n## Why GMGN Skills\n\n> Built for AI agents to query and trade multi-chain Meme tokens at high speed in real time. gmgn-skills gives AI agents direct access to GMGN's trending tokens, Trenches new token listings, and professional on-chain data — including Smart Money, KOL, rat trader, and bundler analytics.\n>\n> With 500+ professional data dimensions, you can turn your AI agent into a 24\u002F7 real-time chain-scanning trading tool — monitoring multi-chain token momentum, placing orders instantly, and managing exits with take-profit \u002F stop-loss, all on autopilot.\n\n### 1. Real-time on-chain data — faster\n\nData across SOL \u002F BSC \u002F Base \u002F ETH is live on every query. Supports multi-parameter customization, no snapshot cache — built for AI agent real-time decision-making (including but not limited to):\n\n| Data | Granularity |\n|------|-------------|\n| New token discovery (Trenches) | Real-time, filtered by launchpad, dev holdings, KOL entry, rat trader ratio |\n| Trending tokens | Real-time, `1m` \u002F `5m` \u002F `1h` \u002F `6h` \u002F `24h` — minimum **1-minute** window |\n| Token info | Real-time — trade activity \u002F price \u002F volume \u002F market cap |\n| Token security | Real-time — open source, renounced, honeypot detection, etc. |\n| Token analytics | Real-time — Dev \u002F KOL \u002F Smart Money \u002F rat trader \u002F bundler wallet holdings |\n| Monitoring & tracking | Real-time — KOL \u002F Smart Money \u002F followed wallet trade activity |\n| K-line (OHLCV) | Real-time, `1m` \u002F `5m` \u002F `15m` \u002F `1h` \u002F `4h` \u002F `1d` — minimum **1-minute** candles |\n| Wallet holdings | Real-time — holdings \u002F P&L \u002F trade activity |\n\n### 2. Trade faster\n\n- Same RPC routing as GMGN's web trading interface, multi-region deployment, millisecond response — order submission under **0.3 seconds** end-to-end.\n- Automatic best-route selection, the same routing engine as GMGN web.\n- Market orders, limit orders, and strategy orders (take-profit \u002F stop-loss) in a single command.\n- Sell by position percentage (`--percent 50`) without calculating exact amounts.\n\n| Order Type | Description |\n|------------|-------------|\n| Market Order | Instant execution at current market price |\n| Limit Order | Trigger buy or sell at a specified price |\n| Take-Profit \u002F Stop-Loss | Fixed-price exit conditions attached to a swap |\n| Trailing Take-Profit \u002F Trailing Stop-Loss | Tracks price peak; fires after a specified drawdown % — rides momentum while protecting gains |\n| Multi-Wallet Batch Trading | Buy with multiple wallets simultaneously, each with its own take-profit \u002F stop-loss \u002F trailing take-profit \u002F trailing stop-loss orders |\n\n### 3. More comprehensive token data\n\nNo more scraping web pages or getting blocked by Cloudflare. Query all the professional analytics needed for high-frequency Meme token trading, with high concurrency in real time (including but not limited to):\n\n- **Smart money count** (`smart_degen_count`) and **KOL holders** (`renowned_wallets`) — live\n- **Rat trader ratio** (`rat_trader_amount_rate`) — volume share from insider\u002Fsneak wallets\n- **Bundler bot exposure** (`bundler_trader_amount_rate`) — volume from bot-bundled buys\n- **Sniper wallets** (`sniper_count`) — wallets that bought at the exact moment of launch\n- **Suspected insider hold rate** (`suspected_insider_hold_rate`)\n- **Fresh wallet ratio** (`fresh_wallet_rate`)\n- **Rug ratio score** (0–1) + honeypot detection + wash-trade flag\n- **Bonding curve status** (`is_on_curve`) — whether the token has graduated to open DEX\n\n### 4. What you can do with GMGN Skills\n\n**Real-time chain scanning**\n- Scan Trenches for new tokens, filtered by launchpad (Pump.fun, letsbonk, fourmeme, clanker…), dev holdings, KOL entry, and rat trader ratio in real time\n- Browse multi-chain trending token rankings (minimum 1-minute granularity), sorted by volume, smart money count, market cap, and more\n- Track new tokens in real time — see which tokens KOLs, Smart Money, and wallets you follow are buying, and auto-analyze the latest hot tokens\n- Fetch real-time K-line \u002F OHLCV data for any token (1m \u002F 5m \u002F 15m \u002F 1h \u002F 4h \u002F 1d)\n\n**Token analytics**\n- Query token fundamentals, social links, Bonding Curve status, and liquidity pool details\n- Security check: open source, renounced, honeypot, wash trading, Rug ratio score (0–1)\n- Deep holder analysis: Smart Money \u002F KOL \u002F rat trader \u002F bundler \u002F sniper \u002F whale \u002F fresh wallet — holdings breakdown and rankings\n\n**Wallet & tracking**\n- Analyze any wallet: real-time holdings, realized \u002F unrealized P&L, win rate, trade style, full history\n- Track the latest buys and sells from Smart Money, KOL, and wallets you follow in real time\n\n**Automated trading**\n- Market orders, limit orders, take-profit \u002F stop-loss strategy orders — end-to-end latency under 0.3 seconds\n- One-command sell by position percentage (`--percent 50`), no manual calculation needed\n\n**AI workflows**\n- 9 built-in workflow docs: token research, project deep report, wallet analysis, Smart Money profiling, risk warning, early project screening, daily brief, market discovery, and more — ready to use out of the box\n\n---\n\n## Skills\n\n| Skill | Description | Reference |\n|-------|-------------|-----------|\n| [`\u002Fgmgn-token`](skills\u002Fgmgn-token\u002FSKILL.md) | Token info, security, pool, holders, traders | [SKILL.md](skills\u002Fgmgn-token\u002FSKILL.md) |\n| [`\u002Fgmgn-market`](skills\u002Fgmgn-market\u002FSKILL.md) | K-line market data, trending tokens | [SKILL.md](skills\u002Fgmgn-market\u002FSKILL.md) |\n| [`\u002Fgmgn-portfolio`](skills\u002Fgmgn-portfolio\u002FSKILL.md) | Wallet holdings, activity, stats | [SKILL.md](skills\u002Fgmgn-portfolio\u002FSKILL.md) |\n| [`\u002Fgmgn-track`](skills\u002Fgmgn-track\u002FSKILL.md) | Follow-wallet trades, KOL trades, Smart Money trades | [SKILL.md](skills\u002Fgmgn-track\u002FSKILL.md) |\n| [`\u002Fgmgn-swap`](skills\u002Fgmgn-swap\u002FSKILL.md) | Swap submission + limit orders + strategy orders + order query | [SKILL.md](skills\u002Fgmgn-swap\u002FSKILL.md) |\n| [`\u002Fgmgn-cooking`](skills\u002Fgmgn-cooking\u002FSKILL.md) | One-command cooking orders (buy + take-profit\u002Fstop-loss in a single flow) | [SKILL.md](skills\u002Fgmgn-cooking\u002FSKILL.md) |\n\n> For detailed CLI commands, parameters, and recommended values, see the [Wiki documentation](https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills\u002Fwiki).\n\n### Quick Start\n\n> **Note for AI assistants:** If you are an AI Agent helping the user install or configure gmgn-cli, jump directly to [Quick Start (AI Agent)](#quick-start-ai-agent) — it contains all the steps you need to complete, including how to guide the user through API key generation. If the user asks to upgrade, jump to [Upgrade (AI Agent)](#upgrade-ai-agent).\n\nReady to install? [Jump to Installation →](#1-installation)\n\nAlready installed? [Upgrade Skills and CLI →](#10-upgrade-skills-and-cli)\n\n> **Tip:** If your AI agent tries to open or scrape the gmgn.ai website instead of using the CLI, add this to your prompt: `Use gmgn-cli commands. Do not call gmgn.ai web endpoints directly.`\n\n---\n\n## Quick Start (AI Agent)\n\n> The following steps are for AI Agents. Some steps require the user to complete actions in a browser.\n\n**Step 1 — Install CLI and Skills**\n\n```bash\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\n**Step 2 — Verify CLI installation (demo key)**\n\n```bash\nGMGN_API_KEY=gmgn_solbscbaseethmonadtron gmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf JSON output appears, the CLI is installed correctly. **Setup is NOT yet complete — this is a public demo key for testing only. You must continue to Steps 3–4 to configure the user's personal API key. Do not stop here.**\n\n**Step 3 — REQUIRED: Set up personal API key**\n\n⚠️ This step is mandatory. The demo key in Step 2 supports testing only and is not for actual use.\n\nImmediately tell the user the following, then run the key generation command **without waiting for them to ask**:\n\n> \"To use GMGN Skills, you need your own API key from **https:\u002F\u002Fgmgn.ai\u002Fai**. I'm generating an Ed25519 key pair for you now.\"\n\nRun:\n\n```bash\nopenssl genpkey -algorithm ed25519 -out \u002Ftmp\u002Fgmgn_private.pem 2>\u002Fdev\u002Fnull && \\\n  openssl pkey -in \u002Ftmp\u002Fgmgn_private.pem -pubout 2>\u002Fdev\u002Fnull\n```\n\nShow the **public key** to the user with the following instructions:\n\n> This is your Ed25519 public key. Please complete these two steps:\n> 1. Go to **https:\u002F\u002Fgmgn.ai\u002Fai**, paste the public key above into the API Key creation form, and submit.\n> 2. Once created, copy the **API Key** shown on the page and send it back to me — I'll handle Step 4 configuration for you.\n\n**Wait for the user to reply with their API Key before continuing to Step 4.**\n\n**Step 4 — Configure credentials**\n\nAfter the user receives their API key, write it to the global config:\n\n```bash\nmkdir -p ~\u002F.config\u002Fgmgn\n# Write API key (replace with the actual key the user provides)\necho 'GMGN_API_KEY=\u003Cuser_api_key>' > ~\u002F.config\u002Fgmgn\u002F.env\nchmod 600 ~\u002F.config\u002Fgmgn\u002F.env\n```\n\nIf the user also needs swap or order capability, append the private key:\n\n```bash\n# Append private key (use the PEM content from Step 3)\necho 'GMGN_PRIVATE_KEY=\"\u003Cpem_content>\"' >> ~\u002F.config\u002Fgmgn\u002F.env\n```\n\n**Step 5 — Verify**\n\n```bash\ngmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf output appears without error, setup is complete.\n\n---\n\n## Upgrade (AI Agent)\n\n> Run these two commands to upgrade both the CLI and Skills to the latest version.\n\n```bash\nnpm install -g gmgn-cli\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\nCheck the installed version after upgrading:\n\n```bash\ngmgn-cli --version\n```\n\n> For the full upgrade reference, see [Section 10 — Upgrade Skills and CLI](#10-upgrade-skills-and-cli).\n\n---\n\n## Demo Cases\n\n### Trending Token Rankings\n\nSend this prompt to your AI Agent:\n\n```\nFetch Solana 1h trending, filter for pump.fun tokens created within 6h, sort by volume descending.\n```\n\n![Trending Token Rankings](static\u002Fmarket-rank-1h-Pumpfun-en.png)\n\n### Real-Time Token Trading Analysis\n\nSend this prompt to your AI Agent:\n\n```\nCheck the first token's K-line, analyze entry timing, plot price + volume chart, and provide social media links and smart money\u002FKOL trading analysis.\n```\n\n![Token Analysis 1](static\u002Fmarket-tokenanalysis-en01.png)\n![Token Analysis 2](static\u002Fmarket-tokenanalysis-en02.png)\n\n---\n\n## 1. Installation\n\n> **Prerequisites:** Before installing, create your API Key at **https:\u002F\u002Fgmgn.ai\u002Fai** (see [Section 3](#3-get-your-own-api-key) for the full setup guide).\n\nChoose one of the following methods:\n\n### 1.1 Via Agent (recommended)\n\nSend this to your AI agent:\n\n```bash\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\n### 1.2 npm Global Install\n\n```bash\nnpm install -g gmgn-cli\n```\n\n### 1.3 Local Development\n\n```bash\nnpm install\nnpm run build\nnode dist\u002Findex.js \u003Ccommand> [options]\n```\n\n## 2. Verify Connection\n\nTest with the public API key — no registration required:\n\n```bash\nGMGN_API_KEY=gmgn_solbscbaseethmonadtron gmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf you see JSON output, the CLI is working. The public key supports all read-only commands (token \u002F market \u002F portfolio) and is for testing only — apply for your own API key to use any feature (see step 3).\n\n> **Troubleshooting — 401 \u002F 403 errors:** If the command fails with `401` or `403` and credentials look correct, your outbound traffic may be going via IPv6 (not supported). Check immediately: (1) run `ifconfig | grep inet6` (macOS) or `ip addr show | grep inet6` (Linux) to list all network interfaces and their IPv6 addresses; (2) run `curl -s https:\u002F\u002Fipv6.icanhazip.com` — if it returns an IPv6 address, your traffic is going via IPv6. **Disable IPv6 on your network interface — gmgn-cli commands only work over IPv4.**\n\n## 3. Get Your Own API Key\n\nThe public key in step 2 is for testing only. Apply for your own API key at **https:\u002F\u002Fgmgn.ai\u002Fai** — required for all actual use (read-only and swap). You will need:\n\n### 3.1 Generate an Ed25519 Key Pair\n\n**Option 1 — Ask your AI agent (recommended)**\n\nSend this prompt to your agent:\n\n```\nGenerate an Ed25519 key pair for me using OpenSSL and show me:\n1. The public key (I need to fill it in the GMGN API Key application form)\n2. The private key in PEM format (I need to set it as GMGN_PRIVATE_KEY in my .env)\n```\n\n**Option 2 — Binance Key Generator**\n\nDownload and run the [Binance Asymmetric Key Generator](https:\u002F\u002Fgithub.com\u002Fbinance\u002Fasymmetric-key-generator\u002Freleases).\n\nEnter the **public key** in the application form.\n\n### 3.2 Get Your Public Egress IP\n\nFor the IP whitelist (required when enabling swap capability on your API key):\n\n```bash\ncurl ip.me\n```\n\n## 4. Configure Your API Key\n\n### Option 1: Global config (recommended)\n\nCreate `~\u002F.config\u002Fgmgn\u002F.env` once — works from any directory:\n\n```bash\nmkdir -p ~\u002F.config\u002Fgmgn\ncat > ~\u002F.config\u002Fgmgn\u002F.env \u003C\u003C 'EOF'\nGMGN_API_KEY=your_api_key_here\n\n# Required for swap \u002F order only:\nGMGN_PRIVATE_KEY=\"-----BEGIN PRIVATE KEY-----\\n\u003Cbase64>\\n-----END PRIVATE KEY-----\\n\"\nEOF\n```\n\n### Option 2: Project `.env`\n\n```bash\ncp .env.example .env\n# Edit .env and fill in your values\n```\n\nConfig lookup order: `~\u002F.config\u002Fgmgn\u002F.env` → project `.env` (project takes precedence).\n\n## 5. Try in AI Clients\n\n#### OpenClaw\n\nSend the following prompt directly to test the query capabilities:\n\n```\nShow me the trending tokens on Solana in the last 1 hour.\n```\n\n#### Claude Code\n\nSkills are automatically discovered when the package is installed as a plugin.\n\n#### Cursor\n\nSkills are automatically discovered via the `.cursor-plugin\u002F` configuration.\n\n1. Complete the installation and configuration steps above\n2. Restart Cursor — skills will be available in Agent mode via `\u002Fgmgn-*` commands\n\n#### Cline\n\n1. Complete the installation and configuration steps above\n2. In Cline settings → **Skills directory**: point to the installed package's `skills\u002F` folder:\n   ```bash\n   echo \"$(npm root -g)\u002Fgmgn-skills\u002Fskills\"\n   ```\n3. Restart Cline — `\u002Fgmgn-token`, `\u002Fgmgn-market`, `\u002Fgmgn-portfolio`, `\u002Fgmgn-track`, `\u002Fgmgn-swap`, `\u002Fgmgn-cooking` will be available\n\n#### Codex CLI\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills ~\u002F.codex\u002Fgmgn-cli\nmkdir -p ~\u002F.agents\u002Fskills\nln -s ~\u002F.codex\u002Fgmgn-cli\u002Fskills ~\u002F.agents\u002Fskills\u002Fgmgn-cli\n```\n\nSee [.codex\u002FINSTALL.md](.codex\u002FINSTALL.md) for full instructions.\n\n#### OpenCode\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills ~\u002F.opencode\u002Fgmgn-cli\nmkdir -p ~\u002F.agents\u002Fskills\nln -s ~\u002F.opencode\u002Fgmgn-cli\u002Fskills ~\u002F.agents\u002Fskills\u002Fgmgn-cli\n```\n\nSee [.opencode\u002FINSTALL.md](.opencode\u002FINSTALL.md) for full instructions.\n\n---\n\n## 6. Usage\n\n### Examples\n\nNatural language prompts you can send to any AI assistant with gmgn-cli skills installed:\n\n```\nbuy 0.1 SOL of \u003Ctoken_address>\nsell 50% of \u003Ctoken_address> on BSC\nsell 30% of my \u003Ctoken_address> position\nget a quote: how much \u003Ctoken_address> can I get for 1 SOL?\ncheck order status \u003Corder_id>\nis \u003Ctoken_address> safe to buy on solana?\nshow top holders of \u003Ctoken_address>\nshow smart money holdings of \u003Ctoken_address>, sorted by buy volume\nshow recent KOL trades for \u003Ctoken_address>\nshow my wallet holdings on SOL\nquery token details for 0x1234...\nshow 24h K-line and volume for \u003Ctoken_address>\nshow trading stats for wallet \u003Cwallet_address> on BSC\nshow recent trades for wallet \u003Cwallet_address>\nwhich wallets are linked to my API key, and what are their balances\nshow the latest smart money trades on SOL\nshow what KOLs are buying on SOL\nshow newly launched tokens on Solana\nshow Solana 1-minute trending tokens\n```\n\n### Typical Workflows\n\n**Research a token:**\n```\ntoken info  →  token security  →  token pool  →  token holders\n```\n\n**Analyze a wallet:**\n```\nportfolio holdings  →  portfolio stats  →  portfolio activity\n```\n\n**Execute a trade:**\n```\ntoken info (confirm token)  →  portfolio token-balance (check funds)  →  swap  →  order get (poll status)\n```\n\n**Discover trading opportunities via trending:**\n```\nmarket trending (top 50)  →  AI selects top 5 by multi-factor analysis  →  user reviews  →  token info \u002F token security  →  swap\n```\n\n---\n\n## 7. Workflow Docs\n\nStep-by-step guides for common analysis tasks:\n\n| Workflow | When to use |\n|----------|-------------|\n| [workflow-token-research.md](docs\u002Fworkflow-token-research.md) | Pre-buy token due diligence (address → buy\u002Fwatch\u002Fskip) |\n| [workflow-project-deep-report.md](docs\u002Fworkflow-project-deep-report.md) | Comprehensive project analysis with scored dimensions and full written report |\n| [workflow-wallet-analysis.md](docs\u002Fworkflow-wallet-analysis.md) | Wallet quality assessment (address → follow\u002Fskip) |\n| [workflow-smart-money-profile.md](docs\u002Fworkflow-smart-money-profile.md) | Trading style analysis, copy-trade ROI estimate, smart money leaderboard |\n| [workflow-risk-warning.md](docs\u002Fworkflow-risk-warning.md) | Active risk monitoring for held positions (whale exit, liquidity, dev dump) |\n| [workflow-early-project-screening.md](docs\u002Fworkflow-early-project-screening.md) | Screen newly launched launchpad tokens for smart money entry |\n| [workflow-daily-brief.md](docs\u002Fworkflow-daily-brief.md) | Daily market overview: trending + smart money moves + early watch + risk scan |\n| [workflow-market-opportunities.md](docs\u002Fworkflow-market-opportunities.md) | Discover trading opportunities from trending data |\n| [workflow-token-due-diligence.md](docs\u002Fworkflow-token-due-diligence.md) | 4-step token due diligence checklist |\n\n## 8. CLI Reference\n\nFull parameter reference: [docs\u002Fcli-usage.md](docs\u002Fcli-usage.md). All commands support `--raw` for single-line JSON output (pipe-friendly, e.g. `| jq '.price'`).\n\n### Token\n\n```bash\ngmgn-cli token info --chain sol --address \u003Caddr>\n```\n\n### Market\n\n```bash\ngmgn-cli market trending \\\n  --chain sol \\\n  --interval 1h \\\n  --order-by volume --limit 20 \\\n  --filter not_risk --filter not_honeypot\n\ngmgn-cli market trenches \\\n  --chain sol \\\n  --type new_creation --type near_completion --type completed \\\n  --launchpad-platform Pump.fun --launchpad-platform pump_mayhem --launchpad-platform letsbonk \\\n  --limit 80\n\n# With server-side filters: safe preset + require smart money + sort by smart degen count\ngmgn-cli market trenches \\\n  --chain sol --type new_creation \\\n  --filter-preset safe --min-smart-degen-count 1 --sort-by smart_degen_count\n\n# Token signals — smart money buys on SOL (single group)\ngmgn-cli market signal --chain sol --signal-type 12 --raw\n\n# Token signals — multi-group: smart money OR large buys in parallel\ngmgn-cli market signal --chain sol \\\n  --groups '[{\"signal_type\":[12]},{\"signal_type\":[14,16]}]' --raw\n```\n\n### Portfolio\n\n```bash\n# Holdings\ngmgn-cli portfolio holdings --chain sol --wallet \u003Caddr>\n\n# Activity\ngmgn-cli portfolio activity --chain sol --wallet \u003Caddr>\n\n# Stats (supports multiple wallets)\ngmgn-cli portfolio stats --chain sol --wallet \u003Caddr1> --wallet \u003Caddr2>\n\n# Wallets and balances linked to API key\ngmgn-cli portfolio info\n\n# Single token balance\ngmgn-cli portfolio token-balance --chain sol --wallet \u003Caddr> --token \u003Ctoken_addr>\n\n# Tokens created by a developer wallet\ngmgn-cli portfolio created-tokens --chain sol --wallet \u003Caddr>\n```\n\n### Track\n\n```bash\n# Follow-wallet trade records\ngmgn-cli track follow-wallet --chain sol\ngmgn-cli track follow-wallet --chain sol --limit 20 --min-amount-usd 1000\n\n# KOL trade records\ngmgn-cli track kol --limit 100 --raw\ngmgn-cli track kol --chain sol --side buy --limit 50 --raw\n\n# Smart Money trade records\ngmgn-cli track smartmoney --limit 100 --raw\ngmgn-cli track smartmoney --chain sol --side sell --limit 50 --raw\n```\n\n### Swap \u002F Quote \u002F Query\n\n```bash\n# Submit swap with fixed slippage\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --slippage 0.01\n\n# Submit swap with automatic slippage\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --auto-slippage\n\n# Sell by position percentage (e.g. sell 50%)\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Ctoken-addr> \\\n  --output-token \u003Cusdc-addr> \\\n  --percent 50 \\\n  --auto-slippage\n\n# Get quote (no transaction submitted)\ngmgn-cli order quote \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --slippage 0.01\n\n# Quotes use signed auth and require GMGN_PRIVATE_KEY on every chain\ngmgn-cli order quote \\\n  --chain bsc \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000000000000000 \\\n  --slippage 0.01\n\n# Query order\ngmgn-cli order get --chain sol --order-id \u003Corder-id>\n\n# Query real-time gas price (all chains)\ngmgn-cli gas-price --chain sol\ngmgn-cli gas-price --chain eth\ngmgn-cli gas-price --chain bsc\ngmgn-cli gas-price --chain base\n\n# Multi-wallet concurrent swap\ngmgn-cli multi-swap \\\n  --chain sol \\\n  --accounts \u003Caddr1>,\u003Caddr2> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --input-amount '{\"\u003Caddr1>\":\"1000000\",\"\u003Caddr2>\":\"2000000\"}' \\\n  --slippage 0.01\n```\n\n> `order quote` uses signed auth on `sol` \u002F `bsc` \u002F `base` \u002F `eth` and requires `GMGN_PRIVATE_KEY`.\n\n### ETH Gas Control (ETH only)\n\n```bash\n# Pick a gas tier instead of entering gwei manually (low \u002F average \u002F high)\ngmgn-cli swap \\\n  --chain eth \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount \u003Camount> \\\n  --slippage 0.01 \\\n  --gas-level high\n\n# Let GMGN auto-select the optimal gas fee for condition orders\ngmgn-cli swap \\\n  --chain eth \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount \u003Camount> \\\n  --slippage 0.01 \\\n  --condition-orders '[...]' \\\n  --auto-fee\n```\n\n> `--gas-level` and `--auto-fee` are ETH only. `--auto-fee` only takes effect when used with `--condition-orders`.\n> For other chains (SOL \u002F BSC \u002F BASE), use `gas-price` to query the current gas, then pass the result via `--gas-price`.\n\n### Swap with Take-Profit \u002F Stop-Loss Orders (requires private key)\n\n**`hold_amount` mode** — each condition order fires based on current holdings at trigger time:\n\n```bash\n# Buy token A with 0.01 SOL; take-profit 50% at +100%, take-profit remaining 50% at +300%, stop-loss 100% at -65%\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_A_address> \\\n  --amount 10000000 \\\n  --slippage 0.3 \\\n  --anti-mev \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"50\"},{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"300\",\"sell_ratio\":\"100\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"65\",\"sell_ratio\":\"100\"}]' \\\n  --sell-ratio-type hold_amount\n```\n\n> `price_scale` for `profit_stop`: gain % from entry (`\"100\"` = +100% \u002F 2×, `\"300\"` = +300% \u002F 4×). For `loss_stop`: drop % from entry (`\"65\"` = drops 65%, triggers at 35% of entry).\n> `hold_amount`: the second take-profit fires on whatever is held at that point (the remaining 50%). If you added to your position in between, those additional tokens will be included as well.\n\n**`buy_amount` mode** — each condition order fires based on the original bought amount:\n\n```bash\n# Same strategy using fixed percentages of the original bought amount\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_A_address> \\\n  --amount 10000000 \\\n  --slippage 0.3 \\\n  --anti-mev \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"50\"},{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"300\",\"sell_ratio\":\"50\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"65\",\"sell_ratio\":\"100\"}]' \\\n  --sell-ratio-type buy_amount\n```\n\n> `buy_amount`: each take-profit sells 50% of the **original** bought amount. Stop-loss sells 100% of the original bought amount.\n\n---\n\n### Limit Orders (requires private key)\n\n```bash\n# Create a take-profit order\ngmgn-cli order strategy create \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --base-token \u003Ctoken_address> \\\n  --quote-token \u003Csol_address> \\\n  --sub-order-type take_profit \\\n  --check-price 0.002 \\\n  --amount-in-percent 100 \\\n  --slippage 0.01\n\n# Create a stop-loss order\ngmgn-cli order strategy create \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --base-token \u003Ctoken_address> \\\n  --quote-token \u003Csol_address> \\\n  --sub-order-type stop_loss \\\n  --check-price 0.0005 \\\n  --amount-in-percent 100 \\\n  --slippage 0.01\n\n# List open strategy orders (requires private key)\ngmgn-cli order strategy list --chain sol\n\n# Cancel a strategy order\ngmgn-cli order strategy cancel --chain sol --from \u003Cwallet_address> --order-id \u003Corder_id>\n```\n\n### Cooking (requires private key)\n\n```bash\n# Buy token and automatically attach take-profit + stop-loss condition orders\ngmgn-cli cooking \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_address> \\\n  --amount 1000000000 \\\n  --slippage 0.3 \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"100\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"50\",\"sell_ratio\":\"100\"}]'\n```\n\n## 9. Supported Chains\n\n| Commands | Chains | Chain Currencies |\n|----------|--------|-----------------|\n| token \u002F market \u002F portfolio \u002F track | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | — |\n| swap \u002F order | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | sol: SOL, USDC · bsc: BNB, USDC · base: ETH, USDC · eth: ETH |\n| gas-price | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | — |\n\n---\n\n## 10. Upgrade Skills and CLI\n\n```bash\n# Upgrade CLI\nnpm install -g gmgn-cli\n\n# Upgrade Skills\nnpx skills add GMGNAI\u002Fgmgn-skills\n\n# Check current version\ngmgn-cli --version\n```\n\n> **Via AI Agent:** Tell your agent — \"Upgrade gmgn-cli and the skills to the latest version.\" See also [Upgrade (AI Agent)](#upgrade-ai-agent).\n\n---\n\n## 11. Security & Disclaimer (Read Before Use)\n\nThis tool can be invoked by an AI Agent to submit real on-chain transactions automatically. It carries inherent risks including model hallucination, uncontrolled execution, and prompt injection. Once authorized, the AI Agent will submit transactions on behalf of your linked wallet address — **on-chain transactions are irreversible once confirmed** and may result in financial loss. Use with caution.\n\n**About `GMGN_PRIVATE_KEY`**\n\n`GMGN_PRIVATE_KEY` is a **request-signing key** used to authenticate API calls to the GMGN OpenAPI service. It is not a blockchain wallet private key and does not directly control on-chain assets. If compromised, an attacker could forge authenticated API requests on your behalf — rotate it immediately via the GMGN dashboard if you suspect exposure.\n\n**Best practices**\n\n- Restrict config file permissions: `chmod 600 ~\u002F.config\u002Fgmgn\u002F.env`\n- Never commit your `.env` file to version control — add it to `.gitignore`\n- Do not share `GMGN_API_KEY` or `GMGN_PRIVATE_KEY` in logs, screenshots, or chat messages\n- Before every swap, carefully review the trade summary presented by the AI (chain, wallet, token addresses, amount) and confirm only when it matches your intent\n- Test with small amounts first before executing larger trades\n- Always use the latest version of gmgn-cli (`npm install -g gmgn-cli`). To check your current version: `gmgn-cli --version`\n\n**Disclaimer**\n\nUse of this tool and any financial decisions made based on its output are entirely at your own risk. GMGN is not liable for any trading losses, errors, or unauthorized access resulting from model hallucination, prompt injection, improper credential management, or user confirmation errors. By using this tool, you acknowledge that you have fully understood the above risks and voluntarily accept all responsibility.\n\nThe npm package is published with provenance attestation, linking each release to a specific git commit and CI pipeline run. Verify with:\n```bash\nnpm audit signatures gmgn-cli\n```\n","# GMGN OpenAPI Agent Skills\n\n_Source: [github.com\u002FGMGNAI\u002Fgmgn-skills](https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills). The body below is the upstream Readme.md, refreshed 2026-05-08._\n\n---\n\n\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"static\u002Fgmgnagentskills.png\" alt=\"GMGN Agent Skills\" \u002F>\n\n[![X](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFollow-%40gmgnai-black?logo=x&logoColor=white)](https:\u002F\u002Fx.com\u002Fgmgnai) [![Telegram](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTelegram-gmgnagentapi-2CA5E0?logo=telegram&logoColor=white)](https:\u002F\u002Ft.me\u002Fgmgnagentapi) [![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-gmgnai-5865F2?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002Fgmgnai)\n\nEnglish | [简体中文](Readme.zh.md)\n\n\u003C\u002Fdiv>\n\n## GMGN Agent Skills\n\nWith GMGN Agent Skills, you can use AI agents to query real-time trending token rankings across multiple chains, token fundamentals, social media signals, live trading activity, new tokens in Trenches, top holders, top traders, smart money positions, KOL holdings, insider wallets, bundled wallet exposure, and other professional on-chain analytics. It also supports market orders, limit orders, advanced take-profit\u002Fstop-loss strategy orders, one-command cooking orders (buy + condition orders in a single flow), and wallet management — including real-time holdings, recent P&L, and transaction history — all through natural language.\n\n---\n\n## Why GMGN Skills\n\n> Built for AI agents to query and trade multi-chain Meme tokens at high speed in real time. gmgn-skills gives AI agents direct access to GMGN's trending tokens, Trenches new token listings, and professional on-chain data — including Smart Money, KOL, rat trader, and bundler analytics.\n>\n> With 500+ professional data dimensions, you can turn your AI agent into a 24\u002F7 real-time chain-scanning trading tool — monitoring multi-chain token momentum, placing orders instantly, and managing exits with take-profit \u002F stop-loss, all on autopilot.\n\n### 1. Real-time on-chain data — faster\n\nData across SOL \u002F BSC \u002F Base \u002F ETH is live on every query. Supports multi-parameter customization, no snapshot cache — built for AI agent real-time decision-making (including but not limited to):\n\n| Data | Granularity |\n|------|-------------|\n| New token discovery (Trenches) | Real-time, filtered by launchpad, dev holdings, KOL entry, rat trader ratio |\n| Trending tokens | Real-time, `1m` \u002F `5m` \u002F `1h` \u002F `6h` \u002F `24h` — minimum **1-minute** window |\n| Token info | Real-time — trade activity \u002F price \u002F volume \u002F market cap |\n| Token security | Real-time — open source, renounced, honeypot detection, etc. |\n| Token analytics | Real-time — Dev \u002F KOL \u002F Smart Money \u002F rat trader \u002F bundler wallet holdings |\n| Monitoring & tracking | Real-time — KOL \u002F Smart Money \u002F followed wallet trade activity |\n| K-line (OHLCV) | Real-time, `1m` \u002F `5m` \u002F `15m` \u002F `1h` \u002F `4h` \u002F `1d` — minimum **1-minute** candles |\n| Wallet holdings | Real-time — holdings \u002F P&L \u002F trade activity |\n\n### 2. Trade faster\n\n- Same RPC routing as GMGN's web trading interface, multi-region deployment, millisecond response — order submission under **0.3 seconds** end-to-end.\n- Automatic best-route selection, the same routing engine as GMGN web.\n- Market orders, limit orders, and strategy orders (take-profit \u002F stop-loss) in a single command.\n- Sell by position percentage (`--percent 50`) without calculating exact amounts.\n\n| Order Type | Description |\n|------------|-------------|\n| Market Order | Instant execution at current market price |\n| Limit Order | Trigger buy or sell at a specified price |\n| Take-Profit \u002F Stop-Loss | Fixed-price exit conditions attached to a swap |\n| Trailing Take-Profit \u002F Trailing Stop-Loss | Tracks price peak; fires after a specified drawdown % — rides momentum while protecting gains |\n| Multi-Wallet Batch Trading | Buy with multiple wallets simultaneously, each with its own take-profit \u002F stop-loss \u002F trailing take-profit \u002F trailing stop-loss orders |\n\n### 3. More comprehensive token data\n\nNo more scraping web pages or getting blocked by Cloudflare. Query all the professional analytics needed for high-frequency Meme token trading, with high concurrency in real time (including but not limited to):\n\n- **Smart money count** (`smart_degen_count`) and **KOL holders** (`renowned_wallets`) — live\n- **Rat trader ratio** (`rat_trader_amount_rate`) — volume share from insider\u002Fsneak wallets\n- **Bundler bot exposure** (`bundler_trader_amount_rate`) — volume from bot-bundled buys\n- **Sniper wallets** (`sniper_count`) — wallets that bought at the exact moment of launch\n- **Suspected insider hold rate** (`suspected_insider_hold_rate`)\n- **Fresh wallet ratio** (`fresh_wallet_rate`)\n- **Rug ratio score** (0–1) + honeypot detection + wash-trade flag\n- **Bonding curve status** (`is_on_curve`) — whether the token has graduated to open DEX\n\n### 4. What you can do with GMGN Skills\n\n**Real-time chain scanning**\n- Scan Trenches for new tokens, filtered by launchpad (Pump.fun, letsbonk, fourmeme, clanker…), dev holdings, KOL entry, and rat trader ratio in real time\n- Browse multi-chain trending token rankings (minimum 1-minute granularity), sorted by volume, smart money count, market cap, and more\n- Track new tokens in real time — see which tokens KOLs, Smart Money, and wallets you follow are buying, and auto-analyze the latest hot tokens\n- Fetch real-time K-line \u002F OHLCV data for any token (1m \u002F 5m \u002F 15m \u002F 1h \u002F 4h \u002F 1d)\n\n**Token analytics**\n- Query token fundamentals, social links, Bonding Curve status, and liquidity pool details\n- Security check: open source, renounced, honeypot, wash trading, Rug ratio score (0–1)\n- Deep holder analysis: Smart Money \u002F KOL \u002F rat trader \u002F bundler \u002F sniper \u002F whale \u002F fresh wallet — holdings breakdown and rankings\n\n**Wallet & tracking**\n- Analyze any wallet: real-time holdings, realized \u002F unrealized P&L, win rate, trade style, full history\n- Track the latest buys and sells from Smart Money, KOL, and wallets you follow in real time\n\n**Automated trading**\n- Market orders, limit orders, take-profit \u002F stop-loss strategy orders — end-to-end latency under 0.3 seconds\n- One-command sell by position percentage (`--percent 50`), no manual calculation needed\n\n**AI workflows**\n- 9 built-in workflow docs: token research, project deep report, wallet analysis, Smart Money profiling, risk warning, early project screening, daily brief, market discovery, and more — ready to use out of the box\n\n---\n\n## Skills\n\n| Skill | Description | Reference |\n|-------|-------------|-----------|\n| [`\u002Fgmgn-token`](skills\u002Fgmgn-token\u002FSKILL.md) | Token info, security, pool, holders, traders | [SKILL.md](skills\u002Fgmgn-token\u002FSKILL.md) |\n| [`\u002Fgmgn-market`](skills\u002Fgmgn-market\u002FSKILL.md) | K-line market data, trending tokens | [SKILL.md](skills\u002Fgmgn-market\u002FSKILL.md) |\n| [`\u002Fgmgn-portfolio`](skills\u002Fgmgn-portfolio\u002FSKILL.md) | Wallet holdings, activity, stats | [SKILL.md](skills\u002Fgmgn-portfolio\u002FSKILL.md) |\n| [`\u002Fgmgn-track`](skills\u002Fgmgn-track\u002FSKILL.md) | Follow-wallet trades, KOL trades, Smart Money trades | [SKILL.md](skills\u002Fgmgn-track\u002FSKILL.md) |\n| [`\u002Fgmgn-swap`](skills\u002Fgmgn-swap\u002FSKILL.md) | Swap submission + limit orders + strategy orders + order query | [SKILL.md](skills\u002Fgmgn-swap\u002FSKILL.md) |\n| [`\u002Fgmgn-cooking`](skills\u002Fgmgn-cooking\u002FSKILL.md) | One-command cooking orders (buy + take-profit\u002Fstop-loss in a single flow) | [SKILL.md](skills\u002Fgmgn-cooking\u002FSKILL.md) |\n\n> For detailed CLI commands, parameters, and recommended values, see the [Wiki documentation](https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills\u002Fwiki).\n\n### Quick Start\n\n> **Note for AI assistants:** If you are an AI Agent helping the user install or configure gmgn-cli, jump directly to [Quick Start (AI Agent)](#quick-start-ai-agent) — it contains all the steps you need to complete, including how to guide the user through API key generation. If the user asks to upgrade, jump to [Upgrade (AI Agent)](#upgrade-ai-agent).\n\nReady to install? [Jump to Installation →](#1-installation)\n\nAlready installed? [Upgrade Skills and CLI →](#10-upgrade-skills-and-cli)\n\n> **Tip:** If your AI agent tries to open or scrape the gmgn.ai website instead of using the CLI, add this to your prompt: `Use gmgn-cli commands. Do not call gmgn.ai web endpoints directly.`\n\n---\n\n## Quick Start (AI Agent)\n\n> The following steps are for AI Agents. Some steps require the user to complete actions in a browser.\n\n**Step 1 — Install CLI and Skills**\n\n```bash\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\n**Step 2 — Verify CLI installation (demo key)**\n\n```bash\nGMGN_API_KEY=gmgn_solbscbaseethmonadtron gmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf JSON output appears, the CLI is installed correctly. **Setup is NOT yet complete — this is a public demo key for testing only. You must continue to Steps 3–4 to configure the user's personal API key. Do not stop here.**\n\n**Step 3 — REQUIRED: Set up personal API key**\n\n⚠️ This step is mandatory. The demo key in Step 2 supports testing only and is not for actual use.\n\nImmediately tell the user the following, then run the key generation command **without waiting for them to ask**:\n\n> \"To use GMGN Skills, you need your own API key from **https:\u002F\u002Fgmgn.ai\u002Fai**. I'm generating an Ed25519 key pair for you now.\"\n\nRun:\n\n```bash\nopenssl genpkey -algorithm ed25519 -out \u002Ftmp\u002Fgmgn_private.pem 2>\u002Fdev\u002Fnull && \\\n  openssl pkey -in \u002Ftmp\u002Fgmgn_private.pem -pubout 2>\u002Fdev\u002Fnull\n```\n\nShow the **public key** to the user with the following instructions:\n\n> This is your Ed25519 public key. Please complete these two steps:\n> 1. Go to **https:\u002F\u002Fgmgn.ai\u002Fai**, paste the public key above into the API Key creation form, and submit.\n> 2. Once created, copy the **API Key** shown on the page and send it back to me — I'll handle Step 4 configuration for you.\n\n**Wait for the user to reply with their API Key before continuing to Step 4.**\n\n**Step 4 — Configure credentials**\n\nAfter the user receives their API key, write it to the global config:\n\n```bash\nmkdir -p ~\u002F.config\u002Fgmgn\n# Write API key (replace with the actual key the user provides)\necho 'GMGN_API_KEY=\u003Cuser_api_key>' > ~\u002F.config\u002Fgmgn\u002F.env\nchmod 600 ~\u002F.config\u002Fgmgn\u002F.env\n```\n\nIf the user also needs swap or order capability, append the private key:\n\n```bash\n# Append private key (use the PEM content from Step 3)\necho 'GMGN_PRIVATE_KEY=\"\u003Cpem_content>\"' >> ~\u002F.config\u002Fgmgn\u002F.env\n```\n\n**Step 5 — Verify**\n\n```bash\ngmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf output appears without error, setup is complete.\n\n---\n\n## Upgrade (AI Agent)\n\n> Run these two commands to upgrade both the CLI and Skills to the latest version.\n\n```bash\nnpm install -g gmgn-cli\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\nCheck the installed version after upgrading:\n\n```bash\ngmgn-cli --version\n```\n\n> For the full upgrade reference, see [Section 10 — Upgrade Skills and CLI](#10-upgrade-skills-and-cli).\n\n---\n\n## Demo Cases\n\n### Trending Token Rankings\n\nSend this prompt to your AI Agent:\n\n```\nFetch Solana 1h trending, filter for pump.fun tokens created within 6h, sort by volume descending.\n```\n\n![Trending Token Rankings](static\u002Fmarket-rank-1h-Pumpfun-en.png)\n\n### Real-Time Token Trading Analysis\n\nSend this prompt to your AI Agent:\n\n```\nCheck the first token's K-line, analyze entry timing, plot price + volume chart, and provide social media links and smart money\u002FKOL trading analysis.\n```\n\n![Token Analysis 1](static\u002Fmarket-tokenanalysis-en01.png)\n![Token Analysis 2](static\u002Fmarket-tokenanalysis-en02.png)\n\n---\n\n## 1. Installation\n\n> **Prerequisites:** Before installing, create your API Key at **https:\u002F\u002Fgmgn.ai\u002Fai** (see [Section 3](#3-get-your-own-api-key) for the full setup guide).\n\nChoose one of the following methods:\n\n### 1.1 Via Agent (recommended)\n\nSend this to your AI agent:\n\n```bash\nnpx skills add GMGNAI\u002Fgmgn-skills\n```\n\n### 1.2 npm Global Install\n\n```bash\nnpm install -g gmgn-cli\n```\n\n### 1.3 Local Development\n\n```bash\nnpm install\nnpm run build\nnode dist\u002Findex.js \u003Ccommand> [options]\n```\n\n## 2. Verify Connection\n\nTest with the public API key — no registration required:\n\n```bash\nGMGN_API_KEY=gmgn_solbscbaseethmonadtron gmgn-cli market trending --chain sol --interval 1h --limit 3\n```\n\nIf you see JSON output, the CLI is working. The public key supports all read-only commands (token \u002F market \u002F portfolio) and is for testing only — apply for your own API key to use any feature (see step 3).\n\n> **Troubleshooting — 401 \u002F 403 errors:** If the command fails with `401` or `403` and credentials look correct, your outbound traffic may be going via IPv6 (not supported). Check immediately: (1) run `ifconfig | grep inet6` (macOS) or `ip addr show | grep inet6` (Linux) to list all network interfaces and their IPv6 addresses; (2) run `curl -s https:\u002F\u002Fipv6.icanhazip.com` — if it returns an IPv6 address, your traffic is going via IPv6. **Disable IPv6 on your network interface — gmgn-cli commands only work over IPv4.**\n\n## 3. Get Your Own API Key\n\nThe public key in step 2 is for testing only. Apply for your own API key at **https:\u002F\u002Fgmgn.ai\u002Fai** — required for all actual use (read-only and swap). You will need:\n\n### 3.1 Generate an Ed25519 Key Pair\n\n**Option 1 — Ask your AI agent (recommended)**\n\nSend this prompt to your agent:\n\n```\nGenerate an Ed25519 key pair for me using OpenSSL and show me:\n1. The public key (I need to fill it in the GMGN API Key application form)\n2. The private key in PEM format (I need to set it as GMGN_PRIVATE_KEY in my .env)\n```\n\n**Option 2 — Binance Key Generator**\n\nDownload and run the [Binance Asymmetric Key Generator](https:\u002F\u002Fgithub.com\u002Fbinance\u002Fasymmetric-key-generator\u002Freleases).\n\nEnter the **public key** in the application form.\n\n### 3.2 Get Your Public Egress IP\n\nFor the IP whitelist (required when enabling swap capability on your API key):\n\n```bash\ncurl ip.me\n```\n\n## 4. Configure Your API Key\n\n### Option 1: Global config (recommended)\n\nCreate `~\u002F.config\u002Fgmgn\u002F.env` once — works from any directory:\n\n```bash\nmkdir -p ~\u002F.config\u002Fgmgn\ncat > ~\u002F.config\u002Fgmgn\u002F.env \u003C\u003C 'EOF'\nGMGN_API_KEY=your_api_key_here\n\n# Required for swap \u002F order only:\nGMGN_PRIVATE_KEY=\"-----BEGIN PRIVATE KEY-----\\n\u003Cbase64>\\n-----END PRIVATE KEY-----\\n\"\nEOF\n```\n\n### Option 2: Project `.env`\n\n```bash\ncp .env.example .env\n# Edit .env and fill in your values\n```\n\nConfig lookup order: `~\u002F.config\u002Fgmgn\u002F.env` → project `.env` (project takes precedence).\n\n## 5. Try in AI Clients\n\n#### OpenClaw\n\nSend the following prompt directly to test the query capabilities:\n\n```\nShow me the trending tokens on Solana in the last 1 hour.\n```\n\n#### Claude Code\n\nSkills are automatically discovered when the package is installed as a plugin.\n\n#### Cursor\n\nSkills are automatically discovered via the `.cursor-plugin\u002F` configuration.\n\n1. Complete the installation and configuration steps above\n2. Restart Cursor — skills will be available in Agent mode via `\u002Fgmgn-*` commands\n\n#### Cline\n\n1. Complete the installation and configuration steps above\n2. In Cline settings → **Skills directory**: point to the installed package's `skills\u002F` folder:\n   ```bash\n   echo \"$(npm root -g)\u002Fgmgn-skills\u002Fskills\"\n   ```\n3. Restart Cline — `\u002Fgmgn-token`, `\u002Fgmgn-market`, `\u002Fgmgn-portfolio`, `\u002Fgmgn-track`, `\u002Fgmgn-swap`, `\u002Fgmgn-cooking` will be available\n\n#### Codex CLI\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills ~\u002F.codex\u002Fgmgn-cli\nmkdir -p ~\u002F.agents\u002Fskills\nln -s ~\u002F.codex\u002Fgmgn-cli\u002Fskills ~\u002F.agents\u002Fskills\u002Fgmgn-cli\n```\n\nSee [.codex\u002FINSTALL.md](.codex\u002FINSTALL.md) for full instructions.\n\n#### OpenCode\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FGMGNAI\u002Fgmgn-skills ~\u002F.opencode\u002Fgmgn-cli\nmkdir -p ~\u002F.agents\u002Fskills\nln -s ~\u002F.opencode\u002Fgmgn-cli\u002Fskills ~\u002F.agents\u002Fskills\u002Fgmgn-cli\n```\n\nSee [.opencode\u002FINSTALL.md](.opencode\u002FINSTALL.md) for full instructions.\n\n---\n\n## 6. Usage\n\n### Examples\n\nNatural language prompts you can send to any AI assistant with gmgn-cli skills installed:\n\n```\nbuy 0.1 SOL of \u003Ctoken_address>\nsell 50% of \u003Ctoken_address> on BSC\nsell 30% of my \u003Ctoken_address> position\nget a quote: how much \u003Ctoken_address> can I get for 1 SOL?\ncheck order status \u003Corder_id>\nis \u003Ctoken_address> safe to buy on solana?\nshow top holders of \u003Ctoken_address>\nshow smart money holdings of \u003Ctoken_address>, sorted by buy volume\nshow recent KOL trades for \u003Ctoken_address>\nshow my wallet holdings on SOL\nquery token details for 0x1234...\nshow 24h K-line and volume for \u003Ctoken_address>\nshow trading stats for wallet \u003Cwallet_address> on BSC\nshow recent trades for wallet \u003Cwallet_address>\nwhich wallets are linked to my API key, and what are their balances\nshow the latest smart money trades on SOL\nshow what KOLs are buying on SOL\nshow newly launched tokens on Solana\nshow Solana 1-minute trending tokens\n```\n\n### Typical Workflows\n\n**Research a token:**\n```\ntoken info  →  token security  →  token pool  →  token holders\n```\n\n**Analyze a wallet:**\n```\nportfolio holdings  →  portfolio stats  →  portfolio activity\n```\n\n**Execute a trade:**\n```\ntoken info (confirm token)  →  portfolio token-balance (check funds)  →  swap  →  order get (poll status)\n```\n\n**Discover trading opportunities via trending:**\n```\nmarket trending (top 50)  →  AI selects top 5 by multi-factor analysis  →  user reviews  →  token info \u002F token security  →  swap\n```\n\n---\n\n## 7. Workflow Docs\n\nStep-by-step guides for common analysis tasks:\n\n| Workflow | When to use |\n|----------|-------------|\n| [workflow-token-research.md](docs\u002Fworkflow-token-research.md) | Pre-buy token due diligence (address → buy\u002Fwatch\u002Fskip) |\n| [workflow-project-deep-report.md](docs\u002Fworkflow-project-deep-report.md) | Comprehensive project analysis with scored dimensions and full written report |\n| [workflow-wallet-analysis.md](docs\u002Fworkflow-wallet-analysis.md) | Wallet quality assessment (address → follow\u002Fskip) |\n| [workflow-smart-money-profile.md](docs\u002Fworkflow-smart-money-profile.md) | Trading style analysis, copy-trade ROI estimate, smart money leaderboard |\n| [workflow-risk-warning.md](docs\u002Fworkflow-risk-warning.md) | Active risk monitoring for held positions (whale exit, liquidity, dev dump) |\n| [workflow-early-project-screening.md](docs\u002Fworkflow-early-project-screening.md) | Screen newly launched launchpad tokens for smart money entry |\n| [workflow-daily-brief.md](docs\u002Fworkflow-daily-brief.md) | Daily market overview: trending + smart money moves + early watch + risk scan |\n| [workflow-market-opportunities.md](docs\u002Fworkflow-market-opportunities.md) | Discover trading opportunities from trending data |\n| [workflow-token-due-diligence.md](docs\u002Fworkflow-token-due-diligence.md) | 4-step token due diligence checklist |\n\n## 8. CLI Reference\n\nFull parameter reference: [docs\u002Fcli-usage.md](docs\u002Fcli-usage.md). All commands support `--raw` for single-line JSON output (pipe-friendly, e.g. `| jq '.price'`).\n\n### Token\n\n```bash\ngmgn-cli token info --chain sol --address \u003Caddr>\n```\n\n### Market\n\n```bash\ngmgn-cli market trending \\\n  --chain sol \\\n  --interval 1h \\\n  --order-by volume --limit 20 \\\n  --filter not_risk --filter not_honeypot\n\ngmgn-cli market trenches \\\n  --chain sol \\\n  --type new_creation --type near_completion --type completed \\\n  --launchpad-platform Pump.fun --launchpad-platform pump_mayhem --launchpad-platform letsbonk \\\n  --limit 80\n\n# With server-side filters: safe preset + require smart money + sort by smart degen count\ngmgn-cli market trenches \\\n  --chain sol --type new_creation \\\n  --filter-preset safe --min-smart-degen-count 1 --sort-by smart_degen_count\n\n# Token signals — smart money buys on SOL (single group)\ngmgn-cli market signal --chain sol --signal-type 12 --raw\n\n# Token signals — multi-group: smart money OR large buys in parallel\ngmgn-cli market signal --chain sol \\\n  --groups '[{\"signal_type\":[12]},{\"signal_type\":[14,16]}]' --raw\n```\n\n### Portfolio\n\n```bash\n# Holdings\ngmgn-cli portfolio holdings --chain sol --wallet \u003Caddr>\n\n# Activity\ngmgn-cli portfolio activity --chain sol --wallet \u003Caddr>\n\n# Stats (supports multiple wallets)\ngmgn-cli portfolio stats --chain sol --wallet \u003Caddr1> --wallet \u003Caddr2>\n\n# Wallets and balances linked to API key\ngmgn-cli portfolio info\n\n# Single token balance\ngmgn-cli portfolio token-balance --chain sol --wallet \u003Caddr> --token \u003Ctoken_addr>\n\n# Tokens created by a developer wallet\ngmgn-cli portfolio created-tokens --chain sol --wallet \u003Caddr>\n```\n\n### Track\n\n```bash\n# Follow-wallet trade records\ngmgn-cli track follow-wallet --chain sol\ngmgn-cli track follow-wallet --chain sol --limit 20 --min-amount-usd 1000\n\n# KOL trade records\ngmgn-cli track kol --limit 100 --raw\ngmgn-cli track kol --chain sol --side buy --limit 50 --raw\n\n# Smart Money trade records\ngmgn-cli track smartmoney --limit 100 --raw\ngmgn-cli track smartmoney --chain sol --side sell --limit 50 --raw\n```\n\n### Swap \u002F Quote \u002F Query\n\n```bash\n# Submit swap with fixed slippage\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --slippage 0.01\n\n# Submit swap with automatic slippage\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --auto-slippage\n\n# Sell by position percentage (e.g. sell 50%)\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Ctoken-addr> \\\n  --output-token \u003Cusdc-addr> \\\n  --percent 50 \\\n  --auto-slippage\n\n# Get quote (no transaction submitted)\ngmgn-cli order quote \\\n  --chain sol \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000 \\\n  --slippage 0.01\n\n# Quotes use signed auth and require GMGN_PRIVATE_KEY on every chain\ngmgn-cli order quote \\\n  --chain bsc \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount 1000000000000000000 \\\n  --slippage 0.01\n\n# Query order\ngmgn-cli order get --chain sol --order-id \u003Corder-id>\n\n# Query real-time gas price (all chains)\ngmgn-cli gas-price --chain sol\ngmgn-cli gas-price --chain eth\ngmgn-cli gas-price --chain bsc\ngmgn-cli gas-price --chain base\n\n# Multi-wallet concurrent swap\ngmgn-cli multi-swap \\\n  --chain sol \\\n  --accounts \u003Caddr1>,\u003Caddr2> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --input-amount '{\"\u003Caddr1>\":\"1000000\",\"\u003Caddr2>\":\"2000000\"}' \\\n  --slippage 0.01\n```\n\n> `order quote` uses signed auth on `sol` \u002F `bsc` \u002F `base` \u002F `eth` and requires `GMGN_PRIVATE_KEY`.\n\n### ETH Gas Control (ETH only)\n\n```bash\n# Pick a gas tier instead of entering gwei manually (low \u002F average \u002F high)\ngmgn-cli swap \\\n  --chain eth \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount \u003Camount> \\\n  --slippage 0.01 \\\n  --gas-level high\n\n# Let GMGN auto-select the optimal gas fee for condition orders\ngmgn-cli swap \\\n  --chain eth \\\n  --from \u003Cwallet-address> \\\n  --input-token \u003Cinput-token-addr> \\\n  --output-token \u003Coutput-token-addr> \\\n  --amount \u003Camount> \\\n  --slippage 0.01 \\\n  --condition-orders '[...]' \\\n  --auto-fee\n```\n\n> `--gas-level` and `--auto-fee` are ETH only. `--auto-fee` only takes effect when used with `--condition-orders`.\n> For other chains (SOL \u002F BSC \u002F BASE), use `gas-price` to query the current gas, then pass the result via `--gas-price`.\n\n### Swap with Take-Profit \u002F Stop-Loss Orders (requires private key)\n\n**`hold_amount` mode** — each condition order fires based on current holdings at trigger time:\n\n```bash\n# Buy token A with 0.01 SOL; take-profit 50% at +100%, take-profit remaining 50% at +300%, stop-loss 100% at -65%\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_A_address> \\\n  --amount 10000000 \\\n  --slippage 0.3 \\\n  --anti-mev \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"50\"},{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"300\",\"sell_ratio\":\"100\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"65\",\"sell_ratio\":\"100\"}]' \\\n  --sell-ratio-type hold_amount\n```\n\n> `price_scale` for `profit_stop`: gain % from entry (`\"100\"` = +100% \u002F 2×, `\"300\"` = +300% \u002F 4×). For `loss_stop`: drop % from entry (`\"65\"` = drops 65%, triggers at 35% of entry).\n> `hold_amount`: the second take-profit fires on whatever is held at that point (the remaining 50%). If you added to your position in between, those additional tokens will be included as well.\n\n**`buy_amount` mode** — each condition order fires based on the original bought amount:\n\n```bash\n# Same strategy using fixed percentages of the original bought amount\ngmgn-cli swap \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_A_address> \\\n  --amount 10000000 \\\n  --slippage 0.3 \\\n  --anti-mev \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"50\"},{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"300\",\"sell_ratio\":\"50\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"65\",\"sell_ratio\":\"100\"}]' \\\n  --sell-ratio-type buy_amount\n```\n\n> `buy_amount`: each take-profit sells 50% of the **original** bought amount. Stop-loss sells 100% of the original bought amount.\n\n---\n\n### Limit Orders (requires private key)\n\n```bash\n# Create a take-profit order\ngmgn-cli order strategy create \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --base-token \u003Ctoken_address> \\\n  --quote-token \u003Csol_address> \\\n  --sub-order-type take_profit \\\n  --check-price 0.002 \\\n  --amount-in-percent 100 \\\n  --slippage 0.01\n\n# Create a stop-loss order\ngmgn-cli order strategy create \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --base-token \u003Ctoken_address> \\\n  --quote-token \u003Csol_address> \\\n  --sub-order-type stop_loss \\\n  --check-price 0.0005 \\\n  --amount-in-percent 100 \\\n  --slippage 0.01\n\n# List open strategy orders (requires private key)\ngmgn-cli order strategy list --chain sol\n\n# Cancel a strategy order\ngmgn-cli order strategy cancel --chain sol --from \u003Cwallet_address> --order-id \u003Corder_id>\n```\n\n### Cooking (requires private key)\n\n```bash\n# Buy token and automatically attach take-profit + stop-loss condition orders\ngmgn-cli cooking \\\n  --chain sol \\\n  --from \u003Cwallet_address> \\\n  --input-token So11111111111111111111111111111111111111112 \\\n  --output-token \u003Ctoken_address> \\\n  --amount 1000000000 \\\n  --slippage 0.3 \\\n  --condition-orders '[{\"order_type\":\"profit_stop\",\"side\":\"sell\",\"price_scale\":\"100\",\"sell_ratio\":\"100\"},{\"order_type\":\"loss_stop\",\"side\":\"sell\",\"price_scale\":\"50\",\"sell_ratio\":\"100\"}]'\n```\n\n## 9. Supported Chains\n\n| Commands | Chains | Chain Currencies |\n|----------|--------|-----------------|\n| token \u002F market \u002F portfolio \u002F track | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | — |\n| swap \u002F order | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | sol: SOL, USDC · bsc: BNB, USDC · base: ETH, USDC · eth: ETH |\n| gas-price | `sol` \u002F `bsc` \u002F `base` \u002F `eth` | — |\n\n---\n\n## 10. Upgrade Skills and CLI\n\n```bash\n# Upgrade CLI\nnpm install -g gmgn-cli\n\n# Upgrade Skills\nnpx skills add GMGNAI\u002Fgmgn-skills\n\n# Check current version\ngmgn-cli --version\n```\n\n> **Via AI Agent:** Tell your agent — \"Upgrade gmgn-cli and the skills to the latest version.\" See also [Upgrade (AI Agent)](#upgrade-ai-agent).\n\n---\n\n## 11. Security & Disclaimer (Read Before Use)\n\nThis tool can be invoked by an AI Agent to submit real on-chain transactions automatically. It carries inherent risks including model hallucination, uncontrolled execution, and prompt injection. Once authorized, the AI Agent will submit transactions on behalf of your linked wallet address — **on-chain transactions are irreversible once confirmed** and may result in financial loss. Use with caution.\n\n**About `GMGN_PRIVATE_KEY`**\n\n`GMGN_PRIVATE_KEY` is a **request-signing key** used to authenticate API calls to the GMGN OpenAPI service. It is not a blockchain wallet private key and does not directly control on-chain assets. If compromised, an attacker could forge authenticated API requests on your behalf — rotate it immediately via the GMGN dashboard if you suspect exposure.\n\n**Best practices**\n\n- Restrict config file permissions: `chmod 600 ~\u002F.config\u002Fgmgn\u002F.env`\n- Never commit your `.env` file to version control — add it to `.gitignore`\n- Do not share `GMGN_API_KEY` or `GMGN_PRIVATE_KEY` in logs, screenshots, or chat messages\n- Before every swap, carefully review the trade summary presented by the AI (chain, wallet, token addresses, amount) and confirm only when it matches your intent\n- Test with small amounts first before executing larger trades\n- Always use the latest version of gmgn-cli (`npm install -g gmgn-cli`). To check your current version: `gmgn-cli --version`\n\n**Disclaimer**\n\nUse of this tool and any financial decisions made based on its output are entirely at your own risk. GMGN is not liable for any trading losses, errors, or unauthorized access resulting from model hallucination, prompt injection, improper credential management, or user confirmation errors. By using this tool, you acknowledge that you have fully understood the above risks and voluntarily accept all responsibility.\n\nThe npm package is published with provenance attestation, linking each release to a specific git commit and CI pipeline run. Verify with:\n```bash\nnpm audit signatures gmgn-cli\n```\n",{"name":5,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Ftrading\u002Fgmgn-official-skills",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill gmgn-official-skills",{"tool":62,"command":63},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill gmgn-official-skills",{"tool":65,"command":66},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill gmgn-official-skills","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fgmgn-official-skills\u002FSKILL.md",true,[70,76,80],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"_meta.json","REFERENCE","参考文档",620,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fgmgn-official-skills\u002F_meta.json",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"SOURCE.md",409,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fgmgn-official-skills\u002FSOURCE.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"TRUST.auto.yaml",2214,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fgmgn-official-skills\u002FTRUST.auto.yaml",[85,114,136,153,166,176],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":42},"01M712C436EQYE43342Q4E7GG1","recipe-performance","Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold\u002Fwarm\u002Fbackground-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout\u002Fpaint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.","MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"performance","recipe performance","recipe","mm","sentry","harness","app","deterministic","recipes","flow","cold","critical","analysis","tasks","react","browser","layout","screen","network","metamask",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":42},"01M70XT2F8A5CQZ81JBP98KSW3","mexc-spot-websocket","MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,131,132,40,133,134,135],"mexc spot websocket","spot","websocket","api","workflows","public","listen","streams","depth","keys","api keys","maintenance","protobuf",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":42},"01M70XT0MBXN3WZY1BKN0CPNKR","mexc-spot-rest","MEXC Spot REST workflows for public data, signed account requests, orders, wallet\u002Fadmin actions, and secure signing without exposing API keys.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FSKILL.md",[],[144,124,145,146,147,148,149,133,40,132,150,151,26,128,152,127,126],"mexc spot rest","REST","admin","signing","Wallet","requests","actions","secure","orders",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":157,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":42},"01M70XSYSVZ2N0N91XCAR2CAK0","mexc-futures-websocket","MEXC Futures WebSocket workflows for public streams, private account\u002Forder\u002Fposition streams, ping\u002Fpong, subscriptions, and depth maintenance.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FSKILL.md",[],[161,162,125,163,164,134,40,165,131,130,128,127],"mexc futures websocket","futures","position","ping","subscriptions",{"skillNo":167,"name":168,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":169,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":42},"01M6H0ZWHVE5W04WG2DKQE2SQC","0xklen-version-and-refresh-sanctions-lists","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FSKILL.md",[],[173,174,175],"refresh","0xklen version and refresh sanctions lists","version",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":180,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":42},"01M6H0Z28Q3R8J0S799GJQWXM3","verify-tests-cover-changed-lines","Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FSKILL.md",[],[184,185,186,187,188,189,190,191,192,193,194],"tests","cover","verify tests cover changed lines","verify","coverage","pr","exercise","use","patch","code","share"]