
[](https://x.com/gmgnai) [](https://t.me/gmgnagentapi) [](https://discord.gg/gmgnai)
English | [简体中文](Readme.zh.md)
## GMGN Agent Skills
With 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/stop-loss strategy orders, and wallet management — including real-time holdings, recent P&L, and transaction history — all through natural language.
---
## Skills
| Skill | Description | Reference |
|-------|-------------|-----------|
| [`/gmgn-token`](skills/gmgn-token/SKILL.md) | Token info, security, pool, holders, traders | [SKILL.md](skills/gmgn-token/SKILL.md) |
| [`/gmgn-market`](skills/gmgn-market/SKILL.md) | K-line market data, trending tokens | [SKILL.md](skills/gmgn-market/SKILL.md) |
| [`/gmgn-portfolio`](skills/gmgn-portfolio/SKILL.md) | Wallet holdings, activity, stats | [SKILL.md](skills/gmgn-portfolio/SKILL.md) |
| [`/gmgn-swap`](skills/gmgn-swap/SKILL.md) | Swap submission + order query | [SKILL.md](skills/gmgn-swap/SKILL.md) |
> For detailed CLI commands, parameters, and recommended values, see the [Wiki documentation](https://github.com/GMGNAI/gmgn-skills/wiki).
### Quick Start
Ready to install skills? [Jump to Installation →](#get-started)
---
## Demo Cases
### Trending Token Rankings
Send this prompt to your AI Agent:
```
Fetch Solana 1h trending, filter for pump.fun tokens created within 6h, sort by volume descending.
```

### Real-Time Token Trading Analysis
Send this prompt to your AI Agent:
```
Check the first token's K-line, analyze entry timing, plot price + volume chart, and provide social media links and smart money/KOL trading analysis.
```


---
## Get Started
Before installing, create your API Key at **https://gmgn.ai/ai**. The API key is used for:
1. Read data: tokens, trending lists, K-line, and featured on-chain metrics
2. Submit trades: market orders, limit orders, strategy orders, and more
---
## 1. Installation
Choose one of the following methods:
### 1.1 Via Agent (recommended)
Send this to your AI agent:
```bash
npx skills add GMGNAI/gmgn-skills
```
### 1.2 npm Global Install
```bash
npm install -g gmgn-cli@1.0.2
```
### 1.3 Local Development
```bash
npm install
npm run build
node dist/index.js