Xpersona
R

research analyst

CLAWHUB · Unverified

Minimal local stock/crypto analysis (5 core scripts bundled). Public APIs only, zero credentials, no subprocess, ClawHub reviewed. Skill: research analyst Owner: zhenstaff Summary: Minimal local stock/crypto analysis (5 core scripts bundled). Public APIs only, zero credentials, no subprocess, ClawHub reviewed. Tags: latest:1.0.54 Version history: v1.0.54 | 2026-03-29T12:40:22.210Z | user No changes detected in this version. - No file changes between previous and current versions. - SKILL.md and functionality remain the same. v1.0.53 | 2026-03-29

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173q0k18pjbw86jqbmsmgkz7h83h3vm:research-analyst
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhenstaff-research-analyst/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

skill.md

---
name: research-analyst
description: Minimal local stock/crypto analysis (5 core scripts bundled). Public APIs only, zero credentials, no subprocess, ClawHub reviewed.
version: 1.4.0
homepage: https://github.com/ZhenRobotics/openclaw-research-analyst
commands:
  - /stock - Analyze stock/crypto with 8-dimension scoring
  - /dividend - Dividend yield and safety analysis
  - /portfolio - Portfolio tracking (local storage)
  - /cn_quotes - China A-share realtime quotes
metadata: {"clawdbot":{"emoji":"📈","requires":{"bins":["python3","pip"],"env":["CLAWDBOT_STATE_DIR?"]}}}
---

# Research Analyst v1.4.0 (Minimal)

**Local financial analysis** - 5 core Python scripts for stock/crypto analysis using public APIs.

## What's Included

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.

## Security Model

### Bundled Code Architecture

**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

### What Gets Installed

1. **Python scripts** (5 files, 139KB)
   - Bundled in `scripts/` directory
   - Reviewed by ClawHub
   - Source: https://github.com/ZhenRobotics/openclaw-research-analyst

2. **Dependencies from PyPI** (installed separately)
   - `yfinance`, `requests`, `beautifulsoup4`, `lxml`, `pandas`, `numpy`
   - See requirements.txt for pinned versions
   - Standard packages (~50M+ downloads each)

3. **Verification script**
   - `verify_install.sh` - Optional security checks

## Installation

### Requirements

- Python 3.10+
- pip

### Steps

**1. Install skill**
```bash
claw install research-analyst
cd ~/.clawdbot/skills/research-analyst/
```

**2. (Optional) Verify**
```bash
bash verify_install.sh
```

**3. Install dependencies**
```bash
pip install -r requirements.txt
```

**4. Test**
```bash
python3 scripts/stock_analyzer.py AAPL
```

That's it! No git, no GPG. Dependencies install from PyPI (standard Python practice).

## Quick Start

### US Stocks
```bash
python3 scripts/stock_analyzer.py AAPL
python3 scripts/stock_analyzer.py AAPL MSFT GOOGL
```

### Crypto
```bash
python3 scripts/stock_analyzer.py BTC-USD ETH-USD
```

### Dividends
```bash
python3 scripts/dividend_analyzer.py JNJ PG KO
```

### Portfolio
```bash
# View portfolio
python3 scripts/portfolio_manager.py show

# Add position
pyt

README.md

# 📈 Research Analyst v1.4.0 (Minimal)

> Local stock & crypto analysis with 8-dimension scoring. Bundled code, public APIs only.

[![ClawHub](https://img.shields.io/badge/ClawHub-Skill-blue)](https://clawhub.ai)
[![License](https://img.shields.io/badge/License-MIT--0-green)](https://spdx.org/licenses/MIT-0.html)

## What's Included

This is a **minimal bundle** with core analysis features only:

| Script | Description |
|--------|-------------|
| `stock_analyzer.py` | 8-dimension stock/crypto analysis |
| `portfolio_manager.py` | Track holdings and P&L |
| `dividend_analyzer.py` | Dividend yield and safety analysis |
| `cn_stock_quotes.py` | China A-share real-time quotes |
| `cn_market_rankings.py` | China market top movers |

**Total**: 5 Python scripts, 196KB, zero external dependencies beyond PyPI packages.

## Installation

### 1. Install skill
```bash
claw install research-analyst
cd ~/.clawdbot/skills/research-analyst/
```

### 2. Install dependencies
```bash
pip install -r requirements.txt
```

### 3. Test
```bash
python3 scripts/stock_analyzer.py AAPL
```

## Quick Start

### Analyze US Stocks
```bash
python3 scripts/stock_analyzer.py AAPL
python3 scripts/stock_analyzer.py AAPL MSFT GOOGL
```

### Analyze Crypto
```bash
python3 scripts/stock_analyzer.py BTC-USD ETH-USD
```

### Dividend Analysis
```bash
python3 scripts/dividend_analyzer.py JNJ PG KO
```

### Portfolio Management
```bash
# 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
```

### China Market Data
```bash
# A-share quotes (Shenzhen)
python3 scripts/cn_stock_quotes.py 002168.SZ

# A-share quotes (Shanghai)
python3 scripts/cn_stock_quotes.py 600519.SS

