gmgnai/gmgn-skills2 files

Gmgn Holder Analysis

Token holder chip analysis — deep analysis of holder structure including chip distribution, entry cost, whale/dev/KOL behavior, risk wallets (rat traders, bundlers, snipers), related wallets, smart money signals, and an AI rating based purely on token structure. Use when user asks about holder analysis, 筹码分析, 持仓分析, chip structure, who is holding, or whether a token is safe to buy based on its holder composition.

Specification
Skill ID
gmgnai/gmgn-skills/gmgn-holder-analysis
Publisher
gmgnai
Repository
gmgn-skills
Installs
0
Files
2
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

gmgnai/gmgn-skills/gmgn-holder-analysisInstalls these files
  • SKILL.md
  • analyze.py

What this skill tells the agent

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` commands. Do NOT use curl, WebFetch, or visit gmgn.ai.

When the user asks to analyze holders for a token, extract --chain and --address from their message, then run the analysis script below. Also detect the user's language: set LANG to 'zh' if the user wrote in Chinese, 'en' if in English (default 'zh').

Analysis Script

Run the following command, replacing the placeholders with the actual values:

python3 ~/.claude/skills/gmgn-holder-analysis/analyze.py <FILL_IN_TOKEN_ADDRESS> <FILL_IN_CHAIN> <FILL_IN_LANG>
  • FILL_IN_CHAIN: sol for Solana addresses; for EVM 0x... addresses use auto unless the user explicitly specifies a chain (bsc/eth/base)
  • FILL_IN_LANG: zh if user wrote Chinese, en if English, default zh

Output Rule

After the script finishes, paste the complete stdout verbatim into your reply — every line, every section, nothing omitted or summarized. Do NOT add any introduction, commentary, or summary before or after the output block.

Field Reference

All holding percentages the script prints are share of tradeable float (1 - burn - DEX), not share of total supply. amount_percentage from the API is share of total supply; the script re-bases it. Because only the top 100 holders are fetched, a float percentage is a floor when those 100 wallets do not cover the whole float; the footer reports the actual coverage and states which case applies — floors when coverage <99.5%, complete values when the top 100 cover all of it.

When burn + DEX leave less than 2% of supply tradeable (typically a launchpad token before migration), the float denominator degenerates: every / float_share inflates dust wallets to double digits or 100%. The script detects this, prints a banner with absolute token/USD figures instead, and sets the rating to ⚪ Cannot Assess.

The same suppression applies when token holders returns an empty list (token has no active holders left, or upstream stopped indexing it). Every percentage would render 0.00% and every threshold would pass, so the report would otherwise read "✅ Normal — no obvious dump risk". The script prints a no-data banner instead, replaces each "none found 🟢" line with ⚪, and rates ⚪ Cannot Assess. "No data" is never reported as "no risk".

In both cases no float percentage is printed at all — every one renders as n/a (无法评估) and every percentage flag renders ⚪. Printing the number with a caveat was not enough: a divide-by-zero float puts hold 100.00% and hold 0.00% in the same report, and a reader skimming past the banner reads Rat Trader 1 hold 100.00% as a finding. Wallet counts, token amounts, USD values, and market caps still print — they do not pass through float_share. Percentages on a total-supply basis also still print (burn, DEX, float share itself, and the chip-quality buckets), because those denominators are unaffected.

Holder object key fields

FieldTypeMeaning
addressstringWallet address
balancefloatCurrent token balance
amount_percentagefloatFraction of total supply (0–1). Multiply by 100 for %.
usd_valuefloatCurrent USD value of holdings
avg_costfloatAverage buy price per token
unrealized_pnlfloatUnrealized PnL ratio (0.5 = +50%)
unrealized_profitfloatUnrealized PnL in USD
realized_profitfloatRealized PnL in USD
profitfloatTotal PnL in USD (realized + unrealized). Also a valid --order-by field.
buy_tx_count_curintBuy transactions since token creation
sell_tx_count_curintSell transactions since token creation
sell_amount_percentagefloatFraction of total buys that have been sold. Drives the accumulating/distributing verdict.
sell_volume_curfloatUSD volume sold since token creation
sell_amount_curfloatToken amount sold since token creation
history_transfer_out_amountfloatToken amount transferred out (not sold)
history_transfer_out_incomefloatUSD value of transferred-out tokens
token_transfer_outobject{address} — recipient of a transfer-out. Used to detect dev sock puppets when the recipient is itself in the top 100.
namestringWallet display name if known
start_holding_atintUnix timestamp of first buy
addr_typeint0=normal wallet, 1=burn/dead, 2=DEX/pool
maker_token_tagslistbundler, rat_trader, sniper, whale, top_holder, transfer_in, dev_team, creator
tagslistsmart_degen, pump_smart, renowned, fresh_wallet, wash_trader, kol
native_balancestringRaw native token balance. May be a decimal string — parse with float, not int. Denominator is known only for sol (1e9) and bsc/eth/base (1e18).
native_transferobject{from_address, amount, timestamp} — how wallet was funded. Drives 关联资金.
twitter_namestringTwitter handle if known

Created-tokens response fields

FieldMeaning
inner_countUnmigrated token count
open_countMigrated token count
tokens[].market_capCurrent market cap in USD
tokens[].symbolToken symbol
tokens[].is_opentrue = migrated
creator_ath_info.ath_mcAll-time high MC across all created tokens
creator_ath_info.ath_tokenToken address of the ATH token
creator_ath_info.token_symbolSymbol of the ATH token
creator_ath_info.token_nameName of the ATH token

Rating Standard

All thresholds below are share of tradeable float, matching the script. They are not comparable to GMGN's own UI, which reports share of total supply — on a token whose LP holds 56% of supply, the same wallet reads 2.4× higher here.

Entry timing pressure (批次浮盈/出货) does NOT affect the overall rating — it only affects section display.

Rating (ZH)Rating (EN)EmojiCondition
无法评估Cannot Assess⚪Tradeable float <2% of supply, or upstream returned zero holders (all percentage rules suppressed; dev sock puppet still escalates to 🔴)
不建议买Not Recommended🔴Any: rat traders >5% / largest wallet >10% / dev sock puppet
谨慎参与Caution⚠️≥2 of: Dev still holding >1% / airdrop >20% / risk wallets >35% / linked >15%
可轻仓Light Position🟡Exactly 1 of above warns
正常参与Normal✅None of the above

Per-metric flag thresholds

Metric🔴🟡🟢
Top10 concentration>60%>40%≤40%
Top20 concentration>75%>55%≤55%
Airdropped chips (never bought)>25%>10%≤10%
Risk wallets>35%>15%≤15%
Linked funding>25%>10%≤10%
Zero-balance wallets—>10%≤10%

Diamond hands invert (more is better) and use their own emoji set: ✅ >60% / 🟡 >35% / ⚠️ ≤35%. Diamond hands require buy_tx_count_cur > 0 — a wallet that never bought has no cost to hold through, so zero-cost airdrop recipients are reported separately as "空降未动 / Idle airdrop" rather than being credited as diamond hands.

Linked funding is escalated to at least 🟡 whenever any group was funded within 60s, regardless of size — scripted batch funding is a structural signal, not a magnitude one.

Chip quality (footer)

Three mutually exclusive buckets over the chips held by observed wallets (denominator is normal_pct, i.e. total-supply basis, not float): bought in with no risk tag / zero-cost airdrop / risk-tagged. They are reported separately rather than collapsed into one

More from gmgnai

Use this skill in a project

Open any RiverX project, search the Skills panel for gmgnai/gmgn-skills/gmgn-holder-analysis, and install it in one click.

Use this skill