Install
openclaw skills install research-analystMinimal local stock/crypto analysis (5 core scripts bundled). Public APIs only, zero credentials, no subprocess, ClawHub reviewed.
openclaw skills install research-analystLocal financial analysis - 5 core Python scripts for stock/crypto analysis using public APIs.
This is a minimal bundle with core features only:
| Script | Size | Description |
|---|---|---|
stock_analyzer.py | 99KB | 8-dimension stock/crypto analysis |
portfolio_manager.py | 20KB | Track holdings and P&L |
dividend_analyzer.py | 14KB | Dividend yield and safety scoring |
cn_stock_quotes.py | 3KB | China A-share realtime quotes |
cn_market_rankings.py | 3KB | China market top movers |
Total: 5 scripts, 139KB, bundled and reviewed by ClawHub.
v1.4.0-minimal uses bundled code (no runtime downloads):
✅ All code included - 5 Python scripts packaged with this skill ✅ ClawHub reviewed - Code reviewed during submission ✅ No runtime downloads - No git clone, scripts don't fetch external code ✅ No subprocess calls - Zero external tool dependencies ✅ No credentials required - Public APIs only
Python scripts (5 files, 139KB)
scripts/ directoryDependencies from PyPI (installed separately)
yfinance, requests, beautifulsoup4, lxml, pandas, numpyVerification script
verify_install.sh - Optional security checks1. Install skill
claw install research-analyst
cd ~/.clawdbot/skills/research-analyst/
2. (Optional) Verify
bash verify_install.sh
3. Install dependencies
pip install -r requirements.txt
4. Test
python3 scripts/stock_analyzer.py AAPL
That's it! No git, no GPG. Dependencies install from PyPI (standard Python practice).
python3 scripts/stock_analyzer.py AAPL
python3 scripts/stock_analyzer.py AAPL MSFT GOOGL
python3 scripts/stock_analyzer.py BTC-USD ETH-USD
python3 scripts/dividend_analyzer.py JNJ PG KO
# View portfolio
python3 scripts/portfolio_manager.py show
# Add position
python3 scripts/portfolio_manager.py add AAPL --quantity 100 --cost 150
# Remove position
python3 scripts/portfolio_manager.py remove AAPL
# A-share quotes (Shenzhen)
python3 scripts/cn_stock_quotes.py 002168.SZ
# A-share quotes (Shanghai)
python3 scripts/cn_stock_quotes.py 600519.SS
# Hong Kong
python3 scripts/cn_stock_quotes.py 0700.HK
# Top movers
python3 scripts/cn_market_rankings.py
Analyzes stocks across 8 weighted dimensions:
Output: Overall score (0-100), dimension breakdown, recommendation
Local storage in ~/.clawdbot/skills/research-analyst/portfolios.json:
Public sources (no auth):
All public APIs, read-only GET requests:
query1.finance.yahoo.com)api.coingecko.com)news.google.com)sina.com.cn)eastmoney.com)Zero credentials required.
~/.clawdbot/skills/research-analyst/portfolios.json)Optional: Set CLAWDBOT_STATE_DIR environment variable to customize storage location (defaults to ~/.clawdbot)
No data leaves your machine except public API queries.
From PyPI:
yfinance==0.2.40
requests==2.31.0
beautifulsoup4==4.12.3
lxml==5.1.0
pandas==2.2.0
numpy==1.26.3
+ transitive dependencies
See requirements.txt for full list.
All dependencies are mainstream, established packages from PyPI:
| Package | Monthly Downloads | Purpose | PyPI Link |
|---|---|---|---|
| requests | ~500M | HTTP library | pypi.org/project/requests |
| pandas | ~100M | Data analysis | pypi.org/project/pandas |
| numpy | ~200M | Numerical computing | pypi.org/project/numpy |
| beautifulsoup4 | ~100M | HTML parsing | pypi.org/project/beautifulsoup4 |
| yfinance | ~50M | Yahoo Finance API | pypi.org/project/yfinance |
| lxml | ~60M | XML/HTML processor | pypi.org/project/lxml |
✅ Industry Standard: Used by millions of developers worldwide ✅ Well Maintained: Active development and security updates ✅ Open Source: Full source code available for inspection ✅ Pinned Versions: Exact versions specified to prevent surprises ✅ No Credentials: None of these packages require API keys or secrets
Quick verification steps (for paranoid users):
# 1. Review package info on PyPI
# Visit each package link above and check:
# - Recent update date
# - Number of releases
# - Maintainer information
# - Download statistics
# 2. Check package reputation
pip show yfinance # After install, view metadata
pip show requests
pip show pandas
# 3. Verify no unexpected dependencies
pip install -r requirements.txt --dry-run
# Review the dependency tree before actual install
After installing, verify packages loaded correctly:
# Test imports (should complete without network activity)
python3 -c "import yfinance; import requests; import pandas; import numpy; print('✓ All packages loaded')"
# Verify no unexpected files
pip list | grep -E "yfinance|requests|pandas|numpy|beautifulsoup4|lxml"
Standard PyPI supply-chain risk applies (common to all Python projects):
Mitigations in place:
Additional steps you can take:
python3 -m venv venvpip list --outdated| Market | Format | Example |
|---|---|---|
| US Stocks | TICKER | AAPL, MSFT |
| Crypto | TICKER-USD | BTC-USD, ETH-USD |
| A-shares (SZ) | CODE.SZ | 002168.SZ |
| A-shares (SH) | CODE.SS | 600519.SS |
| Hong Kong | CODE.HK | 0700.HK |
# View main script
cat scripts/stock_analyzer.py
# Check for POST (should be empty)
grep -r "requests.post" scripts/
# Check for subprocess (should be empty)
grep -r "subprocess\|os.system" scripts/
pip install -r requirements.txt
mkdir -p ~/.clawdbot/skills/research-analyst/
Minimal bundle excludes advanced features:
For full version: https://github.com/ZhenRobotics/openclaw-research-analyst
MIT-0 (Public Domain) - Free to use, modify, redistribute. No attribution required.
https://spdx.org/licenses/MIT-0.html
⚠️ NOT FINANCIAL ADVICE
Informational purposes only. Not investment advice. Do your own research.
Minimal bundle - Core features only:
Removed (vs full version):
Built for OpenClaw 🦞