Fetches live US stock data, SEC filings, insider trades, and macro indicators (FRED). Computes DuPont, Z-Score, M-Score, F-Score, portfolio VaR, and multi-factor screens. All free, no API keys.
Ships in yuping322-finskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A self-contained data toolkit providing live financial data and quantitative calculations for US market analysis. All data sources are free and require no API keys.
Install dependencies (one-time):
pip install -r requirements.txt
All scripts are in the scripts/ directory. Run from the skill root directory.
scripts/stock_data.py)Fetch stock fundamentals, price history, and financial metrics via yfinance.
| Command | Purpose |
|---|---|
python scripts/stock_data.py AAPL | Basic company info |
python scripts/stock_data.py AAPL --metrics | Full financial metrics (valuation, profitability, leverage, growth, analyst consensus) |
python scripts/stock_data.py AAPL --history --period 1y | OHLCV price history |
python scripts/stock_data.py AAPL --financials | Income statement, balance sheet, cash flow |
python scripts/stock_data.py AAPL MSFT GOOGL --screen | Screen stocks against value filters |
scripts/sec_edgar.py)Fetch insider trading data (Form 4), company filings, and CIK lookups.
| Command | Purpose |
|---|---|
python scripts/sec_edgar.py insider AAPL | Recent insider trades |
python scripts/sec_edgar.py insider AAPL --days 90 | Insider trades in last 90 days |
python scripts/sec_edgar.py filings AAPL --form-type 10-K | Recent 10-K filings |
python scripts/sec_edgar.py cik AAPL | Look up CIK number |
scripts/financial_calc.py)DuPont decomposition, Altman Z-Score, Beneish M-Score, Piotroski F-Score, earnings quality, and working capital analysis.
| Command | Purpose |
|---|---|
python scripts/financial_calc.py AAPL --all | All calculations |
python scripts/financial_calc.py AAPL --dupont | 5-factor DuPont decomposition |
python scripts/financial_calc.py AAPL --zscore | Altman Z-Score (bankruptcy risk) |
python scripts/financial_calc.py AAPL --mscore | Beneish M-Score (manipulation detection) |
python scripts/financial_calc.py AAPL --fscore | Piotroski F-Score (financial strength) |
python scripts/financial_calc.py AAPL --quality | Earnings quality assessment |
python scripts/financial_calc.py AAPL --working-capital | Working capital & CCC analysis |
scripts/portfolio_analytics.py)Portfolio risk analysis: concentration, correlation clusters, VaR/CVaR, stress testing, and health scoring.
| Command | Purpose |
|---|---|
python scripts/portfolio_analytics.py --holdings "AAPL:30,MSFT:25,GOOGL:20,AMZN:15,META:10" | Full health score (0–100) |
... --concentration | Concentration analysis (HHI, sector) |
... --correlation | Correlation clusters & EDR |
... --risk | VaR/CVaR, Sharpe, Sortino, beta |
... --stress | Historical stress testing (5 scenarios) |
scripts/factor_screener.py)Multi-factor stock scoring: value, momentum, quality, low volatility, size, growth.
| Command | Purpose |
|---|---|
python scripts/factor_screener.py --universe "AAPL,MSFT,GOOGL,AMZN" --top 5 | Screen custom universe |
python scripts/factor_screener.py --sp500-sample --top 10 | Screen S&P 500 sample |
... --factors value,quality | Use specific factors only |
scripts/macro_data.py)US macroeconomic indicators from FRED.
| Command | Purpose |
|---|---|
python scripts/macro_data.py --dashboard | Full macro dashboard |
python scripts/macro_data.py --rates | Interest rates & yield curve |
python scripts/macro_data.py --inflation | CPI, PCE, breakevens |
python scripts/macro_data.py --gdp | GDP & leading indicators |
python scripts/macro_data.py --employment | Unemployment, payrolls, JOLTS |
python scripts/macro_data.py --cycle | Business cycle phase assessment |
| Source | Data | API Key |
|---|---|---|
| Yahoo Finance (yfinance) | Stock quotes, financials, history | Not required |
| SEC EDGAR | Filings, insider trades (Form 4) | Not required |
| FRED | Macro indicators | Not required |
All scripts output JSON to stdout for easy parsing. Errors go to stderr.
Optional: Edit config/data_sources.yaml to customize rate limits or add API keys for premium data sources.
LICENSE.txt (opens in a new tab)config/data_sources.yaml (opens in a new tab)requirements.txt (opens in a new tab)scripts/common/__init__.py (opens in a new tab)scripts/common/config.py (opens in a new tab)scripts/common/utils.py (opens in a new tab)scripts/factor_screener.py (opens in a new tab)scripts/financial_calc.py (opens in a new tab)scripts/macro_data.py (opens in a new tab)scripts/portfolio_analytics.py (opens in a new tab)scripts/sec_edgar.py (opens in a new tab)scripts/stock_data.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/yuping322-finskills:findata-toolkit-usfrom yuping322-finskills
yuping322-finskills@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin yuping322-finskills107 skills in this plugin
/ab-ah-premium-monitor跟踪 AB 股比价与 A+H 溢价/折价,并结合流动性与事件因素给出风险提示。当用户询问AB股比价、A+H溢价、跨市场定价差或需要溢价监控时使用。/block-deal-monitor跟踪并解读A股大宗交易(折溢价、买卖方、金额、连续性),用于识别潜在建仓/派发、短期抛压与承接强弱,并输出可执行的跟踪清单与风控规则。当用户询问大宗交易、折价率、大额成交、机构接盘、或想用大宗交易做信号时使用。/bse-selection-analyzer扫描与分析北交所(BSE)标的,按流动性、成长性、行业景气与“专精特新”特征输出候选清单,并给出流动性与波动风险提示。当用户询问北交所精选、北交所选股、专精特新筛选、或需要北交所板块研究时使用。/buyback-monitorAnalyze share repurchases (authorization, pace, dilution vs buybacks) and capital return sustainability. Use when the user asks about buybacks, shareholder yield, or capital return analysis.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Sep 19, 2026