crypto-prices

GitHub

获取实时加密货币价格,无API密钥。支持CoinGecko和Coinbase双源,提供24小时涨跌幅、市值排名等上下文及时间戳。强制包含免责声明,拒绝投资建议,确保信息准确且可复现。

plugins/pm-live/skills/crypto-prices/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

查询比特币或以太坊当前价格 询问某山寨币的欧元/美元报价 了解今日加密市场整体行情 比较多种加密货币的表现

Install

npx skills add mohitagw15856/pm-claude-skills --skill crypto-prices -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-live/skills/crypto-prices -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@crypto-prices

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill crypto-prices -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "crypto-prices",
    "description": "Fetch live cryptocurrency prices with zero API keys — CoinGecko's public endpoints primary, Coinbase spot fallback, via plain curl. Use when asked what's bitcoin at, ETH price in euros, how's the crypto market today, or price of some altcoin. Produces the current price with 24h context, the source and timestamp, the rerunnable command, and the volatility caveat that crypto answers must carry."
}

Crypto Prices Skill

Crypto prices are the most-asked live number after weather, and two services answer keylessly: CoinGecko's public API (thousands of coins, market context, any quote currency) and Coinbase's spot endpoint (fast, reliable, majors only). This skill fetches, adds the 24-hour context that turns a number into information, and carries the caveat every crypto answer owes: this number is already stale, and it is not advice.

What This Skill Produces

  • The price — stated first, in the asked currency, with 24h change alongside
  • Context — 24h high/low or market-cap rank when the question implies "how's it doing"
  • The command — exact curl, rerunnable
  • The caveat — timestamped, volatile, informational-only

Required Inputs

Ask for these if not provided:

  • The coin(s) — resolve names to CoinGecko ids (bitcoin, ethereum, solana…); for obscure tickers, search first: https://api.coingecko.com/api/v3/search?query=name — ticker collisions are common and the wrong coin is a real failure mode
  • Quote currency — usd default, but honor the user's (CoinGecko quotes in dozens: vs_currencies=eur,inr,jpy)
  • Depth — a number, or market context (change, volume, rank)?

Framework: The Two Sources

  1. CoinGecko — primary: simple price: curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true&include_24hr_vol=true&include_last_updated_at=true" · richer context: .../api/v3/coins/markets?vs_currency=usd&ids=bitcoin,ethereum (adds rank, high/low, ATH distance) · trending: .../api/v3/search/trending. Public tier rate-limits (~10–30 req/min) — batch ids into one call, never loop.
  2. Coinbase — fallback for majors: curl -s "https://api.coinbase.com/v2/prices/BTC-USD/spot" — extremely reliable, majors and USD/EUR/GBP pairs, no market context. Use when CoinGecko rate-limits or for a fast single number.
  3. Timestamp every answer: include include_last_updated_at and print it; crypto moves percent-per-hour on bad days, and an undated price is misinformation waiting to age.
  4. Context is the value-add: "$63,977, down 2.1% in 24h" answers "how's bitcoin"; the bare price doesn't. For "how's the market," compare BTC + ETH + a top-alt rather than editorializing.
  5. The line that never moves: prices are informational; no buy/sell/hold, no predictions, no portfolio math presented as guidance. "Is now a good time to buy" gets the price, the volatility fact, and a clean refusal to predict.

Output Format

[Coin] Price

[Price] [currency] · 24h: [±x.x%] [· rank/context if asked]

[Multi-coin questions: small table, one row per coin]

Source: [CoinGecko / Coinbase] at [timestamp, UTC] · rerun: [exact curl] Live snapshot, already aging — informational only, not investment advice.

Quality Checks

  • The coin id was resolved unambiguously (searched when the ticker could collide)
  • 24h change accompanies the price
  • The timestamp appears in the answer
  • Multi-coin requests were batched into one call
  • The not-advice line appears verbatim in spirit — every time

Anti-Patterns

  • Do not answer from memory — a remembered crypto price is fiction; fetch or hand over the command
  • Do not guess which coin a ticker means — search and confirm; $PEPE-class collisions burn people
  • Do not loop per-coin requests against a rate-limited public API — batch
  • Do not predict, recommend, or imply timing — the refusal is part of the skill
  • Do not quote without the timestamp — undated crypto prices are misinformation with confidence

Version History

  • 54fad50 Current 2026-07-19 13:04

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-hiring-panel/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-severance/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/agm-in-a-box/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/behavior-intervention-plan/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bennett-time-audit/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-game-designer/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md

Metadata

Files
0
Version
e4def4c
Hash
e94202f6
Indexed
2026-07-19 13:04

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 07:49
浙ICP备14020137号-1 $방문자$