# Top movers
python3 scripts/cn_market_rankings.py
```

## Features

### 8-Dimension Stock Analysis

Analyzes stocks across 8 weighted dimensions:

- **Earnings** (30%) - Revenue growth, profit margins
- **Fundamentals** (20%) - P/E, P/B, ROE, debt ratios
- **Analysts** (20%) - Consensus ratings, target prices
- **Historical** (10%) - Long-term performance
- **Market** (10%) - Volume, liquidity
- **Sector** (15%) - Sector relative strength
- **Momentum** (15%) - Technical indicators
- **Sentiment** (10%) - News sentiment

**Output**: Overall score (0-100), dimension breakdown, recommendation.

### Portfolio Tracking

Local storage in `~/.clawdbot/skills/research-analyst/portfolios.json`:

- Track positions (ticker, quantity, cost)
- Calculate unrealized P&L
- Portfolio composition
- Performance metrics

### Dividend Analysis

- Dividend yield
- Payout ratio
- Dividend growth rate
- Safety score (0-100)

### China Market Data

Public data sources (no auth required):

- **新浪财经** (Sina Finance) - Real-time quotes
- **东方财富** (East Money) - Market rankings

## Data Sources

All public APIs, read-only GET requests:

- **Yahoo Finance** - Stock/crypto quotes
- **CoinGeck

_meta.json

{
  "ownerId": "kn7fsehn8r5qaqyzemc33p42vd826g3m",
  "slug": "research-analyst",
  "version": "1.0.54",
  "publishedAt": 1774788022210
}

SECURITY.md

# Security Policy - Research Analyst v1.4.0 (Minimal)

## Overview

This is a **bundled code** skill with minimal dependencies and zero external downloads.

**Security Model**:
- ✅ All Python code bundled in skill package
- ✅ Code reviewed by ClawHub during submission
- ✅ No runtime downloads (scripts don't fetch external code, no git operations)
- ✅ Only public APIs (read-only GET requests)
- ✅ No credentials required
- ✅ No subprocess calls
- ✅ No system modifications

## What's Included

### Python Scripts (5 files, 139KB)

All scripts bundled with this skill:

1. `scripts/stock_analyzer.py` (99KB) - Main analysis engine
2. `scripts/portfolio_manager.py` (20KB) - Portfolio tracking
3. `scripts/dividend_analyzer.py` (14KB) - Dividend analysis
4. `scripts/cn_stock_quotes.py` (3KB) - China market quotes
5. `scripts/cn_market_rankings.py` (3KB) - China market rankings

**Source**: https://github.com/ZhenRobotics/openclaw-research-analyst

### Dependencies (requirements.txt)

All 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
```

**Installation**: `pip install -r requirements.txt`

## Data Flow

### What Gets Fetched (Read-Only)

- Stock quotes from `query1.finance.yahoo.com`
- Crypto data from `api.coingecko.com`
- News from `news.google.com`
- China market data from `sina.com.cn`, `eastmoney.com`

All requests are **HTTP GET** - read-only, no data upload.

### What Gets Sent

- API queries only (ticker symbols, date ranges)
- No authentication headers
- No personal data
- No analytics or tracking

### What Stays Local

- All analysis results (computed locally)
- Portfolio data (`~/.clawdbot/skills/research-analyst/portfolios.json`)
- Cached API responses (optional, local only)

**No data leaves your machine** except for public API queries.

## Trust Model

### Bundled Code (This Skill)

**Trust decision**: You trust ClawHub's review process.

- ✅ Code reviewed by ClawHub during skill submission
- ✅ Source available for inspection on GitHub
- ✅ MIT-0 license (public domain)
- ✅ No obfuscation, fully readable Python

**Verification**:
```bash
# View main script
cat scripts/stock_analyzer.py

# Check for network calls (should only see GET)
grep -r "requests\." scripts/

# Check for POST (should be empty)
grep -ri "method.*post\|requests\.post" scripts/

# Check for subprocess (should be empty)
grep -r "subprocess\|os\.system" scripts/
```

### PyPI Dependencies

**Trust decision**: You trust the PyPI ecosystem.

Standard, widely-used packages:
- `yfinance` - ~50M downloads
- `requests` - ~500M downloads
- `beautifulsoup4` - ~100M downloads
- `pandas` - ~100M downloads

**Mitigation**:
- Install in virtual environment
- Install in isolated environment for safety
- Review `requirements.txt` for full dependency list

## Installation Security

### Recommended Installation

```bash
# 1. Create isolated environment
python3 -m venv venv
source venv/bin/activate

# 

skill-card.md

## Description:

Minimal local stock/crypto analysis with bundled Python scripts, public APIs, no credentials, and no subprocess calls.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zhenstaff](https://clawhub.ai/user/zhenstaff)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to run local stock, crypto, dividend, China-market, and portfolio analysis from public market data. The outputs support research workflows and should not be treated as financial advice.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Dependency verification claims and pinned requirement hashes may need review before installation.

Mitigation: Review requirements.txt, install in a fresh virtual environment, and do not bypass hash failures unless the packages are independently trusted.

Risk: Portfolio tracking stores financial holdings data locally.

Mitigation: Treat portfolios.json as private financial data and keep CLAWDBOT_STATE_DIR in a directory readable and writable only by the intended user.

Risk: Market analysis and recommendations can be incomplete, delayed, or misleading.

Mitigation: Use the results for informational research only and verify decisions against independent market data or qualified financial advice.

Risk: Public API queries expose ticker symbols and date ranges to external market-data providers.

Mitigation: Run the skill only in environments where those outbound public API requests are acceptable.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/zhenstaff/skills/research-analyst)

## Skill Output:

**Output Type(s):** [text, JSON, shell commands, configuration]

**Output Format:** [Markdown guidance with shell commands; bundled scripts print plain text or JSON analysis results.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Portfolio commands may write local portfolio data to portfolios.json under the configured ClawHub state directory.]

## Skill Version(s):

1.0.54 (source: server release metadata; artifact frontmatter reports 1.4.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to research analyst and adjacent AI workflows.