price-monitor
Track crypto and stock prices in real-time with configurable alerts and multi-currency support.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- description
- Track crypto and stock prices in real-time with configurable alerts and multi-currency support.
02 资源文件 2
- 参考文档_meta.json278 B
- 参考文档README.md731 B
03 SKILL.md 正文
Price Monitor
Real-time cryptocurrency & stock price tracking with alerts.
Use when checking crypto prices, setting price alerts, or monitoring market movements.
Requirements
- Internet access (CoinGecko API — no API key needed for free tier)
curlorpython3for API calls- Optional:
jqfor JSON parsing in shell
Instructions
-
Fetch current price — Use CoinGecko API:
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true&include_market_cap=true" | jq . -
Support multiple assets — Accept comma-separated coin IDs (e.g.,
bitcoin,ethereum,solana). Map common tickers:- BTC →
bitcoin, ETH →ethereum, SOL →solana, XRP →ripple, ADA →cardano - Full list:
https://api.coingecko.com/api/v3/coins/list
- BTC →
-
Display as table:
| Asset | Price (USD) | 24h Change | Market Cap | |----------|-------------|------------|----------------| | Bitcoin | $97,432.10 | +2.3% | $1.92T | | Ethereum | $3,245.67 | -0.8% | $390B | -
Price alerts — Store in
~/.openclaw/price-alerts.json:[{"coin": "bitcoin", "condition": ">", "target": 100000, "currency": "usd", "created": "ISO8601"}]Check alerts on heartbeat or invocation. Remove triggered alerts after notifying.
-
Historical data — Use
/coins/{id}/market_chart?vs_currency=usd&days=7for trend analysis. -
Multi-currency — Support
vs_currenciesparam for JPY, EUR, GBP, etc. Default: USD.
Edge Cases & Troubleshooting
- Rate limiting: CoinGecko free tier allows ~30 req/min. Cache responses for 60s minimum.
- Unknown coin ID: Search
/coins/listendpoint first. Suggest close matches if not found. - API down: Retry once after 5s. Report error clearly if still failing.
- Stale data: CoinGecko may lag 1-3 min on free tier — note this in output.
Security
- No API keys to protect on free tier.
- If using a paid CoinGecko key, never expose it in output or logs.
- Validate user input for coin IDs (alphanumeric and hyphens only).
Notes
- For stocks, use Yahoo Finance endpoints or suggest
curlwithquery1.finance.yahoo.com. - Store alerts in a JSON file, not in memory (survives restarts).
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.