crypto-price
Skill4 starsChanged 5 months agoMITView on GitHub
Get real-time cryptocurrency prices, market data, and portfolio tracking
In this repository16 other files it gives its agents.
- bet-journalSkill
- clv-journalSkill
- data-vizSkill
- devin-integrationSkill
- dfs-optimizerSkill
- git-helperSkill
- judge-auditSkill
- kelly-criterionSkill
- market-sentimentSkill
- nft-trackerSkill
- portfolio-rebalancerSkill
- screenshot-annotatorSkill
- security-scannerSkill
- sports-oddsSkill
- streak-trackerSkill
- weather-forecastSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 94
Check if price crosses threshold:
- Distinctive: line 118
Check current gas prices:
- Very specific: line 137
Use jq to format and filter JSON responses
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Crypto Price Tracker
Get real-time cryptocurrency prices, market cap, volume, and track your portfolio value.
Quick Price Check
Get current price for any cryptocurrency:
# Bitcoin price in USD
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true" | jq
# Multiple coins at once
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vs_currencies=usd&include_24hr_change=true&include_market_cap=true" | jq
# Price in multiple currencies
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd,eur,gbp,btc" | jqDetailed Market Data
Get comprehensive market information:
# Full market data for a coin
curl -s "https://api.coingecko.com/api/v3/coins/bitcoin" | jq '{
name: .name,
symbol: .symbol,
price: .market_data.current_price.usd,
market_cap: .market_data.market_cap.usd,
volume_24h: .market_data.total_volume.usd,
change_24h: .market_data.price_change_percentage_24h,
change_7d: .market_data.price_change_percentage_7d,
ath: .market_data.ath.usd,
ath_date: .market_data.ath_date.usd
}'Top Cryptocurrencies
List top coins by market cap:
# Top 10 by market cap
curl -s "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=10&page=1" | jq '.[] | {rank: .market_cap_rank, name: .name, symbol: .symbol, price: .current_price, change_24h: .price_change_percentage_24h}'
# Top gainers (sort by 24h change)
curl -s "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1" | jq 'sort_by(.price_change_percentage_24h) | reverse | .[0:10] | .[] | {name: .name, change_24h: .price_change_percentage_24h}'Portfolio Tracking
Calculate portfolio value:
# Define your holdings and calculate total value
# Format: coin_id:amount
HOLDINGS="bitcoin:0.5,ethereum:2.5,solana:50"
# Get prices and calculate
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vs_currencies=usd" | jq --arg holdings "$HOLDINGS" '
. as $prices |
($holdings | split(",") | map(split(":") | {coin: .[0], amount: (.[1] | tonumber)})) |
map(. + {price: $prices[.coin].usd, value: (.amount * $prices[.coin].usd)}) |
{holdings: ., total: (map(.value) | add)}
'Price Alerts (Simple)
Check if price crosses threshold:
# Alert if BTC drops below $50,000
BTC_PRICE=$(curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" | jq -r '.bitcoin.usd')
if (( $(echo "$BTC_PRICE < 50000" | bc -l) )); then
echo "ALERT: Bitcoin is below $50,000! Current: $BTC_PRICE"
fiHistorical Data
Get price history:
# Last 7 days of prices
curl -s "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=7" | jq '.prices | .[-10:] | .[] | {timestamp: (.[0]/1000 | strftime("%Y-%m-%d %H:%M")), price: .[1]}'
# Price on specific date (OHLC)
curl -s "https://api.coingecko.com/api/v3/coins/bitcoin/ohlc?vs_currency=usd&days=30" | jq '.[-1] | {date: (.[0]/1000 | strftime("%Y-%m-%d")), open: .[1], high: .[2], low: .[3], close: .[4]}'Gas Prices (Ethereum)
Check current gas prices:
# ETH gas prices (requires Etherscan API key)
# Free tier: 5 calls/second
curl -s "https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=YourApiKeyToken" | jq '.result | {low: .SafeGasPrice, average: .ProposeGasPrice, high: .FastGasPrice}'Trending Coins
See what's trending:
curl -s "https://api.coingecko.com/api/v3/search/trending" | jq '.coins | .[] | .item | {name: .name, symbol: .symbol, market_cap_rank: .market_cap_rank}'Tips
- CoinGecko API is free with rate limits (10-50 calls/minute)
- Use
jqto format and filter JSON responses - Cache responses locally to avoid rate limits
- For production use, consider paid APIs like CoinMarketCap or CryptoCompare
Resources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

