>- A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report. Supports A-share, US stocks, HK stocks. Generates detailed investment recommendations with risk assessment and actionable trading strategies.
npx skills add https://github.com/freestylefly/wesight --skill stock-analyzer
One-stop comprehensive stock analysis tool that generates professional-grade investment reports.
Python packages (install once):
pip install yfinance pandas numpy
IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL
| Parameter | Description | Example | Default |
|-----------|-------------|---------|---------|
| ticker | Stock ticker symbol (required) | 601288.SS, AAPL | - |
| --period | Analysis period | 1mo, 3mo, 6mo, 1y, 2y | 6mo |
| --output | Output format | text, json | text |
600519.SS, 601288.SS000001.SZ, 002594.SZAAPL, TSLA, NVDA0700.HK, 9988.HKThe analysis report includes 8 sections:
When user requests stock analysis:
.SS, Shenzhen = .SZ export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" <ticker>
Take freestylefly/stock-analyzer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.