Agent skill

Stock Analyzer

by freestylefly in freestylefly/wesight

A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report.

MITAuto-check passedBusiness, Finance & HR

Install Stock Analyzer

skills CLI
$ npx skills add freestylefly/wesight --skill stock-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install freestylefly/wesight stock-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/freestylefly/wesight.git skills-src && mkdir -p .claude/skills && cp -r skills-src/SKILLs/stock-analyzer .claude/skills/stock-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stock-analyzer
GitHub stars
943
Token cost
~886 tokens
SKILL.md length
308 words
Files
2 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report.

  • Works in 8 steps: Real-time Market Overview → Value Investing Indicators (Score /10) → Technical Analysis (Score /10) → …
  • Tasks that involve Trading and backtesting
  • SKILL.md covers Features, Dependencies, Usage and Stock Ticker Formats, plus 4 more sections
  • Runs Python scripts from its folder; calls python and pip

What it does

Stock Analyzer is an agent skill from freestylefly/wesight. 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.

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/analyze.py`).

It sits in Business, Finance & HR, covering Trading and backtesting and Stock and market analysis. The repository describes itself as: Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing. The licence is MIT.

When your agent uses it

  • Tasks that involve Trading and backtesting
  • Tasks that involve Stock and market analysis

Example prompts

  • “/stock-analyzer”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit c913cd9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stock Analyzer loads about 886 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 308 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~886

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from freestylefly/wesight at commit c913cd9, republished under its MIT licence (© freestylefly). 308 words, ~886 tokens.

Download SKILL.mdSave it as .claude/skills/stock-analyzer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
stock-analyzer
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.
official
true

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):

bash
pip install yfinance pandas numpy

Usage

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

Basic Analysis
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS
Specify Analysis Period
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y
US Stocks
bash
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL
Parameters
ParameterDescriptionExampleDefault
tickerStock ticker symbol (required)601288.SS, AAPL-
--periodAnalysis period1mo, 3mo, 6mo, 1y, 2y6mo
--outputOutput formattext, jsontext

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

    bash
    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

© freestylefly, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in SKILLs/stock-analyzer of freestylefly/wesight.

  • SKILL.md
  • scripts/analyze.py

Open the folder on GitHubat commit c913cd9

Compare with similar skills

Stock Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stock Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stock Analyzer this skillfreestylefly/wesight943—~886Automated safety check: PassMIT
Tushare Datazillionare/zillionare3192 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle870—~5.9kAutomated safety check: PassMIT
Worth Buy Stocksstarriv/worth-buy-stocks174—~4.5kAutomated safety check: NotesNone
Regimejackson-video-resources/markov-hedge-fund-method483—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    319 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    870 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Worth Buy Stocks

    starriv/worth-buy-stocks

    Evaluate US stocks under an Alpaca trend and relative-strength framework, and prioritize defined-risk net-credit income spreads: Bull Put/Bear Call first, Iron Condor second.

    174 GitHub stars~4.5k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check: notes
  • Regime

    jackson-video-resources/markov-hedge-fund-method

    Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.

    483 GitHub stars~1.6k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Agentic Trading Desk

    Oft3r/agentic-trading-desk

    Personal trading desk for short-term technical analysis on stocks/ETFs via Robinhood MCP.

    306 GitHub stars~5.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from freestylefly/wesight

All 17 skills in this repo
  • Develop Web Game

    freestylefly/wesight

    A skill your agent uses when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with…

    943 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Web Search

    freestylefly/wesight

    Real-time web search using Playwright-controlled browser. An agent skill from freestylefly/wesight.

    943 GitHub starsUsed in 2 repos~4k tokens
    Auto-check: notes
  • Technology Search

    freestylefly/wesight

    Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.

    943 GitHub stars~3.3k tokensUpdated 7 days ago
    Auto-check passed
  • Local Tools

    freestylefly/wesight

    Access local system resources including Calendar on macOS and Windows.

    943 GitHub starsUsed in 1 repo~3.4k tokens
    Auto-check passed
  • Music Search

    freestylefly/wesight

    Search cloud drives for downloadable music resources (songs, albums, lossless audio).

    943 GitHub starsUsed in 1 repo~880 tokens
    Auto-check: notes
  • Create Plan

    freestylefly/wesight

    Create a concise plan. An agent skill from freestylefly/wesight.

    943 GitHub starsUsed in 4 repos~611 tokens
    Auto-check passed

Questions about Stock Analyzer

What does Stock Analyzer do?

A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report. Stock Analyzer is an agent skill from freestylefly/wesight. A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report.

When should I use Stock Analyzer?

Stock Analyzer fits situations like: tasks that involve Trading and backtesting; tasks that involve Stock and market analysis.

How do I install Stock Analyzer in Claude Code?

Run `npx skills add freestylefly/wesight --skill stock-analyzer -a claude-code`. Or copy the skill folder (SKILLs/stock-analyzer in freestylefly/wesight) into .claude/skills/stock-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Stock Analyzer in Codex?

Run `npx skills add freestylefly/wesight --skill stock-analyzer -a codex`. Or copy the skill folder (SKILLs/stock-analyzer in freestylefly/wesight) into .agents/skills/stock-analyzer in your project. Codex loads it when a task matches its description.

Can I use Stock Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add freestylefly/wesight --skill stock-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stock-analyzer, .gemini/skills/stock-analyzer, .github/skills/stock-analyzer and .opencode/skills/stock-analyzer in your project.

What does Stock Analyzer need to run?

Going by SKILL.md and its folder, Stock Analyzer needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Stock Analyzer access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Stock Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Stock Analyzer use?

Stock Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stock Analyzer use?

About 886 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Stock Analyzer?

Skills that share tags, products or a category with Stock Analyzer: Tushare Data (zillionare/zillionare, 319 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Digital Oracle (komako-workshop/digital-oracle, 870 stars) and Worth Buy Stocks (starriv/worth-buy-stocks, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock Analyzer?

freestylefly (a GitHub user) maintains it in freestylefly/wesight, which has 943 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 1, 2026.

Source: freestylefly/wesight on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.