Stock Analysis: Structured Analysis of Stocks and Cryptocurrencies Using Yahoo Finance

Preface

When monitoring markets daily, reviewing financial reports, or maintaining watchlists and portfolios, information is often scattered across market data software, news feeds, and spreadsheets. Without a fixed workflow, an Agent tends to provide only generic conclusions, making it difficult to reuse results. Below is an introduction to Stock Analysis (Coordinate @clawhub_udiedrichsen/stock-analysis) on SkillHub: it encodes capabilities such as market data retrieval, multi-dimensional scoring, portfolio management, and watchlists into a universal SKILL.md. The Agent executes scripts and instructions to produce results that are more verifiable and repeatable.

What is this

Stock Analysis is a data-focused Skill designed for stock and cryptocurrency analysis. The current version is 6.2.0, maintained by the publisher udiedrichsen and synced to SkillHub via clawhub. It relies on public data sources such as Yahoo Finance to cover scenarios including single-asset analysis, portfolio management, dividend analysis, and trend scanning. The Skill tags indicate requires_api_key=false; core market data capabilities do not strictly require a self-provided API Key (some optional features, such as Twitter trends, require separate configuration—see notes below).

It is categorized under data-analysis on SkillHub. Page statistics (subject to SkillHub display) show a rating of 100000, 93400 downloads, and 2077 installations. Upstream repository: clawhub.ai/udiedrichsen/stock-analysis. Domestic entry: SkillHub Skill Page, API Coordinate Page: api.skillhub.cn/org-02qudk26/stock-analysis.

Core Features

The following capabilities are derived from the official description and upstream documentation, and are hosted by scripts within the skill directory upon installation.

Eight-Dimension Stock Scoring and Risk Alerts

Provides comprehensive scoring for US stock targets across dimensions including earnings surprises, fundamentals, analyst sentiment, historical earnings reactions, market and sector environment, momentum, and social sentiment (weights for stocks and cryptocurrencies are explained in the upstream documentation). It also provides risk alerts for upcoming earnings, overbought conditions, and weakening risk appetite, while supporting performance options like --fast and --no-insider to reduce execution time.

Portfolio Management and Periodic Review

Allows for the creation of named portfolios, recording of holding costs and quantities, and analysis of periodic returns. This facilitates keeping “holding tables” and “analysis conclusions” within the same workflow.

Watchlist and Alerts

Supports adding tracked assets and setting alerts based on target prices, stop-loss prices, or changes in buy/sell signals. It can list watchlists and check for triggered conditions (including notification format options for Telegram).

Dividend Analysis

For targets focused on dividend strategies, it outputs metrics such as yield, payout ratio, growth, and safety scores. It supports comparisons across multiple assets and JSON output.

Hot Scanner

Aggregates sources like CoinGecko, Google News, and Yahoo Finance to scan for current popular crypto and stock movements; social media can be disabled to speed up scanning. Twitter/X sentiment is optional and requires installing bird and configuring authentication as per upstream instructions.

Rumor Scanner (v6.2)

Scans for M&A rumors, insider trading, analyst rating changes, social media “rumor” type mentions, and SEC-related activities. It scores potential impact, making it suitable for pre-market reading (upstream suggests running at 07:00, for example).

Cryptocurrency

Supports common mainstream coins (using formats like BTC-USD, ETH-USD), with analysis items including market capitalization, correlation with BTC, and momentum.

Installation and Enablement

1. Install SkillHub CLI (if not installed)

command -v skillhub && skillhub --version

If not installed, follow the SkillHub Installation Instructions. For example, the full installation command:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill to the current Agent’s skills directory

SkillHub requires specifying --dir during installation; otherwise, it installs to the default ./skills/ and the Agent may fail to load it.

skillhub install @clawhub_udiedrichsen/stock-analysis --dir <your Agent skills directory>

Common paths (subject to SkillHub documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also send the installation prompt to AI on the SkillHub skill page: install @clawhub_udiedrichsen/stock-analysis based on skillhub.md.

3. OpenClaw Ecosystem (if using this environment)

The command provided by the upstream ClawHub is:

openclaw skills install @udiedrichsen/stock-analysis

Cursor users should reference the Skill in their conversations after completing skillhub install and pointing to ~/.cursor/skills/; the scripts rely on uv to run Python (see typical usage). If the Agent does not recognize the new Skill after installation or upgrade, restart or refresh the skill list according to your client’s instructions.

Typical Usage

Once installed, let the skill directory be {baseDir}. The following commands are from the upstream repository documentation; replace {baseDir} with the actual installation path.

Single and Multi-Asset Analysis

uv run {baseDir}/scripts/analyze_stock.py AAPL
uv run {baseDir}/scripts/analyze_stock.py AAPL --fast
uv run {baseDir}/scripts/analyze_stock.py AAPL MSFT GOOGL
uv run {baseDir}/scripts/analyze_stock.py BTC-USD ETH-USD

Dividends

uv run {baseDir}/scripts/dividends.py JNJ
uv run {baseDir}/scripts/dividends.py JNJ PG KO MCD --output json

Watchlist

uv run {baseDir}/scripts/watchlist.py add AAPL --target 200
uv run {baseDir}/scripts/watchlist.py list
uv run {baseDir}/scripts/watchlist.py check

Portfolio

uv run {baseDir}/scripts/portfolio.py create "Tech Portfolio"
uv run {baseDir}/scripts/portfolio.py add AAPL --quantity 100 --cost 150
uv run {baseDir}/scripts/portfolio.py show
uv run {baseDir}/scripts/analyze_stock.py --portfolio "Tech Portfolio" --period weekly

Hot and Rumor Scanning

python3 {baseDir}/scripts/hot_scanner.py
python3 {baseDir}/scripts/hot_scanner.py --no-social --json
python3 {baseDir}/scripts/rumor_scanner.py

In Cursor, you can also use natural language to ask the Agent to invoke the above capabilities (e.g., “Use Stock Analysis to quickly analyze AAPL and compare with MSFT”). The Skill will guide the selection of the corresponding scripts and parameters.

Portfolio and watchlist data default to the user directory, as documented upstream:

  • Portfolio: ~/.clawdbot/skills/stock-analysis/portfolios.json
  • Watchlist: ~/.clawdbot/skills/stock-analysis/watchlist.json

Applicable Scenarios and Notes

Who it is for: Individual investors and researchers who need repeatable market reviews, watchlist alerts, portfolio tracking, dividend screening, or pre-market trend/rumor scanning; developers who wish to complete these steps within an Agent conversation rather than writing custom crawler scripts every time.

Limitations (Explicitly stated upstream): Yahoo Finance has a delay of approximately 15–20 minutes; short interest and insider trading data have lags ranging from days to weeks; coverage is primarily US stocks, and non-US data may be incomplete; hot trends and news rely on keyword and caching strategies and cannot replace compliant research workflows. The Twitter capability of the Hot Scanner requires additional installation and login configuration. Any output is for informational purposes only and does not constitute investment advice.

Conclusion

Through the steps above, Stock Analysis consolidates market data retrieval, scoring, portfolios, alerts, and scanners into a single set of Skills and scripts, making it suitable for repeated use in Agent environments like Cursor. For installation and details, see the SkillHub Skill Page, and the coordinate entry https://api.skillhub.cn/org-02qudk26/stock-analysis.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye