Agent Skillsfreestylefly/wesight › stock-analyzer

stock-analyzer

GitHub

一站式股票深度分析工具,支持A股、美股及港股。整合实时行情、基本面、技术面及成长性数据,生成包含评分、交易策略和风险预警的专业投资报告。

SKILLs/stock-analyzer/SKILL.md freestylefly/wesight

Trigger Scenarios

用户请求股票深度分析或综合报告 用户询问特定股票的投资建议与风险评估

Install

npx skills add freestylefly/wesight --skill stock-analyzer -g -y
More Options

Non-standard path

npx skills add https://github.com/freestylefly/wesight/tree/main/SKILLs/stock-analyzer -g -y

Use without installing

npx skills use freestylefly/wesight@stock-analyzer

指定 Agent (Claude Code)

npx skills add freestylefly/wesight --skill stock-analyzer -a claude-code -g -y

安装 repo 全部 skill

npx skills add freestylefly/wesight --all -g -y

预览 repo 内 skill

npx skills add freestylefly/wesight --list

SKILL.md

Frontmatter
{
    "name": "stock-analyzer",
    "official": true,
    "description": "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."
}

Stock Deep Analyzer

One-stop comprehensive stock analysis tool that generates professional-grade investment reports.

Features

  • Real-time Market Data — Current price, volume, market cap, beta
  • Value Investing Metrics — P/E, P/B, ROE, ROA, dividend yield, payout ratio
  • Technical Indicators — MA5/20/60, RSI, MACD, Bollinger Bands, VWAP
  • Growth Analysis — Revenue growth, earnings growth, profit margins
  • Financial Health — Asset/liability ratio, liquidity ratio
  • Investment Rating — Multi-dimensional scoring (value 35% / technical 25% / growth 25% / financial 15%)
  • Trading Strategies — Long-term hold, swing trade, short-term speculation
  • Risk Assessment — Key risks and price levels

Dependencies

Python packages (install once):

pip install yfinance pandas numpy

Usage

IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.

Basic Analysis

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS

Specify Analysis Period

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y

US Stocks

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL

Parameters

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

Stock Ticker Formats

  • A-share (Shanghai): 600519.SS, 601288.SS
  • A-share (Shenzhen): 000001.SZ, 002594.SZ
  • US stocks: AAPL, TSLA, NVDA
  • HK stocks: 0700.HK, 9988.HK

Output Structure

The analysis report includes 8 sections:

  1. Real-time Market Overview
  2. Value Investing Indicators (Score /10)
  3. Technical Analysis (Score /10)
  4. Growth Indicators (Score /10)
  5. Financial Health (Score /10)
  6. Comprehensive Investment Rating (Overall /10)
  7. Recommended Trading Strategies
  8. Key Risk Warnings

Workflow

When user requests stock analysis:

  1. Identify ticker symbol

    • User may provide company name → use web-search to find ticker
    • A-share: Shanghai = .SS, Shenzhen = .SZ
  2. Execute analysis

    export PYTHONIOENCODING=utf-8
    python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" <ticker>
    
  3. Interpret results

    • Extract overall rating and key findings
    • Highlight investment recommendation
    • Emphasize risk warnings
    • Provide actionable price levels

Limitations

  • Yahoo Finance data quality varies by market
  • Some metrics may be N/A for loss-making companies
  • Historical data limited for newly listed stocks
  • Real-time quotes may have 15-min delay

When to Use This Skill

  • User requests "深度分析", "complete analysis", "comprehensive report"
  • User wants multi-dimensional evaluation (value + growth + technical)
  • User needs actionable trading strategies
  • User asks for investment recommendations with risk assessment

Version History

  • 36af2b6 Current 2026-07-05 18:24

Same Skill Collection

SKILLs/article-writer/SKILL.md
SKILLs/canvas-design/SKILL.md
SKILLs/content-planner/SKILL.md
SKILLs/create-plan/SKILL.md
SKILLs/daily-trending/SKILL.md
SKILLs/develop-web-game/SKILL.md
SKILLs/docx/SKILL.md
SKILLs/films-search/SKILL.md
SKILLs/frontend-design/SKILL.md
SKILLs/imap-smtp-email/SKILL.md
SKILLs/local-tools/SKILL.md
SKILLs/music-search/SKILL.md
SKILLs/pdf/SKILL.md
SKILLs/playwright/SKILL.md
SKILLs/pptx/SKILL.md
SKILLs/remotion/SKILL.md
SKILLs/seedance/SKILL.md
SKILLs/seedream/SKILL.md
SKILLs/skill-creator/SKILL.md
SKILLs/skill-vetter/SKILL.md
SKILLs/stock-announcements/SKILL.md
SKILLs/stock-explorer/SKILL.md
SKILLs/technology-news-search/SKILL.md
SKILLs/weather/SKILL.md
SKILLs/web-search/SKILL.md
SKILLs/xlsx/SKILL.md
SKILLs/youdaonote/SKILL.md

Metadata

Files
0
Version
36af2b6
Hash
eb3ce94e
Indexed
2026-07-05 18:24

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 21:13
浙ICP备14020137号-1 $Гость$