Analyzes US stock market breadth using Monty's Uptrend Ratio Dashboard data. Generates a 0-100 composite score from 5 components (breadth, sector participation, rotation, momentum, historical context) with exposure guidance. No API key required.
Ships in tradermonty-claude-trading-skills. 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.
Diagnose market breadth health using Monty's Uptrend Ratio Dashboard, which tracks ~2,800 US stocks across 11 sectors. Generates a 0-100 composite score (higher = healthier) with exposure guidance.
Unlike the Market Top Detector (API-based risk scorer), this skill uses free CSV data to assess "participation breadth" - whether the market's advance is broad or narrow.
English:
Japanese:
requests library (CSV parsing uses the stdlib csv/io modules)| Aspect | Uptrend Analyzer | Market Top Detector |
|---|---|---|
| Score Direction | Higher = healthier | Higher = riskier |
| Data Source | Free GitHub CSV | FMP API (paid) |
| Focus | Breadth participation | Top formation risk |
| API Key | Not required | Required (FMP) |
| Methodology | Monty Uptrend Ratios | O'Neil/Minervini/Monty |
Run the analysis script (no API key needed):
python3 skills/uptrend-analyzer/scripts/uptrend_analyzer.py
The script will:
Present the generated Markdown report to the user, highlighting:
| # | Component | Weight | Key Signal |
|---|---|---|---|
| 1 | Market Breadth (Overall) | 30% | Ratio level + trend direction |
| 2 | Sector Participation | 25% | Uptrend sector count + ratio spread |
| 3 | Sector Rotation | 15% | Cyclical vs Defensive balance |
| 4 | Momentum | 20% | Slope direction + acceleration |
| 5 | Historical Context | 10% | Percentile rank in history |
| Score | Zone | Exposure Guidance |
|---|---|---|
| 80-100 | Strong Bull | Full Exposure (100%) |
| 60-79 | Bull | Normal Exposure (80-100%) |
| 40-59 | Neutral | Reduced Exposure (60-80%) |
| 20-39 | Cautious | Defensive (30-60%) |
| 0-19 | Bear | Capital Preservation (0-30%) |
Each scoring zone is further divided into sub-zones for finer-grained assessment:
| Score | Zone Detail | Color |
|---|---|---|
| 80-100 | Strong Bull | Green |
| 70-79 | Bull-Upper | Light Green |
| 60-69 | Bull-Lower | Light Green |
| 40-59 | Neutral | Yellow |
| 30-39 | Cautious-Upper | Orange |
| 20-29 | Cautious-Lower | Orange |
| 0-19 | Bear | Red |
Active warnings trigger exposure penalties that tighten guidance even when the composite score is high:
| Warning | Condition | Penalty |
|---|---|---|
| Late Cycle | Commodity avg > both Cyclical and Defensive | -5 |
| High Spread | Max-min sector ratio spread > 40pp | -3 |
| Divergence | Intra-group std > 8pp, spread > 20pp, or trend dissenters | -3 |
Penalties stack (max -10) + multi-warning discount (+1 when ≥2 active). Applied after composite scoring.
Slope values are smoothed using EMA(3) (Exponential Moving Average, span=3) before scoring. Acceleration is calculated by comparing the recent 10-point average vs prior 10-point average of smoothed slopes (10v10 window), with fallback to 5v5 when fewer than 20 data points are available.
The Historical Context component includes a confidence assessment based on:
Confidence levels: High, Medium, Low.
Required: None (uses free GitHub CSV data)
uptrend_analysis_YYYY-MM-DD_HHMMSS.jsonuptrend_analysis_YYYY-MM-DD_HHMMSS.mdreferences/uptrend_methodology.mduptrend_methodology.md for full framework understandingPass --run-id daily-20261017-unique to both required market-regime-daily
producers. Without it each producer generates its own unique ID. JSON includes
schema 1.0 data_provenance with actual primary timeseries business date,
UTC retrieval time, source and run ID. Unknown adjustment, point-in-time,
survivorship and corporate-action flags are false. Auxiliary summary dates
are unverified; this does not certify the freshness of every composite input.
Missing or malformed primary dates stop report generation.
Pass the exact JSON paths printed by these invocations to Exposure Coach's
--require-provenance --run-id … --as-of … mode. Run IDs are caller-provided
consistency markers, not authenticity or point-in-time proof.
JSON carries a top-level schema 1.0 evaluation_coverage block (#711) over the
twelve declared dashboard worksheets: all plus the eleven sector worksheets.
all counts as evaluated when its latest timeseries ratio is finite. Sector
coverage follows the calculators' actual source: when sector_summary.csv is
present it decides every sector worksheet on its own, and the timeseries ratios
are used only when the summary is unavailable. An absent worksheet is
missing_data, and a row without a usable ratio is invalid_data. Markdown
prints evaluated / total beside the composite. A partial verdict means
components fed by missing worksheets used documented neutral defaults; scores
and weights are unchanged.
references/uptrend_methodology.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/calculators/__init__.py (opens in a new tab)scripts/calculators/historical_context_calculator.py (opens in a new tab)scripts/calculators/market_breadth_calculator.py (opens in a new tab)scripts/calculators/momentum_calculator.py (opens in a new tab)scripts/calculators/sector_participation_calculator.py (opens in a new tab)scripts/calculators/sector_rotation_calculator.py (opens in a new tab)scripts/data_fetcher.py (opens in a new tab)scripts/evaluation_coverage.py (opens in a new tab)scripts/provenance_contract.py (opens in a new tab)scripts/report_generator.py (opens in a new tab)scripts/scorer.py (opens in a new tab)scripts/tests/conftest.py (opens in a new tab)scripts/tests/helpers.py (opens in a new tab)scripts/tests/test_data_fetcher.py (opens in a new tab)scripts/tests/test_data_fetcher_schema_drift.py (opens in a new tab)scripts/tests/test_historical_context_calculator.py (opens in a new tab)scripts/tests/test_main_provenance.py (opens in a new tab)scripts/tests/test_market_breadth_calculator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
74 skills in this plugin
/backtest-expertExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development./breadth-chart-analystThis skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the US Stock Market Uptrend Stock Ratio charts. Use this skill when the user provides breadth chart images for analysis, requests market breadth assessment, positioning strategy recommendations, or wants to understand medium-term strategic and short-term tactical market outlook based on breadth indicators. Also works WITHOUT chart images by fetching CSV data directly from public sources. All analysis and output are conducted in English./breakout-trade-plannerGenerate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible order templates (stop-limit bracket for pre-placement, limit bracket for post-confirmation). Use when user has VCP screener results and wants actionable trade plans with entry/stop/target levels and position sizing./tradermonty-claude-trading-skills:uptrend-analyzerfrom tradermonty-claude-trading-skills
tradermonty-claude-trading-skills@cascade-business-ops is listed by joshuarweaver/cascade-business-ops — review the source before installing
npx claudepluginhub joshuarweaver/cascade-business-ops --plugin tradermonty-claude-trading-skillsOther plugins' skills for the same job