← Back to Skills Marketplace
avmw2025

Crypto Market Intel

by Elway Botty · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
246
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install crypto-market-intel
Description
Crypto Market Intelligence - Free market data pipeline for any OpenClaw agent. Zero API keys needed. Fetch real-time crypto prices, market metrics, Fear & Gr...
README (SKILL.md)

Crypto Market Intelligence

Real-time market data pipeline for crypto, stocks, and macro indicators. Zero API keys required. All data fetched from free public APIs.

When to Use

Trigger this skill when you need:

  • Current cryptocurrency prices and market caps
  • Bitcoin/Ethereum dominance
  • Fear & Greed Index
  • Trending coins
  • DeFi Total Value Locked (TVL)
  • Stock market indices (S&P 500, Nasdaq, Dow, VIX)
  • AI stock prices (NVDA, AMD, MSFT, etc.)
  • Macro indicators (DXY dollar index, 10Y Treasury yield)
  • Pre-fetched data for trading analysis
  • Market intelligence for portfolio decisions

Quick Start

Fetch all market data:

cd ~/.openclaw/skills/crypto-market-intel/scripts
python3 market-data-fetcher.py all --output ~/market-data

Analyze market conditions:

./analyze-market.sh

Core Features

6 Free APIs, Zero Keys

  • CoinGecko (coins, global metrics, trending)
  • Alternative.me (Fear & Greed Index)
  • DeFi Llama (DeFi TVL)
  • Yahoo Finance (stocks, indices, bonds)

Crypto Coverage

  • Top 30 coins by market cap
  • Global market metrics (total mcap, volume, dominance)
  • Fear & Greed Index (current + 7-day history)
  • Trending coins
  • DeFi Total Value Locked

Stocks & Macro

  • Major indices (S&P 500, Nasdaq, Dow, VIX)
  • AI stocks (NVDA, AMD, AVGO, MRVL, TSM, ASML, ARM, MSFT, AMZN, GOOG, META, ORCL)
  • AI energy (VST, CEG, OKLO, SMR, TLN)
  • AI infrastructure (VRT, ANET, CRDO)
  • Dollar Index (DXY)
  • 10-Year Treasury Yield

Agent-Ready Output

  • JSON format for easy parsing
  • Structured data with timestamps
  • Works as cron job or on-demand
  • No hallucinated prices — real market data

Usage

Fetch Crypto Data Only

python3 scripts/market-data-fetcher.py crypto --output ./data

Output: data/crypto-latest.json

Fetch Stocks/Macro Only

python3 scripts/market-data-fetcher.py stocks --output ./data

Output: data/stocks-latest.json

Fetch Everything

python3 scripts/market-data-fetcher.py all --output ./data

Automated Analysis

Run the analyzer wrapper to fetch data and generate a market summary prompt:

./scripts/analyze-market.sh ~/market-data

This fetches fresh data and outputs a structured prompt for the agent to analyze:

  • Market sentiment (Fear & Greed)
  • Top movers (biggest gains/losses)
  • Macro environment (DXY, yields, VIX)
  • Notable signals

Cron Integration

Schedule hourly market data fetches:

crontab -e

# Fetch market data every hour
0 * * * * cd ~/.openclaw/skills/crypto-market-intel/scripts && python3 market-data-fetcher.py all --output ~/market-data

The agent can then read pre-fetched data for instant analysis without waiting for API calls.

Data Schema

Crypto Output (crypto-latest.json)

{
  "fetched_at": "2026-03-13T15:45:00Z",
  "source": "coingecko+alternative.me",
  "top_coins": [
    {
      "symbol": "BTC",
      "name": "Bitcoin",
      "price": 68500.0,
      "market_cap": 1340000000000,
      "volume_24h": 28000000000,
      "change_24h_pct": 2.5,
      "change_7d_pct": -1.2,
      "change_1h_pct": 0.3,
      "ath": 69000.0,
      "ath_change_pct": -0.7,
      "rank": 1
    }
  ],
  "global": {
    "total_market_cap_usd": 2400000000000,
    "total_volume_24h_usd": 85000000000,
    "btc_dominance": 55.8,
    "eth_dominance": 17.2,
    "active_cryptocurrencies": 13245,
    "market_cap_change_24h_pct": 1.8
  },
  "fear_greed": [
    {
      "value": 62,
      "label": "Greed",
      "date": "1710346800"
    }
  ],
  "trending": [
    {
      "name": "Solana",
      "symbol": "SOL",
      "rank": 5,
      "score": 0
    }
  ],
  "defi_tvl": {
    "total_tvl": 95800000000,
    "date": 1710288000,
    "change_1d": 2.1
  }
}

Stocks Output (stocks-latest.json)

{
  "fetched_at": "2026-03-13T15:45:00Z",
  "stocks": {
    "indices": [
      {
        "symbol": "^GSPC",
        "price": 5200.5,
        "prev_close": 5180.0,
        "change_pct": 0.4
      }
    ],
    "ai_chips": [
      {
        "symbol": "NVDA",
        "price": 890.25,
        "prev_close": 885.0,
        "change_pct": 0.59
      }
    ]
  },
  "dxy": {
    "price": 103.45,
    "prev_close": 103.2
  },
  "treasury_10y": {
    "yield": 4.25,
    "prev_close": 4.22
  }
}

