cli-coingecko

cli-coingecko is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 42 tokens per session (895 once invoked), scanned A, original, MIT.

A command-line workflow for retrieving cryptocurrency market data through CoinGecko's CLI. CoinGecko is a service that publishes prices, market values, rankings, and historical crypto data.

In plain words
What is it for?
Use it to look up prices, market caps, trending coins, gainers and losers, coin IDs, historical prices, and OHLC data.
Why use it?
It checks the installed command set and account status before choosing a request, reducing mistakes with unsupported or paid operations. Ambiguous coin names are resolved before querying.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present.

Good fit Use it to look up prices, market caps, trending coins, gainers and losers, coin IDs, historical prices, and OHLC data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulrberg/agent-skills/cli-coingecko
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PaulRBerg/agent-skills --skill cli-coingecko
Clone the repo
git clone --depth 1 https://github.com/PaulRBerg/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-coingecko

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-coingecko/github.svg)](https://agentmods.dev/skills/paulrberg/agent-skills/cli-coingecko)
Your own site
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/cli-coingecko"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-coingecko/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-coingecko

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/cli-coingecko"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-coingecko.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 895 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00895
Opus 5 $0.00021 $0.00447
Sonnet 5 $0.00008 $0.00179
Haiku 4.5 $0.00004 $0.00089

Measured 9d ago against content hash 6f725d9e3e20, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cli-coingecko scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build-url.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cli-coingecko/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CoinGecko CLI

This skill is coordination-exempt: skip the ai-coord gate for its declared work.

Use the installed CLI's machine-readable command catalog as the source of truth for supported market-data operations.

Workflow

  1. Verify cg exists and inspect non-interactive auth/tier state:

    command -v cg
    cg status -o json
    cg commands -o json
    

    Do not run interactive cg auth or write config without the user's approval.

  2. On an explicitly requested CLI update, run cg update --dry-run; run cg update only with approval. If automatic detection is wrong, pass --method with homebrew, npm, go, or script. Recheck cg version and cg commands -o json, then record the verified version in references/version.txt when maintaining this skill.

  3. Select the command, flags, enum values, output formats, endpoint, auth requirement, and paid_only status from cg commands -o json. Use cg <command> --help only when the catalog lacks a needed detail.

  4. Resolve CoinGecko IDs with cg search <term> -o json when the user supplied a name or ambiguous symbol. Do not silently treat symbols as unique.

  5. Preview unfamiliar or quota-sensitive requests with --dry-run. Execute parseable queries with -o json; use --export only when the user requested a CSV artifact.

  6. If a historical-data request cannot be completed because cg is unavailable, cg history fails due to a CLI defect, or its response is demonstrably malformed, and a visual result can satisfy the request, immediately read references/open-historical-page.md and use its browser fallback.

  7. Present the requested result in the user's format. For ordinary human-readable output, use a compact table and preserve enough precision for the asset's magnitude.

Boundaries and Defaults

  • Batch IDs in one request when the command supports it. On 429, respect the reported reset/backoff rather than retrying aggressively.
  • Detect paid-only commands before execution. If the current tier cannot serve the request, say so and offer a supported route.
  • Do not use the browser fallback for authentication, tier, rate-limit, invalid-input, or ambiguity errors. It does not satisfy requests for JSON, CSV, or other machine-readable evidence.
  • cg does not cover every CoinGecko endpoint. For unsupported contract-address prices, global stats, NFT detail, GeckoTerminal, or logo metadata, fetch the relevant current API documentation from https://docs.coingecko.com/llms.txt and state that the CLI route is unavailable.
  • Never expose API keys or send private wallet/account data to market-data endpoints.

Read the full file on GitHub · 73 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 73 lines · 42 tokens per session scan A 6f725d9e3e20

Subscribe to this mod's changes

cli-coingecko is a skill published in the GitHub repository PaulRBerg/agent-skills (70 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 895 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.