一键导入
cmc-cli
Use when working with the CoinMarketCap CLI, choosing shipped commands, or answering how to use cmc in scripts, TUI flows, or agent workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working with the CoinMarketCap CLI, choosing shipped commands, or answering how to use cmc in scripts, TUI flows, or agent workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when preparing Claude Code prompts or workflows that should leverage the CMC CLI skill.
Use when preparing OpenClaw prompts or workflows that should leverage the CMC CLI skill.
Coin research and crypto token analysis with CoinMarketCap (CMC) CLI. Deep-dive any coin or crypto — price, market cap, volume, on-chain stats, historical OHLCV, trading pairs, news sentiment, and bull/bear assessment. Use when researching a coin, analyzing a specific cryptocurrency or crypto project, investigating a token, or producing a structured crypto research report.
Daily coin market report and crypto snapshot via CoinMarketCap (CMC) CLI. Covers BTC and ETH prices, top coin gainers and losers, trending crypto tokens, and latest crypto news. Use for coin market report, crypto morning brief, crypto market summary, or when asking how's crypto today.
基于 SOC 职业分类
| name | cmc-cli |
| description | Use when working with the CoinMarketCap CLI, choosing shipped commands, or answering how to use cmc in scripts, TUI flows, or agent workflows. |
| version | 0.1.0 |
| metadata | {"requires":{"bins":["cmc"],"env":["CMC_API_KEY"]},"install":"go install github.com/openCMC/CoinMarketCap-CLI@latest\nmv \"$(go env GOPATH)/bin/coinmarketcap-cli\" \"$(go env GOPATH)/bin/cmc\"\n"} |
cmc is the CoinMarketCap-native CLI. Prefer commands that answer a user intent in one pass and keep stdout compact for scripts and agents.
This skill requires:
cmc CLI installed and available on PATH — see CoinMarketCap CLI for installation optionsCMC_API_KEY environment variable set with a valid CoinMarketCap API keycmc authIf either dependency is missing, the skill will not function.
| Need | Use | Notes |
|---|---|---|
| Exact asset lookup | resolve | Prefer --id, --slug, or --symbol for deterministic identity. |
| Quote + enrichments | price | Use --with-info and --with-chain-stats when you need more context. |
| Fuzzy discovery | search | Use for name/symbol lookup or DEX address discovery. |
| Market scan | markets, trending, top-gainers-losers | Use table output when a human is reading. |
| Time series | history | Use `--interval 5m |
| Global context | metrics, news, pairs | Good bundle commands; avoid splitting into smaller metrics unless necessary. |
| Live polling | monitor | Polling only, not websocket streaming. |
| Interactive views | tui | Human inspection only; not for scripting. |
-o table for readable terminal output.--dry-run to inspect request shape without calling the API.This skill is guidance for using the cmc runtime. It does not create a built-in /cmc slash command by itself.
/cmc command only exists if the host explicitly adds a slash-command wrapper or alias for this skill./cmc.resolve when the user already knows the asset.search when the user knows a name, symbol, or contract but not the exact identity.price for quotes, then add --with-info or --with-chain-stats only when the bundle is needed.markets, trending, top-gainers-losers, metrics, news, or pairs for broader market context.tui only when a human wants an interactive terminal view.search as an exact-lookup replacement when resolve is available.tui.