Rate Limits & Fair Use

API Rate Limit Notes
CoinGecko 10-50 calls/min Free tier, no key required
Alternative.me Unlimited Public endpoint
DeFi Llama Unlimited Public endpoint
Yahoo Finance ~2000 calls/hour Unofficial API, use responsibly

Recommendation: Run fetcher hourly, not more frequently. APIs are free but fair use matters.

Troubleshooting

Problem: Fetch fails with timeout

Solution: Check network connection, try again in a few minutes. Some APIs have temporary outages.


Problem: Yahoo Finance returns no data for a stock

Solution: Symbol may be delisted or unavailable. Check symbol accuracy (use ^ prefix for indices, e.g., ^GSPC).


Problem: DeFi TVL is null

Solution: DeFi Llama API may be updating. Historical data endpoint occasionally has lag. Try again later.


Problem: Fear & Greed returns empty

Solution: Alternative.me may be down. Check https://alternative.me/crypto/fear-and-greed-index/ directly.

Architecture Notes

  • No authentication — all APIs are public, no keys to manage
  • HTTP requests only — uses Python's built-in urllib (no external deps)
  • Error tolerant — if one API fails, others still succeed
  • Portable — works on any system with Python 3.7+
  • Configurable output — use --output flag to set data directory

Integration Examples

Discord Bot Alert

#!/bin/bash
python3 scripts/market-data-fetcher.py crypto --output /tmp
FEAR=$(jq '.fear_greed[0].value' /tmp/crypto-latest.json)
if [ "$FEAR" -lt 25 ]; then
  echo "🚨 Extreme Fear detected: $FEAR — potential buy opportunity"
fi

Trading Bot Pre-Analysis

import json

# Load pre-fetched data
with open("~/market-data/crypto-latest.json") as f:
    data = json.load(f)

# Extract top movers
top_coins = data["top_coins"]
gainers = sorted(top_coins, key=lambda x: x["change_24h_pct"], reverse=True)[:5]

print("Top 5 Gainers (24h):")
for coin in gainers:
    print(f"{coin['symbol']}: +{coin['change_24h_pct']:.2f}%")

References

See references/api-sources.md for detailed API documentation, endpoints, response schemas, and rate limit specifics.


Last Updated: 2026-03-13

Usage Guidance
This skill appears coherent and low-risk for its stated purpose, but review a few practical points before installing: (1) the scripts write JSON to a local directory (default ~/market-data) — ensure you want those files and the directory has appropriate permissions; (2) Yahoo Finance endpoints used are unofficial and may be unreliable or rate-limited, so follow the fair-use guidance and consider lower fetch frequency or caching; (3) run the scripts in a limited environment (non-root, sandbox) if you want extra safety; (4) if you plan to schedule via cron, double-check the cron entry and output paths. If you need higher assurance, inspect/run the included scripts in a safe environment to confirm behavior.
Capability Analysis
Type: OpenClaw Skill Name: crypto-market-intel Version: 1.0.1 The skill bundle provides a legitimate pipeline for fetching cryptocurrency and stock market data from public APIs (CoinGecko, Yahoo Finance, etc.). The Python script 'market-data-fetcher.py' uses standard libraries to retrieve and save JSON data, and the 'analyze-market.sh' script correctly facilitates agent interaction without any evidence of data exfiltration, malicious execution, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description claim free market data with zero API keys; the package includes a Python fetcher and a shell wrapper that only call public APIs (CoinGecko, Alternative.me, DeFi Llama, Yahoo Finance) and produce JSON output — all requested resources match the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the included scripts and optionally schedule them via cron. The scripts only perform HTTP GETs to documented public endpoints and write structured JSON to an output directory; they do not read unrelated local files or access environment secrets.
Install Mechanism
No install spec is provided (instruction-only install) and bundled code is plain Python/shell. Nothing is downloaded from external installers or executed from arbitrary archives; the fetcher uses Python's stdlib urllib with no external dependencies.
Credentials
The skill requires no environment variables, credentials, or config paths. Network access is necessary for its purpose; there are no requests for unrelated keys or secrets.
Persistence & Privilege
always:false and user-invocable:true (defaults). The skill does not request permanent elevated privileges, does not modify other skills, and only writes output files to a user-specified directory (default ~/market-data).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crypto-market-intel
  3. After installation, invoke the skill by name or use /crypto-market-intel
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Tested release. All scripts verified against live APIs.
v1.0.0
Initial release: Free crypto + stock market data pipeline. 6 APIs, zero keys required.
Metadata
Slug crypto-market-intel
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Crypto Market Intel?

Crypto Market Intelligence - Free market data pipeline for any OpenClaw agent. Zero API keys needed. Fetch real-time crypto prices, market metrics, Fear & Gr... It is an AI Agent Skill for Claude Code / OpenClaw, with 246 downloads so far.

How do I install Crypto Market Intel?

Run "/install crypto-market-intel" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Crypto Market Intel free?

Yes, Crypto Market Intel is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Crypto Market Intel support?

Crypto Market Intel is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Crypto Market Intel?

It is built and maintained by Elway Botty (@avmw2025); the current version is v1.0.1.

💬 Comments