stock-explorer

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

A stock-analysis tool that gets market data from Yahoo Finance and produces price quotes, company fundamentals, text-based history charts, and reports with indicators such as RSI, MACD, Bollinger Bands, VWAP, and ATR.

In plain words
What is it for?
Use it to check current quotes, review company information, inspect historical trends, or generate technical-analysis reports for a stock symbol.
Why use it?
It brings common market checks into command-line reports without requiring a separate data API key. Technical indicators are calculated from the downloaded price and trading-volume data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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-explorer
Any agent
npx skills add freestylefly/wesight --skill stock-explorer
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-explorer

README.md
[![agentmods](https://agentmods.dev/badge/skills/freestylefly/wesight/stock-explorer.svg)](https://agentmods.dev/skills/freestylefly/wesight/stock-explorer)
Your own site
<a href="https://agentmods.dev/skills/freestylefly/wesight/stock-explorer"><img src="https://agentmods.dev/badge/skills/freestylefly/wesight/stock-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 678 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.00055 $0.00678
Opus 5 $0.00028 $0.00339
Sonnet 5 $0.00011 $0.00136
Haiku 4.5 $0.00006 $0.00068

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

Security

Grade A, and why

stock-explorer 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/quote.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-explorer — 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-explorer/SKILL.md · 90 lines

What it actually says

Stock Information Explorer

This skill fetches OHLCV data from Yahoo Finance via yfinance and computes technical indicators locally (no API key required).

Dependencies

Python packages (install once):

pip install yfinance rich pandas plotille

Commands

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

1) Real-time Quotes (price)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" price TSLA
# shorthand
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" TSLA

2) Fundamental Summary (fundamentals)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" fundamentals NVDA

3) ASCII Trend (history)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" history AAPL 6mo

4) Professional Analysis (pro)

输出详细的技术指标文本分析报告。

# 基础分析(价格区间)
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo

# 带技术指标
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo --rsi --macd --bb
可用指标 (optional)
  • --rsi : RSI(14) - 超买超卖指标
  • --macd: MACD(12,26,9) - 趋势动量指标
  • --bb : Bollinger Bands(20,2) - 布林带
  • --vwap: VWAP - 成交量加权均价
  • --atr : ATR(14) - 平均真实波幅

5) One-shot Report (report)

输出综合分析报告(行情+基本面+技术信号)。

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" report 000660.KS 6mo

Ticker Examples

  • A-share: 600519.SS, 000001.SZ
  • US stocks: AAPL, NVDA, TSLA
  • HK stocks: 0700.HK, 9988.HK
  • Crypto: BTC-USD, ETH-KRW
  • Forex: USDKRW=X

Notes / Limitations

  • Indicators are computed locally from price data
  • Data quality may vary by ticker/market
  • 所有输出均为文本格式
  • Windows 环境中文显示需设置 export PYTHONIOENCODING=utf-8
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 · 90 lines · 55 tokens per session scan A 5acf300ec761

Subscribe to this mod's changes

stock-explorer is a skill published in the GitHub repository freestylefly/wesight (911 stars, last pushed 12d ago), licensed MIT. It adds 55 tokens to every session and 678 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-explorer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

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