stock-analyzer

stock-analyzer is a skill for Claude Code, Codex from freestylefly/wesight. It costs 53 tokens per session (888 once invoked), scanned A, a copy of stock-analyzer, MIT.

A stock-analysis tool that combines current prices, company financial measures, price-chart indicators, growth data, financial health, risks, and possible trading approaches. It supports stocks listed in mainland China, the United States, and Hong Kong.

In plain words
What is it for?
Use it to examine a stock's valuation, technical trends, growth, finances, risks, and potential long-term, swing, or short-term trading plans.
Why use it?
It brings several types of market information into one report instead of requiring separate research. It also summarizes possible ratings, risks, and strategies.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/freestylefly/wesight/stock-analyzer
Any agent
npx skills add freestylefly/wesight --skill stock-analyzer
Clone the repo
git clone --depth 1 https://github.com/freestylefly/wesight

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stock-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/freestylefly/wesight/stock-analyzer.svg)](https://agentmods.dev/skills/freestylefly/wesight/stock-analyzer)
Your own site
<a href="https://agentmods.dev/skills/freestylefly/wesight/stock-analyzer"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/stock-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00888
Opus 5 $0.00026 $0.00444
Sonnet 5 $0.00011 $0.00178
Haiku 4.5 $0.00005 $0.00089

Measured 6d ago against content hash eb3ce94ec0cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

stock-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/analyze.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to stock-analyzer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

SKILLs/stock-analyzer/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 120 lines · 53 tokens per session scan A eb3ce94ec0cf

Subscribe to this mod's changes

stock-analyzer is a skill published in the GitHub repository freestylefly/wesight (911 stars, last pushed 12d ago), licensed MIT. It adds 53 tokens to every session and 888 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to stock-analyzer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

finance-receivables

Analyze accounts receivable aging, calculate DSO, and generate compliant collection email sequences for overdue invoices. FDCPA / state-UDAP-aware language; intent-gated escalation; SOL-aware bad-debt write-off guidance. Ported from Anthropic's reconciliation skill, hardened for SMB liability surface.

FerroxLabs/wayland · 65 tokens

finance-analyst

Becomes a senior financial analyst who builds analysis frameworks, forecasting models, and budget reviews with explicit assumptions and scenario comparisons. Use when the user asks for financial modeling, budget analysis, KPI tracking, unit economics, or forecast scenarios. Do NOT use when the user needs personal…

FerroxLabs/wayland · 91 tokens

finance-1099-prep

Vendor W-9 collection workflow, 1099-NEC vs 1099-MISC vs 1099-K decision tree, contractor classification check (IRS 20-factor + ABC test embedded), TIN matching, backup withholding triggers. Templates only - not personalized tax advice.

FerroxLabs/wayland · 63 tokens

finance-balance-sheet

Generate a Balance Sheet (Statement of Financial Position) showing assets, liabilities, and owner equity at a point in time. Entity-aware equity treatment (sole-prop / partnership / LLC / S-corp / C-corp); GAAP vs tax-basis distinction. Templates only - not financial or tax advice.

FerroxLabs/wayland · 67 tokens

finance-r-and-d-credit

Form 6765 R&D Tax Credit walkthrough plus §174 capitalization rules (post-TCJA mandate, software-SMB hot topic). Inputs qualified research activities, qualified research expenses (wages, supplies, contract research), four-part test screening. Outputs 6765 prep package + §174 capitalization schedule. Templates only …

FerroxLabs/wayland · 75 tokens

finance-cashflow

Generate a cash flow statement from net income and balance sheet changes. Routes accrual filers to indirect method, cash-basis filers to direct method. Covers operating, investing, and financing activities with period-end reconciliation.

FerroxLabs/wayland · 49 tokens