К основному содержанию
скилл CX Codex

pp-coingecko — скилл для Claude Code: данные CoinGecko через CLI

Скилл учит агента работать с публичным API CoinGecko через бинарник coingecko-pp-cli. Цены, список монет, глобальные метрики рынка — без ключа для базовых эндпоинтов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add mvanhorn/printing-press-library --skill pp-coingecko -a claude-code
Открыть на GitHub

Что делает pp-coingecko

Скилл не тянет данные сам: он описывает агенту, как вызывать coingecko-pp-cli и как читать ответ. Внутри — справочник команд по группам coins, global, ping, search, simple. Есть which для поиска нужной команды по описанию задачи и режим --agent, который разворачивается в --json --compact --no-input --no-color --yes.

Перед первым вызовом бинарник нужно поставить: npx -y @mvanhorn/printing-press-library install coingecko --cli-only, затем проверить coingecko-pp-cli --version. Если npx не сработал, есть запасной путь через go install с Go 1.26.6 или новее. Аутентификация не нужна, но команда coingecko-pp-cli doctor проверяет, что всё на месте.

CLI только читает. Запросы на создание, изменение или удаление данных он не выполняет — для таких задач скилл не подходит. Ответы приходят в обёртке с полями meta и results, где meta.source показывает, откуда взялись данные: из сети или из локального хранилища SQLite.

Какие задачи решает

  • узнать текущую цену монеты в нужной валюте
  • посмотреть глобальные метрики крипторынка
  • найти монету по названию или тикеру
  • выгрузить список монет с рыночными данными
  • проверить, отвечает ли API CoinGecko

Примеры запросов агенту

  • Поставь pp-coingecko и покажи цену биткоина в долларах
  • Через coingecko-pp-cli найди монеты по запросу solana
  • Выгрузи глобальные метрики рынка в JSON через pp-coingecko

Как установить pp-coingecko

1Через Skills CLI (Vercel)

npx skills add mvanhorn/printing-press-library --skill pp-coingecko -a claude-code

2Вручную: положить файлы

~/.claude/skills/pp-coingecko/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/pp-coingecko/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора27

pp-firecrawl Управляет парсингом, краулингом и извлечением данных через Firecrawl CLI. Запускает поиск, сбор страниц и генерацию файлов LLMs.txt. CX Codex +1 610установок pp-scrape-creators Скилл выгружает посты, комментарии и рекламу с 28 платформ через утилиту scrape-creators-pp-cli. Он считает расход кредитов до запуска и сохраняет данные в локальную SQLite. CX Codex +1 564установок pp-google-search-console Скилл для работы с Google Search Console из терминала: сравнение периодов, быстрые победы, каннибализация запросов и разбор просадок трафика. CX Codex +1 511установок pp-weather-goat Скилл для Claude и других агентов: погода, штормовые предупреждения NWS, качество воздуха и совет — ехать на велосипеде или нет. CX Codex +1 501установок pp-craigslist Скилл для локального поиска и разбора объявлений Craigslist: находит новые, распознаёт репосты и скам, показывает падение цены. CX Codex +1 427установок pp-x-twitter Скилл для работы с X (Twitter) из терминала: сохраняет посты в локальную базу SQLite и ищет по ним офлайн. CX Codex +1 423установок pp-youtube Скилл для Claude, который следит за каналами конкурентов на YouTube и собирает локальную базу статистики, комментариев и обложек. Пригодится, когда нужны свежие данные о рынке, а не отчёты двухнедельной давности. CX Codex +1 418установок pp-techmeme Скилл тянет заголовки Techmeme в локальный кэш, ищет по архиву и следит за темами. Пригодится для утреннего дайджеста без браузера. CX Codex +1 410установок

Похожие

coingecko-api agiprolabs Скилл даёт агенту доступ к CoinGecko: цены, история, объёмы бирж, тренды и глобальная статистика рынка. Пригодится для макроанализа и длинных исторических рядов. CX Codex +1 440установок coingecko Starchild-ai-agent Скилл даёт агенту доступ к спотовым ценам, свечам OHLC и рыночной статистике CoinGecko. Пригодится, когда нужно посмотреть курс монеты или собрать обзор рынка. CX Codex +1 7 900установок emblem-market-research EmblemAI Скилл подтягивает данные о крипторынке: трендовые токены, деривативы, потоки умных денег. Пригодится, когда нужен разбор токена или позиций китов. CX Codex +1 8 900установок crypto-regime-analyzer tradermonty Считает композитный балл 0–100 по шести компонентам крипторынка и выдаёт рекомендацию по позе. Без ключей API. CX Codex +1 2 700установок tracking-crypto-prices Jeremy Longshore Скилл тянет курсы криптовалют с бирж, отдаёт историю за период и следит за вотчлистами. Пригодится, когда агенту нужны цены для портфеля или расчётов. CX Codex +1 343установок okx-cex-trade okx Скилл для ИИ-агента, который ставит, отменяет и меняет ордера на бирже OKX: спот, свопы, фьючерсы, опционы и событийные контракты. CX Codex +1 10 300установок

Рядом в теме «Настройка агента: память, контекст, субагенты»

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Вопросы о pp-coingecko

Как установить pp-coingecko в Claude?

