market-breadth-analyzer
Skill4 starsChanged 2 months agoMITView on GitHub
Use this skill to score market breadth (the percentage of a stock universe trading above a moving average) from a plain CSV of tickers/prices/moving averages, with no market-data API required. Trigger on "market breadth", "% of stocks above 200-day MA", "breadth score", "how many stocks are participating", "is this rally broad or narrow". If the user wants a live number pulled from a real-time data feed rather than a CSV they already have, this skill still applies — just have them export/paste the data first, since this skill doesn't fetch prices itself.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- IngAs8/ClaudeSkilltheir own version, first seen Sep 28, 2026
- finskills/market-breadth-analyzertheir own version, first seen May 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- finskills/market-breadth-analyzer★ 0same name
- IngAs8/ClaudeSkill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/CLAUDE.mdCLAUDE.md
- deep-planningSkill
- deep-planningSkill
- deprecatedSkill
- architecture-reviewSkill
- code-reviewSkill
- diagnoseSkill
- tddSkill
- ui-design-engineeringSkill
- ux-ui-design-assessmentSkill
- in-progressSkill
- mcp-tool-managementSkill
- skill-managementSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- obsidian-notion-bridgeSkill
- obsidian-vault-workflowSkill
- boomz-preferencesSkill
- personal-agent-workflowSkill
- personalSkill
- automation-designSkill
- grill-with-docsSkill
- handoffSkill
- inbox-meeting-triageSkill
- markdown-reportSkill
- prompt-improvementSkill
- project-docs-prepSkill
- claim-citation-checkSkill
- daily-news-reportSkill
- github-skill-researchSkill
- project-discoverySkill
- repo-tourSkill
- research-methodologySkill
- seo-website-evaluatorSkill
- thaiSkill
- thai-addressSkill
- thai-customer-serviceSkill
- thai-date-formatSkill
- thai-festival-cardSkill
- thai-government-formSkill
- thai-id-validateSkill
- thai-invoiceSkill
- thai-pdpaSkill
- thai-resumeSkill
- thai-social-captionSkill
- thai-text-processingSkill
- thai-translateSkill
- backtest-expertSkill
- dividend-value-screenerSkill
- drawdown-circuit-breakerSkill
- exposure-coachSkill
- portfolio-managerSkill
- position-sizerSkill
- tradingSkill
- trader-memory-coreSkill
- uptrend-analyzerSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
No price/MA data is available at all and the user isn't willing to supply even a rough CSV — this skill has nothing to compute on
- Very specific: line 55
Run python3 breadth.py for the self-test.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Market Breadth Analyzer
Overview
A cap-weighted index (S&P 500, Nasdaq) can rise while most individual stocks fall — a handful of large names carry the average. Breadth measures actual participation: what fraction of a universe is trading above a given moving average. This skill computes that from a CSV the user already has (or pastes), so it works with no paid market-data API.
Not financial advice. This is a descriptive statistic over data you supply. A single breadth reading in isolation is a weak signal — see Known limitations.
When to use
- เช็คว่าตลาดกำลังขึ้นแบบกว้าง (broad) หรือขึ้นแค่ไม่กี่ตัว (narrow)
- Scoring a watchlist or index-constituent CSV for % above 50-day/200-day moving average
- Part of a daily/weekly market-regime check (pairs naturally with uptrend-analyzer and exposure-coach)
When NOT to use
- The user wants an actual buy/sell signal from one breadth reading — breadth informs market posture, it is not a trade trigger on its own
- No price/MA data is available at all and the user isn't willing to supply even a rough CSV — this skill has nothing to compute on
Core knowledge
Definition: breadth % = (number of tickers with price > moving average) / (total tickers with valid data) × 100. Most common MA choices: 50-day (shorter-term participation) and 200-day (longer-term trend participation).
Rough interpretation bands (starting heuristic, not calibrated — tune against your own universe's history):
| Breadth % | Reading |
| ≥ 70% | Broad participation |
| 50-69% | Moderate participation |
| 30-49% | Narrow participation |
| < 30% | Weak participation |
Data-quality handling: rows with missing or non-numeric price/MA values are excluded and reported, not silently treated as "below the MA" — folding bad data into the score in either direction would quietly bias the result.
Common mistakes
- Treating a single breadth reading as a standalone buy/sell signal instead of one input to overall market posture.
- Silently dropping rows with bad data instead of excluding-and-reporting them — this can shift the percentage without anyone noticing.
- Comparing breadth readings computed against different MAs (50-day vs. 200-day) as if they measure the same thing — always state which MA a given percentage refers to.
- Assuming
price == macounts as "above" — this implementation uses strict>, so an exact match counts as not-above; be explicit about that boundary when reporting results.
Code
breadth.py — no dependencies:
compute_breadth(rows, price_field="price", ma_field="ma200")→BreadthResult(total, above, below, excluded, pct_above)compute_breadth_from_csv(csv_text, ...)→ same, from raw CSV text (header row required)classify_breadth(pct_above)→ one of the four bands above
Run python3 breadth.py for the self-test.
Known limitations
- Interpretation bands are a generic starting heuristic — different universes (small-cap vs. large-cap, different sectors) behave differently at the same percentage; recalibrate against history before treating a threshold as meaningful.
- This skill does not fetch data. The user (or another tool/skill) must supply the CSV; accuracy of the output is only as good as the input.
- A rising breadth percentage and a falling index (or vice versa) is itself informative (a breadth divergence) — this skill reports the raw number, not divergence detection; that's a manual read on top of the output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

