← Search

Market Breadth Analyzer
Trading 🧪 Install ran in our test sandbox · Nov 18, 2026 📌 Pinned version: commit aec21a0
Install test only, on the date shown. This does not guarantee the code is safe.
⚙ Needs: Python 3.9 or newer with the requests library (the…

Market Breadth Analyzer

A 0 to 100 market breadth health score from six components, computed from free public data: is the rally broad-based or narrowing?

⚠️ Trading warning / Avertissement trading : informational only, not investment advice. A breadth score is market context, not a buy or sell signal, and trading involves real risk of loss. Curated by Skill Harbor: a quantitative answer to the question "is this rally actually healthy?" Instead of eyeballing index charts, it scores market breadth from 0 (critical weakness) to 100 (maximum health) across six components measuring how broadly stocks participate in the move: advance-decline behavior, participation rates, and related internals. The data is the author's own publicly published dataset, two CSV files hosted on GitHub Pages with roughly 2,500 rows reaching back to 2016, so no API key and no data subscription are needed. The included Python script (3.9+, requests only) fetches the detail and summary files, checks data freshness and warns if the data is more than 5 days old, computes each component (redistributing weights automatically if a component has no data), classifies the composite into health zones, tracks the score's history and trend (improving, deteriorating, stable), and writes JSON and markdown reports. Traders use it as an exposure gauge: strong breadth supports staying invested, deteriorating breadth argues for caution. From the tradermonty/claude-trading-skills repository (MIT). Honest caveats: the whole skill depends on one maintainer's public dataset staying updated; the freshness warning is your signal if it ever stalls. Breadth describes the market's internal condition, not your portfolio, and healthy breadth can still precede a drop. Skill Harbor never reviews the code, review it yourself before use.
At a glance
What
A 0 to 100 market breadth health score from six components, computed from free public data: is the rally broad-based or narrowing?
Cost
Free
Needs
Python 3.9 or newer with the requests library (the skill's requirements.txt declares requests>=2.31.0) and internet access to GitHub Pages. No API key is required — the skill uses freely available public CSV data. This is informational only, not investment advice, and trading involves real risk of loss.
Level
Beginner — Python 3.9 or newer with the requests library (the…
Install
Copy the installer prompt below into your Muse — your agent does the rest.

Version:

Quick answer

Market Breadth Analyzer is a free Muse skill giving a zero-to-one-hundred market breadth health score from six components, computed from free public data, answering whether the rally is broad-based or narrowing. It is informational only, not investment advice: a breadth score is market context, not a buy or sell signal, and trading involves real risk of loss.

⌁

Install

Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 18, 2026📌 Pinned version: commit aec21a0

Step 0, before installing anything: read this install prompt, summarize in a few lines what this build does and what installing it involves, then ask me to confirm before you proceed. Prerequisites: Python 3.9 or newer with the requests library (the skill's requirements.txt declares requests>=2.31.0) and internet access to GitHub Pages. No API key is required — the skill uses freely available public CSV data. This is informational only, not investment advice, and trading involves real risk of loss. Install "Market Breadth Analyzer" for me. It gives my agent TraderMonty's skill (from the tradermonty/claude-trading-skills repository) to quantify market breadth health with a data-driven 6-component scoring system: a composite score from 0 to 100 (100 = maximum health, broad participation; 0 = critical weakness), a health-zone classification, a recommended equity exposure level for that zone, and a score trend (improving, deteriorating or stable) tracked across runs. Use it when I ask about market breadth, participation rate, advance-decline health, whether a rally is broad-based, whether the market is narrowing, or for a general market health assessment. Repository: https://raw.githubusercontent.com/tradermonty/claude-trading-skills/aec21a0fb02ddb50c851aa14c3672e863a626685/skills/market-breadth-analyzer/SKILL.md (the skill is the skills/market-breadth-analyzer/ folder at that commit: SKILL.md, references/breadth_analysis_methodology.md, requirements.txt, and scripts/ — the main script scripts/market_breadth_analyzer.py, scripts/csv_client.py, scripts/scorer.py, scripts/history_tracker.py, scripts/report_generator.py, scripts/provenance_contract.py, the scripts/calculators/ package and the scripts/tests/ folder) Pinned version: install the code at commit aec21a0fb02ddb50c851aa14c3672e863a626685 exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. [FINGERPRINTS] Files at the pinned commit, from Skill Harbor's review of 2026-10-19: - SKILL.md: SHA-256 978d976130e357bf2a8d2cffe83d6ae67bb26c0d831ef9b92a587fc0ea8e6f6f, 7,153 bytes, 6,967 characters - references/breadth_analysis_methodology.md: SHA-256 992b7af208b6fe30dee6b00ee5a934014ab273c37b6ad6dfe4405e579693d49c, 13,992 bytes, 13,978 characters - requirements.txt: SHA-256 18b5cfdab437ba11fe037dff1efa4e25c2df2c991e2d07c3490b216ef8bb7b7c, 128 bytes, 128 characters - scripts/market_breadth_analyzer.py: SHA-256 f7d399034e71ccbe64fb92e8c965d3f34caa0379dda04804ef91c0780f131b4f, 11,904 bytes, 11,904 characters - scripts/provenance_contract.py: SHA-256 613c6c6bc5b61b488b9b7521099496dc577c42bd84b98e651188e350810f0c72, 7,607 bytes, 7,607 characters If any of these does not match, it changed since the review: do not install it yet, tell me what you found and let me decide. Updated October 19, 2026: Skill Harbor regenerated this install prompt from the current upstream file (SKILL.md grew from 6,211 to 6,967 characters). The only upstream change is a new "Same-run provenance" section added at the end of SKILL.md; the previous published prompt was a short paste-only form (open SKILL.md, paste it into a chat, ask for the score) that never installed the folder or its scripts — this prompt replaces it with the real installation below. What the new provenance section says: pass the same --run-id to both required market-regime-daily producers (this script's own flag is --run-id, a shared workflow run identifier; without it, this script generates its own unique ID). The JSON report includes a schema 1.0 data_provenance block with the actual primary timeseries business date, the UTC retrieval time, the source and the run ID; its adjustment, point-in-time, survivorship and corporate-action flags are unknown and recorded as false. Auxiliary summary dates are unverified, and the block 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. What is sent, stated before it happens: nothing is sent anywhere during installation itself — installing only downloads the pinned folder from GitHub, with no personal information and no key involved. In use, the script fetches two public CSV files from GitHub Pages, sending no personal information and no credentials: the detail CSV at https://tradermonty.github.io/market-breadth-analysis/market_breadth_data.csv (about 2,500 rows, 2016 to present; columns Date, S&P500_Price, Breadth_Index_Raw, Breadth_Index_200MA, Breadth_Index_8MA, Breadth_200MA_Trend, Bearish_Signal, Is_Peak, Is_Trough, Is_Trough_8MA_Below_04) and the summary CSV at https://tradermonty.github.io/market-breadth-analysis/market_breadth_summary.csv (8 aggregate metrics). Those default URLs can be overridden with --detail-url and --summary-url, in which case the script fetches the URLs it is given instead. Everything else happens locally: the script validates data freshness (warning if the data is more than 5 days old), calculates the 6 component scores (Breadth Level & Trend 25%, 8MA vs 200MA Crossover 20%, Peak/Trough Cycle 20%, Bearish Signal 15%, Historical Percentile 10%, S&P 500 Divergence 10%, with automatic weight redistribution if a component lacks data), classifies the composite into its health zone (80-100 Strong, 60-79 Healthy, 40-59 Neutral, 20-39 Weakening, 0-19 Critical), tracks score history (persisted across runs, keyed by data date, maximum 20 entries) with a trend summary, and writes its JSON and Markdown reports to the output directory. 1. Fetch the whole skills/market-breadth-analyzer/ folder at the pinned commit into a temporary folder, then compare SKILL.md, references/breadth_analysis_methodology.md, requirements.txt, scripts/market_breadth_analyzer.py and scripts/provenance_contract.py with the fingerprints from Skill Harbor's review of 2026-10-19 (see [FINGERPRINTS] above). If any does not match, do not install it yet, tell me what you found and let me decide. 2. Safety check: read SKILL.md, references/breadth_analysis_methodology.md, requirements.txt and the scripts (at least the main script, csv_client.py and provenance_contract.py) and review them for anything suspicious (unexpected network calls, shell commands, credential harvesting); STOP on any red flag and tell me. Tell me in plain words what the skill does when used, which services it connects to, whether it reads or sends any personal information or keys, and anything that seems unusual. Confirm these points from the files: - The skill is text guidance plus bundled Python scripts, not a background service: nothing runs on its own, nothing is sent anywhere during installation itself, no API key is required, and the scripts read no personal information — in use, the only network contact is fetching the two public CSV files described above (or the URLs given with --detail-url / --summary-url). - Prerequisites and dependency: Python 3.9 or newer with the requests library, which the skill's requirements.txt declares as requests>=2.31.0, and internet access to reach the GitHub Pages URLs. - Scoring: the 6 components and weights above, with weight redistribution — a component that lacks sufficient data is excluded and its weight is proportionally redistributed among the remaining components, and the report shows both original and effective weights. Health zones: 80-100 Strong (90-100% equity exposure, full position), 60-79 Healthy (75-90%, normal operations), 40-59 Neutral (60-75%, selective positioning, tighten stops), 20-39 Weakening (40-60%, profit-taking, raise cash), 0-19 Critical (25-40%, capital preservation, watch for trough). - Running it: create a nested or date-stamped --output-dir first in cron runs (for example mkdir -p reports/<routine-or-date>), because the history writer expects the directory to already exist, then run python3 skills/market-breadth-analyzer/scripts/market_breadth_analyzer.py --detail-url "https://tradermonty.github.io/market-breadth-analysis/market_breadth_data.csv" --summary-url "https://tradermonty.github.io/market-breadth-analysis/market_breadth_summary.csv" --output-dir reports/<routine-or-date> — after installation, the same script runs from the installed folder at market-breadth-analyzer/scripts/market_breadth_analyzer.py. For a simple ad-hoc run, omit --output-dir or use an existing directory. In scheduled cron runs from the repository root, prefer a repo-relative output directory such as reports/after-close-YYYY-MM-DD rather than an absolute path; if an absolute nested --output-dir unexpectedly fails at the history-writing step despite the directory existing, rerun once with the equivalent repo-relative path before treating the breadth analysis as unavailable. - Outputs: JSON market_breadth_YYYY-MM-DD_HHMMSS.json, Markdown market_breadth_YYYY-MM-DD_HHMMSS.md and history market_breadth_history.json in the output directory; when presenting results, highlight the composite score and health zone, the strongest and weakest components, the recommended equity exposure level, the key breadth levels to watch, and any data freshness warnings. - Provenance: the main script accepts --run-id (a shared workflow run identifier; without it, it generates its own unique ID). The JSON report's schema 1.0 data_provenance block records the actual primary timeseries business date, the UTC retrieval time, the source and the run ID, with adjustment, point-in-time, survivorship and corporate-action flags recorded as false (unknown); auxiliary summary dates are unverified, the block does not certify the freshness of every composite input, and missing or malformed primary dates stop report generation. The exact JSON paths printed by these invocations can be passed to Exposure Coach's --require-provenance --run-id … --as-of … mode, and run IDs are caller-provided consistency markers, not authenticity or point-in-time proof. - Reference: references/breadth_analysis_methodology.md holds the full methodology (component scoring details, threshold explanations, zone definitions, historical context and interpretation guide) — load it on first use for framework understanding; on regular execution the references are not needed, the script handles scoring. This skill is the quantitative CSV-based one: it differs from Breadth Chart Analyst, which works qualitatively from chart images. - Limits: the score is market context, not a buy or sell signal, and this is informational only, not investment advice; the whole skill depends on the maintainer's public dataset staying updated, and the freshness warning is the signal if it ever stalls. 3. When I say yes, install it as a skill: copy the whole fetched skills/market-breadth-analyzer/ folder (SKILL.md, references/, requirements.txt and scripts/, keeping the references/ and scripts/ subfolders so the relative paths in SKILL.md and the script imports keep working) into the agent's skills directory, in a folder named "market-breadth-analyzer". 4. Verify with no network calls: frontmatter valid, files in place, and the copied SKILL.md still matches its fingerprint above. 5. Report what was installed, where, and what I still need to do myself (e.g. make sure Python 3.9 or newer with requests>=2.31.0 is available in the environment where the script will run, and that it can reach GitHub Pages; no API key is needed; using the skill then fetches the two public CSV files from tradermonty.github.io described above, writes its JSON, Markdown and history reports locally, and — for a shared market-regime-daily run — the same --run-id should be passed to both required producers so their JSON reports can be handed to Exposure Coach's provenance mode). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.

🔒 Security, provenance and what this touches
🧭 What this touches
Based on the install prompt we scanned, this skill does not run commands, make third-party network calls, install packages, write files, or ask for API keys.
Install prompt analysis · 2026-10-13
🔒 Security and provenance
📌 Pinned version: commit aec21a0 · 2026-10-19
🧪 Install ran in our test sandbox · Nov 18, 2026
👁 Observed during the install test · Nov 18, 2026 : files.pythonhosted.org, pypi.org
🔎 Last checked · Nov 22, 2026 : no change detected in the files linked by this install prompt
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Wanna be extra careful?

The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?

How to check a skill before installing →

✓

Verification certificate

Dated facts about what was checked for this listing, and how. This is not a safety certification.

Pinned version
aec21a0 · 2026-10-19
Sandbox install test
Install ran in our test sandbox · Nov 18, 2026 · Observed during the install test: files.pythonhosted.org, pypi.org
Creator identity
Not verified
Fingerprint watch
Last checked · Nov 22, 2026 : no change detected in the files linked by this install prompt
Install prompt analysis
2026-10-13 : No commands, network calls, packages, file writes or API keys detected.

Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify

?

Questions

How do I install a skill?

Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.

Where does my money go?

Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.

What does the ✓ next to a creator’s name mean?

It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.