Выполните npx skills add mvanhorn/printing-press-library --skill pp-coingecko -a claude-code. Скилл появится в ~/.claude/skills/pp-coingecko/SKILL.md. Отдельно поставьте сам бинарник: npx -y @mvanhorn/printing-press-library install coingecko --cli-only.

Что делает pp-coingecko?

Даёт агенту доступ к публичному API CoinGecko через coingecko-pp-cli: цены монет, список монет, рыночные данные, глобальные метрики и поиск. Все команды только читают данные.

Нужен ли API-ключ?

Для базовых эндпоинтов ключ не требуется. Если бинарник не находится после установки, проверьте, что его каталог добавлен в $PATH того окружения, где запускается агент.

Исходный текст

SKILL.md · Apache-2.0
---
name: pp-coingecko
description: "Printing Press CLI for Coingecko. CoinGecko public API for cryptocurrency data. Free tier, no API key required for basic endpoints."
author: "Hiten Shah"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - coingecko-pp-cli
    install:
      - kind: go
        bins: [coingecko-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/payments/coingecko/cmd/coingecko-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/payments/coingecko/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Coingecko — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `coingecko-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install coingecko --cli-only
   ```
2. Verify: `coingecko-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/payments/coingecko/cmd/coingecko-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## HTTP Transport

This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.

## Command Reference

**coins** — Manage coins

- `coingecko-pp-cli coins detail` — Get current data for a coin
- `coingecko-pp-cli coins list` — List all coins with id, symbol, and name
- `coingecko-pp-cli coins markets` — List coins with market data

**global** — Manage global

- `coingecko-pp-cli global global` — Get global crypto market data

**ping** — Manage ping

- `coingecko-pp-cli ping ping` — Check API server status

**search** — Manage search

- `coingecko-pp-cli search search` — Search coins, categories, exchanges
- `coingecko-pp-cli coingecko-search-2` — Get trending coins

**simple** — Manage simple

- `coingecko-pp-cli simple price` — Get price of coins
- `coingecko-pp-cli simple supported-vs-currencies` — List supported vs currencies


### Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

```bash
coingecko-pp-cli which "<capability in your own words>"
```

`which` resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code `0` means at least one match; exit code `2` means no confident match — fall back to `--help` or use a narrower query.

## Auth Setup

No authentication required.

Run `coingecko-pp-cli doctor` to verify setup.

## Agent Mode

Add `--agent` to any command. Expands to: `--json --compact --no-input --no-color --yes`.

- **Pipeable** — JSON on stdout, errors on stderr
- **Filterable** — `--select` keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:

  ```bash
  coingecko-pp-cli coins list --agent --select id,name,status
  ```
- **Previewable** — `--dry-run` shows the request without sending
- **Offline-friendly** — sync/search commands can use the local SQLite store when available
- **Non-interactive** — never prompts, every input is a flag
- **Read-only** — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests

### Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

```json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}
```

Parse `.results` for data and `.meta.source` to know whether it's live or local. A human-readable `N results (live)` summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

## Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

```
coingecko-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
coingecko-pp-cli feedback --stdin < notes.txt
coingecko-pp-cli feedback list --json --limit 10
```

Entries are stored locally at `~/.coingecko-pp-cli/feedback.jsonl`. They are never POSTed unless `COINGECKO_FEEDBACK_ENDPOINT` is set AND either `--send` is passed or `COINGECKO_FEEDBACK_AUTO_SEND=true`. Default behavior is local-only.

Write what *surprised* you, not a bug report. Short, specific, one line: that is the part that compounds.

## Output Delivery

Every command accepts `--deliver <sink>`. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |
|------|--------|
| `stdout` | Default; write to stdout only |
| `file:<path>` | Atomically write output to `<path>` (tmp + rename) |
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

## Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

```
coingecko-pp-cli profile save briefing --json
coingecko-pp-cli --profile briefing coins list
coingecko-pp-cli profile list --json
coingecko-pp-cli profile show briefing
coingecko-pp-cli profile delete briefing --yes
```

Explicit flags always win over profile values; profile values win over defaults. `agent-context` lists all available profiles under `available_profiles` so introspecting agents discover them at runtime.

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |

## Argument Parsing

Parse `$ARGUMENTS`:

1. **Empty, `help`, or `--help`** → show `coingecko-pp-cli --help` output
2. **Starts with `install`** → ends with `mcp` → MCP installation; otherwise → see Prerequisites above
3. **Anything else** → Direct Use (execute as CLI command with `--agent`)
## MCP Server Installation

1. Install the MCP server:
   ```bash
   go install github.com/mvanhorn/printing-press-library/library/payments/coingecko/cmd/coingecko-pp-mcp@latest
   ```
2. Register with Claude Code:
   ```bash
   claude mcp add coingecko-pp-mcp -- coingecko-pp-mcp
   ```
3. Verify: `claude mcp list`

## Direct Use

1. Check if installed: `which coingecko-pp-cli`
   If not found, offer to install (see Prerequisites at the top of this skill).
2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
3. Execute with the `--agent` flag:
   ```bash
   coingecko-pp-cli <command> [subcommand] [args] --agent
   ```
4. If ambiguous, drill into subcommand help: `coingecko-pp-cli <command> --help`.

© Hiten Shah · Apache-2.0 · mvanhorn/printing-press-library

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой