opencmc/coinmarketcap-cli/cmc-cli
Claude Code and agent skill by opencmc/coinmarketcap-cli
- community
Checking that the SKILL.md file is still in the repository.
Use when working with the CoinMarketCap CLI, choosing shipped commands, or answering how to use cmc in scripts, TUI flows, or agent workflows.
Install
npx vskill@latest install opencmc/coinmarketcap-cli/cmc-cliSKILL.md
CMC CLI
Overview
cmc is the CoinMarketCap-native CLI. Prefer commands that answer a user intent in one pass and keep stdout compact for scripts and agents.
Prerequisites
This skill requires cmc installed and on PATH — see CoinMarketCap CLI for installation options.
An API key is optional. Without one, cmc uses the Keyless Public API: price, markets, metrics, resolve, search, monitor, dex pair, dex pairs and the endpoints in cmc api --list --keyless work. trending, top-gainers-losers, history, news, pairs and price --with-chain-stats need a free key: set CMC_API_KEY or run cmc auth. cmc commands shows requires_auth for every command.
Quick Reference
| 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 | hourly | daily and --days max` only where supported. | |
| Global context | metrics, news, pairs | Good bundle commands; avoid splitting into smaller metrics unless necessary. | |||
| Live polling | monitor | Polling only, not websocket streaming. | |||
| DEX pairs | dex pair, dex pairs | One pair by contract address, or a DEX's pairs on a network (--dex-slug required). | |||
| Anything else in the API | api | Any spec endpoint by path or operationId, response passed through unchanged. Find endpoints with cmc api --list [filter]. | |||
| Interactive views | tui | Human inspection only; not for scripting. |
Output Rules
- Default output is compact JSON.
- Use
-o tablefor readable terminal output. - Use
--dry-runto inspect request shape without calling the API. - A key-only command run without a key fails with
api_key_required; suggestcmc authrather than retrying. - Keep identity flags explicit when determinism matters.
Slash Command Note
This skill is guidance for using the cmc runtime. It does not create a built-in /cmc slash command by itself.
- Hosts may surface it as a skill, reusable workflow, or contextual suggestion.
- A
/cmccommand only exists if the host explicitly adds a slash-command wrapper or alias for this skill. - For hosts such as Claude Code or OpenClaw, do not assume skill registration alone will produce
/cmc.
Workflow
- Use
resolvewhen the user already knows the asset. - Use
searchwhen the user knows a name, symbol, or contract but not the exact identity. - Use
pricefor quotes, then add--with-infoor--with-chain-statsonly when the bundle is needed. - Use
markets,trending,top-gainers-losers,metrics,news, orpairsfor broader market context. - Use
apiwhen no shipped command covers the data (Fear & Greed, CMC20/CMC100, RWA, derivatives, CMC AI, DEX holders and K-lines). - Use
tuionly when a human wants an interactive terminal view.
Common Mistakes
- Do not use
searchas an exact-lookup replacement whenresolveis available. - Do not send scripting workloads to
tui. - Do not split a bundle into smaller commands unless the user asked for the narrow view.
- Do not assume every numeric or token-like string should map to a symbol; prefer the shipped command heuristics.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cmc-cli/SKILL.md
Popularity
- Repository stars
- 21
- Repository forks
- 6
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opencmc/coinmarketcap-cli/cmc-cli)