mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-16 01:28:06 +00:00
fix: remove pinned gmgn-cli version to always use latest
Replace `npm install -g gmgn-cli@1.1.0` with `npm install -g gmgn-cli` across all SKILL.md files and CLAUDE.md, so users always install the latest published version instead of a pinned one that may lack newer commands (e.g. track). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GMGN.AI
co-authored by
Claude Sonnet 4.6
parent
28062887d8
commit
56f1f574b1
@@ -70,7 +70,7 @@ EOF
|
||||
When creating or updating any file in `skills/`:
|
||||
|
||||
- **Language**: English only — no bilingual content. SKILL.md files are read by AI, not humans.
|
||||
- **Package runner**: Always use the pre-installed `gmgn-cli` binary (e.g. `gmgn-cli token info ...`). Never use `npx gmgn-cli` or `npx gmgn-cli@<version>` — npx downloads the package at runtime alongside live credentials. The package must be installed once with `npm install -g gmgn-cli@1.1.0`.
|
||||
- **Package runner**: Always use the pre-installed `gmgn-cli` binary (e.g. `gmgn-cli token info ...`). Never use `npx gmgn-cli` or `npx gmgn-cli@<version>` — npx downloads the package at runtime alongside live credentials. The package must be installed once with `npm install -g gmgn-cli`.
|
||||
- **Section order**: Sub-commands → Supported Chains → Prerequisites → Parameters/Options (if needed) → Usage Examples → Notes
|
||||
- **`--raw` flag**: All commands support `--raw` for single-line JSON output. Always document it in the Notes section.
|
||||
- **YAML frontmatter**: Quote `argument-hint` values that contain `|` characters to avoid YAML parsing errors.
|
||||
|
||||
@@ -24,7 +24,7 @@ Use the `gmgn-cli` tool to query K-line data for a token, browse trending tokens
|
||||
|
||||
- `.env` file with `GMGN_API_KEY` set
|
||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.1.0`
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli`
|
||||
|
||||
## `market kline` Parameters
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ Use the `gmgn-cli` tool to query wallet portfolio data based on the user's reque
|
||||
|
||||
- `.env` file with `GMGN_API_KEY` set
|
||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.1.0`
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli`
|
||||
|
||||
## Usage Examples
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ Both `GMGN_API_KEY` and `GMGN_PRIVATE_KEY` must be set in `.env`. The private ke
|
||||
`gmgn-cli` must be installed globally before use (one-time setup):
|
||||
|
||||
```bash
|
||||
npm install -g gmgn-cli@1.1.0
|
||||
npm install -g gmgn-cli
|
||||
```
|
||||
|
||||
### Credential Model
|
||||
|
||||
@@ -26,7 +26,7 @@ Use the `gmgn-cli` tool to query token information based on the user's request.
|
||||
|
||||
- `.env` file with `GMGN_API_KEY` set
|
||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.1.0`
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli`
|
||||
|
||||
## Parameters — `token info` / `token security` / `token pool`
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ Use the `gmgn-cli` tool to query on-chain tracking data based on the user's requ
|
||||
- `.env` file with `GMGN_API_KEY` set
|
||||
- `GMGN_PRIVATE_KEY` required for `track follow-wallet` (signature auth); not needed for `track kol` / `track smartmoney`
|
||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli@1.1.0`
|
||||
- `gmgn-cli` installed globally: `npm install -g gmgn-cli`
|
||||
|
||||
## Usage Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user