research-analyst
Local stock/crypto analysis using Python scripts. Uses public APIs only. No credentials required. All code included and reviewed by ClawHub.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Local stock/crypto analysis using Python scripts. Uses public APIs only. No credentials required. All code included and reviewed by ClawHub.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | research-analyst |
| description | Local stock/crypto analysis using Python scripts. Uses public APIs only. No credentials required. All code included and reviewed by ClawHub. |
| version | 1.4.0 |
| homepage | https://github.com/ZhenRobotics/openclaw-research-analyst |
| commands | ["/stock - Analyze stock/crypto","/cn_market - China market report","/portfolio - Portfolio management (local storage)"] |
| metadata | {"clawdbot":{"emoji":"📈","requires":{"bins":["python3","pip"]}}} |
Local financial analysis tool - Analyze stocks, cryptocurrencies, and China markets using public APIs.
Runs Python analysis scripts locally to analyze:
Zero credentials required. All data from public APIs:
v1.4.0+ uses bundled code instead of downloading from GitHub:
✅ All code included - Python scripts packaged with this skill ✅ ClawHub reviewed - Code reviewed during skill submission ✅ No external downloads - No git clone or runtime code fetching ✅ Faster installation - Code already present, just install dependencies ✅ Lower risk - No execution of external/unreviewed code
Previous versions (v1.3.x) downloaded code from GitHub at runtime. v1.4.0 eliminates this by bundling all code in the skill package.
When you install this skill, you get:
Python scripts (~50KB, 26 files)
scripts/ directoryDependencies from PyPI (installed separately)
yfinance, requests, beautifulsoup4, lxml, etc.Verification script
verify_install.sh - Optional security checks1. Install the skill (if using OpenClaw/ClawHub)
claw install research-analyst
2. Navigate to skill directory
cd ~/.clawdbot/skills/research-analyst/
# Or wherever your skill installation directory is
3. (Optional) Run verification script
bash verify_install.sh
# Checks:
# - Python scripts for suspicious patterns
# - Dependencies in requirements.txt
# - File integrity
4. Install Python dependencies
# With hash verification (recommended)
pip install --require-hashes -r requirements.txt
# Or standard install
pip install -r requirements.txt
5. Test installation
python3 scripts/stock_analyzer.py --help
That's it! No git clone, no GPG verification, no external downloads.
python3 scripts/stock_analyzer.py AAPL
python3 scripts/stock_analyzer.py AAPL MSFT GOOGL
python3 scripts/stock_analyzer.py BTC-USD ETH-USD
# A-shares (Shenzhen)
python3 scripts/stock_analyzer.py 002168.SZ
# A-shares (Shanghai)
python3 scripts/stock_analyzer.py 600519.SS
# Hong Kong
python3 scripts/stock_analyzer.py 0700.HK
# Market report
python3 scripts/cn_market_report.py --async
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
# Add alert
python3 scripts/watchlist_manager.py add AAPL --target 200 --stop 150
# Check alerts
python3 scripts/watchlist_manager.py check
# List all
python3 scripts/watchlist_manager.py list
Analyzes stocks across 8 dimensions with weighted scoring:
Output: Overall score (0-100), dimension breakdown, recommendation
All public, no authentication required:
Local storage (~/.clawdbot/skills/research-analyst/portfolios.json):
Local storage (~/.clawdbot/skills/research-analyst/watchlist.json):
| Market | Format | Example |
|---|---|---|
| US Stocks | TICKER | AAPL, MSFT, GOOGL |
| Crypto | TICKER-USD | BTC-USD, ETH-USD |
| A-shares (Shenzhen) | CODE.SZ | 002168.SZ |
| A-shares (Shanghai) | CODE.SS | 600519.SS |
| Hong Kong | CODE.HK | 0700.HK, 9988.HK |
query1.finance.yahoo.comapi.coingecko.comnews.google.comAll requests are HTTP GET - read-only, no data upload.
~/.clawdbot/skills/research-analyst/portfolios.json)~/.clawdbot/skills/research-analyst/watchlist.json)No data leaves your machine except for public API queries.
✅ Reviewed by ClawHub during skill submission ✅ Source available: https://github.com/ZhenRobotics/openclaw-research-analyst ✅ Open source: MIT-0 license, fully inspectable
Our claim: "No data sent beyond read-only API queries"
Verification: Review scripts/ directory in skill installation
Installed separately from PyPI (not controlled by this skill):
yfinance - ~50M downloads, Yahoo Finance API clientrequests - ~500M downloads, Python HTTP librarybeautifulsoup4 - ~100M downloads, HTML parserlxml - ~60M downloads, XML/HTML processorpandas - ~100M downloads, data analysis librarynumpy - ~200M downloads, numerical computingTrust decision: These packages are widely-used and established, but you must trust the PyPI ecosystem. They can execute code during installation.
Mitigation:
pip install --require-hashes for integrity verification# 1. Create isolated environment
python3 -m venv venv
source venv/bin/activate
# 2. Run verification (optional)
bash verify_install.sh
# 3. Install with hash verification
pip install --require-hashes -r requirements.txt
# 4. Test
python3 scripts/stock_analyzer.py AAPL
Bundled code is already reviewed by ClawHub, but you can still inspect:
# View main analysis script
cat scripts/stock_analyzer.py
# Check for network calls (should only see GET requests)
grep -r "requests\." scripts/
# Check for data transmission (should see NO POST)
grep -ri "method.*post\|requests\.post" scripts/
# Check for subprocess calls
grep -r "subprocess\|os\.system" scripts/
For extra security:
# Run in Docker container
docker run -it -v $(pwd):/app python:3.10 bash
cd /app && pip install -r requirements.txt
python3 scripts/stock_analyzer.py AAPL
verify_install.sh performs 7 automated checks:
Usage:
bash verify_install.sh
# Exit code 0: All checks passed
# Exit code 1: Critical errors detected
Results:
✓ ALL CHECKS PASSED - Safe to use⚠ PASSED WITH WARNINGS - Review warnings✗ VERIFICATION FAILED - Do not proceed# Ensure dependencies are installed
pip install -r requirements.txt
# Verify installation
pip list | grep yfinance
# Create data directory
mkdir -p ~/.clawdbot/skills/research-analyst/
# Check permissions
ls -la ~/.clawdbot/skills/research-analyst/
Yahoo Finance and CoinGecko have rate limits:
Solution: Add delays between requests or use caching.
Some China data sources may be inaccessible outside China:
v1.3.x (Download Model):
Install skill → git clone repo → verify → install deps → run
Risk: Downloads and executes external code
v1.4.0+ (Bundled Model):
Install skill (code included) → install deps → run
Risk: Only PyPI dependencies (standard practice)
Advantages:
Disadvantages:
For latest development version, see: https://github.com/ZhenRobotics/openclaw-research-analyst
MIT-0 (Public Domain) - Free to use, modify, and redistribute. No attribution required.
https://spdx.org/licenses/MIT-0.html
⚠️ NOT FINANCIAL ADVICE
This tool is for informational and educational purposes only. Not financial, investment, or trading advice. Always do your own research and consult with qualified financial advisors before making investment decisions.
Major architecture change: Bundled code model
Migration from v1.3.x: No action needed for new installs. Existing users can continue using v1.3.x or upgrade to v1.4.0.
Built for OpenClaw 🦞