Install
openclaw skills install @bronoman/coingecko-2Live Bitcoin & crypto price data via CoinGecko API. Fetch BTC/USD, ETH/USD, multi-asset quotes. Supports both Demo (free) and Pro API keys. No credentials in prompts—only .env isolation.
openclaw skills install @bronoman/coingecko-2Skill Path: [config]/.hermes/skills/coingecko
Live cryptocurrency price data integration with private key isolation and fallback redundancy. Fetch Bitcoin, Ethereum, and 10,000+ crypto asset prices using free CoinGecko API or paid Pro tier.
| Feature | Status | Auth Required | Fallback |
|---|---|---|---|
| Fetch BTC/USD Price | ✅ | Optional (Demo key works) | Kraken API |
| Fetch Multi-Asset Prices | ✅ | Optional | Kraken API |
| 24h Price Change | ✅ | Optional | Kraken (limited) |
| Market Cap & Volume | ✅ Pro | Optional | Kraken (limited) |
| Format Price Data | ✅ | No | — |
| Automatic Price Refresh | ✅ | No | — |
CoinGecko API key never reaches Hermes chat or logs.
All price data queries are read-only (no signing, no write permissions).
Credentials stored securely using environment variable isolation.
All scripts are in:
[config]/.hermes/skills/coingecko/scripts/
fetch_price.py — Fetch live BTC/USD from CoinGecko or Krakenfetch_multi_asset.py — Query multiple crypto assets at oncehealth_check.py — Verify API connectivity and key validitypython3 [skill-scripts]/fetch_price.py
# Returns: {"price": 81291.00, "price_str": "$81,291.00", "change_24h": 0.48, ...}
python3 [skill-scripts]/fetch_multi_asset.py bitcoin ethereum
# Returns: {"bitcoin": {"price": 81291}, "ethereum": {"price": 2432.50}}
python3 [skill-scripts]/health_check.py
# Returns: {"api_status": "ok", "key_type": "demo", "rate_limit_remaining": 10}
This skill provides standalone cryptocurrency price data integration for Hermes. Fetch live Bitcoin and Ethereum prices, query thousands of crypto assets, and integrate market data into any workflow—all with automatic fallback to Kraken API if CoinGecko key is unavailable.
Key Advantage: Works as an independent skill. Can be used for trading, research, monitoring, alerts, or any use case that needs live crypto prices. content processors and other downstream systems call this skill as needed.
https://api.coingecko.com/api/v3/... with x_cg_demo_api_key paramx_cg_pro_api_key paramScript handles both automatically — no code changes needed. Just add key to .env and script auto-detects type.
API_KEY=CG-JptZUWeFoPzfDLKmFPE3bMn3
If CoinGecko key fails or is rate-limited, script automatically falls back to Kraken API (no auth needed):
┌─────────────────────────────────────────┐
│ fetch_price.py │
│ 1. Try CoinGecko (has more data) │
│ ├─ With Demo key: 10-50 calls/min │
│ ├─ With Pro key: unlimited │
│ └─ On rate-limit: timeout ×3, then→├─┐
│ 2. Fall back to Kraken (no auth) │ │
│ ├─ Always works for BTC/USD │ │
│ ├─ Limited to major pairs │ │
│ └─ Returns: {"BTC": price, ...} │ │
│ 3. On both fail: Return error │ │
│ │ │
└─────────────────────────────────────────┘ │
Return: {"price": N, "source": "..."} ←─┘
API Key Isolation
fetch_price.py reads from $CG_API_KEY environmentNo Data Leakage
Transparent & Auditable
Protect Credential Files
Never Share Your Key
.env in chat, tickets, or public repos.env to git (add to .gitignore)Rotate Keys Periodically
Cause: Network unreachable or DNS failure
Fix:
# Test connectivity to CoinGecko
curl -s https://api.coingecko.com/api/v3/ping
# Should return: {"gecko_says":"..."}
# If fails: Check internet connection, firewall, DNS
Cause: Key is malformed, expired, or incorrect
Fix:
.envhealth_check.pyCause: Demo key limit reached (10-50 calls/min)
Fix:
Cause: Kraken doesn't support that trading pair
Fix:
[config]/.hermes/coingecko-envrequests, urllib3, python-dotenvhealth_check.py returns "api_status": "ok"fetch_price.py returns valid BTC pricefetch_multi_asset.py bitcoin ethereum returns multiple pricesTested (May 11, 2026):
CoinGecko Demo API:
Price: $81,291.00 (▲ 0.48%)
Source: CoinGecko API
Status: ✅ Working
Kraken Fallback:
Price: $81,313.50
Source: Kraken (no auth)
Status: ✅ Working
✅ Initial release — Full CoinGecko + Kraken integration
✅ Dual-source redundancy — Automatic fallback to Kraken if Demo key rate-limited
✅ Content integration-ready — Bitcoin content generator with live price
✅ Zero-exposure design — API keys stored in .env only, never in prompts/logs
✅ Demo + Pro support — Works with both free and paid API tiers
This skill represents clean, secure, standalone cryptocurrency data integration for Hermes Agent. Every operation is:
The philosophy is simple: Live market data should be free and accessible. This skill brings that to Hermes through both free (Demo API) and professional (Pro API) tiers, with automatic fallback so you always get a price.
Downstream systems like the Daily Intelligence Brief call this skill when they need live price data. The skill has no knowledge of or dependency on calling processes, it is purely a data provider.
Philosophy: Bitcoin is the hardest money ever created. Hermes should know its price in real-time, always. This skill makes that possible, for any use case.
PRs welcome.
This CoinGecko skill and associated code is provided for educational, informational, and agent integration purposes only. The code is offered "as is", without any warranty of any kind. Use of this skill is entirely at your own risk.
The author is not responsible or liable for:
CoinGecko and Kraken are third-party services operated by independent companies. This skill is a client integration only. Always verify prices independently before making financial decisions.
This project is an expression of technical exploration. It does not constitute financial advice, investment guidance, or professional software.
By using this skill you agree that you are solely responsible for your own actions and compliance with all applicable laws and regulations regarding cryptocurrency trading, taxation, and financial reporting. This is not financial advice.