skills/glassnode-cli/SKILL.md
Use the Glassnode CLI (gn) to list assets and metrics, fetch on-chain and market data from the Glassnode API, check API credit usage, and manage config. Use when the user asks about Glassnode, on-chain data, crypto metrics, gn commands, or needs to call the Glassnode API from the terminal.
npx skillsauth add glassnode/glassnode-cli glassnode-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
gn)Command-line interface for the Glassnode API.
If the gn command is not available you need to install the CLI. See the Installation section in the README for install and setup options.
Quick start:
gn asset list
gn metric get market/price_usd_close --asset BTC --since 30d
gn asset list
gn asset list --filter "asset.semantic_tags.exists(tag,tag=='stablecoin')"
gn asset list --filter "asset.id=='BTC'"
# Prune to specific fields (returns array of objects)
gn asset list --prune id -o json
gn asset list -p id,symbol -o json
gn asset describe BTC
gn metric list
gn metric list --asset BTC
gn metric list -a BTC -e binance -i 24h
gn metric list --assets BTC --assets ETH
gn metric list --from-exchange binance --to-exchange coinbase
Filter by any metadata query parameters: --currency, --exchange, --interval, --from-exchange, --to-exchange, --miner, --maturity, --network, --period, --quote-symbol, or multiple --assets.
gn metric describe market/price_usd_close
gn metric describe market/price_usd_close --asset BTC
gn metric get market/price_usd_close --asset BTC --interval 24h
gn metric get market/price_usd_close --asset BTC --since 2024-01-01 --until 2024-02-01
gn metric get market/price_usd_close --asset BTC --since 30d
gn metric get indicators/sopr --asset BTC --interval 24h --since 30d
gn metric get distribution/balance_exchanges --asset BTC --exchange binance --currency usd
Append /bulk to the metric path. Repeat -a (or --asset) for each asset, or use -a '*' for all:
gn metric get market/marketcap_usd/bulk -a BTC -a ETH -a SOL -s 1d
gn metric get market/marketcap_usd/bulk -a '*' --interval 24h --since 30d
gn user credits)Shows the current API usage for the account.
gn user credits
Example JSON output:
{
"creditsLeft": integer,
"creditsPerMonth": integer,
"creditsUsed": integer
}
gn config set api-key=your-key
gn config set output=csv
gn config get api-key
gn config get all
| Flag | Short | Description |
|------|-------|-------------|
| --api-key | | Glassnode API key |
| --output | -o | Output format: json (default), csv, table |
| --dry-run | | Print the request URL without executing |
| --timestamp-format | | Timestamp format in output |
gn metric describe <path> before gn metric get to discover valid parameters, assets, exchanges, and intervals for a metric.--output json (default) for structured output suitable for piping to jq.--dry-run to preview the API request URL without executing: gn metric get market/price_usd_close --asset BTC --since 30d --dry-run./bulk), use -a with specific assets or -a '*' for all.--since and --until: e.g. 30d, 7d, 1h.--output json (default) — JSON, suitable for jq processing--output csv — CSV format, suitable for spreadsheets--output table — human-readable ASCII table# Pipe JSON to jq
gn metric get market/price_usd_close -a BTC --since 7d | jq '.[].v'
# Export to CSV
gn metric get market/price_usd_close -a BTC --since 30d -o csv > prices.csv
# Quick look in the terminal
gn metric get market/price_usd_close -a BTC --since 7d -o table
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.