mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-16 01:28:06 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
918518999b | ||
|
|
12804798df |
@@ -70,7 +70,7 @@ EOF
|
|||||||
When creating or updating any file in `skills/`:
|
When creating or updating any file in `skills/`:
|
||||||
|
|
||||||
- **Language**: English only — no bilingual content. SKILL.md files are read by AI, not humans.
|
- **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
|
- **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.
|
- **`--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.
|
- **YAML frontmatter**: Quote `argument-hint` values that contain `|` characters to avoid YAML parsing errors.
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "gmgn-cli",
|
"name": "gmgn-cli",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "gmgn-cli",
|
"name": "gmgn-cli",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": "^12.1.0",
|
"commander": "^12.1.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gmgn-cli",
|
"name": "gmgn-cli",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "GMGN OpenAPI CLI — call GMGN market, token, portfolio and swap APIs from the command line",
|
"description": "GMGN OpenAPI CLI — call GMGN market, token, portfolio and swap APIs from the command line",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -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
|
- `.env` file with `GMGN_API_KEY` set
|
||||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
- 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
|
## `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
|
- `.env` file with `GMGN_API_KEY` set
|
||||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
- 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
|
## 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):
|
`gmgn-cli` must be installed globally before use (one-time setup):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g gmgn-cli@1.1.0
|
npm install -g gmgn-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
### Credential Model
|
### 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
|
- `.env` file with `GMGN_API_KEY` set
|
||||||
- Run from the directory where your `.env` file is located, or set `GMGN_HOST` in your environment
|
- 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`
|
## 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
|
- `.env` file with `GMGN_API_KEY` set
|
||||||
- `GMGN_PRIVATE_KEY` required for `track follow-wallet` (signature auth); not needed for `track kol` / `track smartmoney`
|
- `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
|
- 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
|
## Usage Examples
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user