Market Breadth Analyzer
Analyzes stock market sector diversification to identify potential risks and opportunities by measuring overall market breadth.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add market-breadth-analyzer npx -- -y @trustedskills/market-breadth-analyzer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"market-breadth-analyzer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/market-breadth-analyzer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Market Breadth Analyzer assesses the health of stock market sector diversification using a data-driven approach. It quantifies market breadth with a scoring system ranging from 0 to 100, where 100 represents maximum participation and 0 indicates critical weakness. The skill utilizes publicly available CSV data from GitHub Pages to measure how broadly the market is participating in rallies or declines, providing insights into potential risks and opportunities.
When to use it
- When you want to understand if a market rally is broad-based.
- To assess the overall participation rate of stocks in a market trend.
- If you're interested in advance-decline indicators or breadth thrust measurements.
- To determine if the market is narrowing, meaning fewer stocks are participating.
- When considering equity exposure levels based on current market breadth conditions.
Key capabilities
- Calculates a composite market breadth score (0-100).
- Utilizes six scored components to assess market health.
- Provides a zone classification for the overall score.
- Identifies strongest and weakest contributing components.
- Recommends equity exposure levels based on breadth conditions.
- Tracks historical scores and computes trends (improving, deteriorating, or stable).
- Requires no API keys; uses publicly available data.
Example prompts
- "Is the market rally broad-based?"
- "How healthy is market breadth right now?"
- "What are the key breadth levels to watch?"
- βCan you show me a report on market breadth?β
Tips & gotchas
- Requires Python 3.8 or higher with the
requestslibrary installed. - Needs an active internet connection to access data from GitHub Pages.
- The skill will warn if the data is older than five days.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.