mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-07-27 16:57:44 +00:00
feat: add track command group, split follow-wallet/kol/smartmoney from portfolio
- Add new `track` command group with three sub-commands: - `track follow-wallet`: monitor trade activity of followed wallets (critical auth) - `track kol`: KOL trade records with optional --chain and client-side --side filter - `track smartmoney`: Smart Money trade records with optional --chain and client-side --side filter - Remove follow-wallet, kol, smartmoney sub-commands from portfolio - Add getKol/getSmartMoney optional chain param in OpenApiClient - Switch getFollowWallet to criticalRequest (signature auth required) - Align track follow-wallet options to actual API params (remove unsupported flags) - Add skills/gmgn-track/SKILL.md with sub-command guide, options, response fields - Add IMPORTANT notice to all SKILL.md files to prevent AI from scraping gmgn.ai - Add CRITICAL RULE section to CLAUDE.md to enforce CLI-only data access - Update Readme.md and Readme.zh.md: add gmgn-track skill, Track CLI section, user tip Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ With GMGN Agent Skills, you can use AI agents to query real-time trending token
|
||||
| [`/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-track`](skills/gmgn-track/SKILL.md) | Follow-wallet trades, KOL trades, Smart Money trades | [SKILL.md](skills/gmgn-track/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).
|
||||
@@ -29,6 +30,11 @@ With GMGN Agent Skills, you can use AI agents to query real-time trending token
|
||||
|
||||
Ready to install skills? [Jump to Installation →](#get-started)
|
||||
|
||||
> **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.
|
||||
> ```
|
||||
|
||||
---
|
||||
|
||||
## Demo Cases
|
||||
@@ -194,7 +200,7 @@ Skills are automatically discovered via the `.cursor-plugin/` configuration.
|
||||
```bash
|
||||
echo "$(npm root -g)/gmgn-skills/skills"
|
||||
```
|
||||
3. Restart Cline — `/gmgn-token`, `/gmgn-market`, `/gmgn-portfolio`, `/gmgn-swap` will be available
|
||||
3. Restart Cline — `/gmgn-token`, `/gmgn-market`, `/gmgn-portfolio`, `/gmgn-track`, `/gmgn-swap` will be available
|
||||
|
||||
#### Codex CLI
|
||||
|
||||
@@ -291,6 +297,22 @@ npx gmgn-cli market trenches \
|
||||
npx gmgn-cli portfolio holdings --chain sol --wallet <addr>
|
||||
```
|
||||
|
||||
### Track
|
||||
|
||||
```bash
|
||||
# Follow-wallet trade records (requires GMGN_PRIVATE_KEY)
|
||||
npx gmgn-cli track follow-wallet --chain sol
|
||||
npx gmgn-cli track follow-wallet --chain sol --wallet <wallet_address> --side buy
|
||||
|
||||
# KOL trade records
|
||||
npx gmgn-cli track kol --limit 100 --raw
|
||||
npx gmgn-cli track kol --chain sol --side buy --limit 50 --raw
|
||||
|
||||
# Smart Money trade records
|
||||
npx gmgn-cli track smartmoney --limit 100 --raw
|
||||
npx gmgn-cli track smartmoney --chain sol --side sell --limit 50 --raw
|
||||
```
|
||||
|
||||
### Swap (requires private key)
|
||||
|
||||
```bash
|
||||
@@ -320,7 +342,7 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
|
||||
|
||||
| Commands | Chains | Chain Currencies |
|
||||
|----------|--------|-----------------|
|
||||
| token / market / portfolio | `sol` / `bsc` / `base` | — |
|
||||
| token / market / portfolio / track | `sol` / `bsc` / `base` | — |
|
||||
| swap / order | `sol` / `bsc` / `base` | sol: SOL, USDC · bsc: BNB, USDC · base: ETH, USDC |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user