Borrowing it
Nothing to install: this file belongs to heurist-network/heurist-finance. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/heurist-network/heurist-finance/main/.claude/skills/market-health/SKILL.mdgit clone --depth 1 https://github.com/heurist-network/heurist-financeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/heurist-network/heurist-finance/market-health)<a href="https://agentmods.dev/skills/heurist-network/heurist-finance/market-health"><img src="https://agentmods.dev/badge/skills/heurist-network/heurist-finance/market-health/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/heurist-network/heurist-finance/market-health"><img src="https://agentmods.dev/badge/skills/heurist-network/heurist-finance/market-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01319 |
| Opus 5.5 | $0.00034 | $0.00528 |
| Sonnet 5.5 | $0.00017 | $0.00264 |
| Haiku 4.5 | $0.00009 | $0.00132 |
Grade A, and why
market-health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Market Health
Shared plumbing and output contract: ../_shared/analyst-core.md. The most consequential retail question isn't stock selection — it's how much equity exposure to carry right now. Most public content answers with commentary; this skill answers with a gate. The output is one of three states, borrowed from the best practice in public trading skills and worth adopting as-is:
- NEW_ENTRY_ALLOWED — regime supports adding risk; normal sizing applies.
- REDUCE_ONLY — hold what's working, no new entries, trim laggards; tighten falsifiers.
- CASH_PRIORITY — distribution/stress regime; raising cash outranks any new idea.
The state is a gate on other skills (momentum entries, screen finalists, event trades all check it), and its confidence is capped by input completeness: with inputs missing or conflicting, default to the more conservative state and say which inputs were unavailable — never average conflicting readings into false moderation.
The inputs (pull all five lanes; each can veto)
- Index trend + distribution counting.
technical_snapshot symbols=^GSPC,^IXIC(daily + weekly). Trend state vs 50/200d first. Then count distribution days — declines ≥ ~0.2% on higher volume than the prior day — over the trailing 25 sessions (compute fromprices ^GSPC --period 3mo --full --out FILE; volume needs--full): 4–6 in the window is the O'Neil-school caution signal that institutional selling is underway, historically preceding intermediate corrections. Cluster timing matters more than raw count; expire days older than 25 sessions. A follow-through day (major index +1.5%+ on rising volume, day 4+ of a rally attempt) is the same school's re-entry signal after a correction — label both as practitioner methodology with real but imperfect hit rates (false FTDs happen in bear markets; the tool is exposure throttling, not prophecy). - Breadth (the market of stocks vs the stock market). % of members above 200d/50d MAs, new highs − new lows, advance/decline behavior; equal-weight vs cap-weight spread (RSP vs SPY via
prices) is the cheap always-available proxy — a cap-weighted index at highs while the equal-weight lags badly and NH-NL is negative = narrow leadership, the classic late-stage signature. Sourcing: attempt the primary breadth statistics first viaweb(Barchart/StockCharts publish them); only after that attempt fails, say so and fall back to the RSP/SPY proxy + sector participation (sector-rotation), labeled as proxy. - Volatility regime.
^VIXlevel + realized vol of the index. VIX > ~28–30 with an inverted VIX term structure = stress regime (forced flows dominate); VIX grinding under ~13 for months = complacency (cheap hedges, stretched rubber band — an input to REDUCE_ONLY only in combination). The transition (VIX regime shift on rising realized) matters more than the level. - Credit confirmation. From
macro-regime: IG/HY OAS direction (fred macro_series_history). Equity weakness without credit confirmation is usually rotation → don't gate to CASH_PRIORITY on equities alone. Credit widening + equity weakness = genuine regime risk. - Leadership quality. What's leading the tape (
equity_screen day_gainers, sector RS fromsector-rotation, news tone viayahoo news_search): offensive leadership (cyclicals, quality growth, broadening participation) vs defensive/speculative leadership (staples+utilities leading = risk-off internals; low-quality speculative froth leading = late-stage recruitment). Leadership is the tiebreaker lane when trend and breadth disagree.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 35 lines · 85 tokens per session scan A 1d93d124f6cb
market-health is a skill published in the GitHub repository heurist-network/heurist-finance (11 stars, last pushed 14d ago), licensed MIT. It adds 85 tokens to every session and 1,319 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.
market-health compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| market-healthheurist-network/heurist-finance | Skill | 11 | 14d ago | MIT | A | 85 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | yesterday | MIT | A | 39 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 2d ago | MIT | A | 110 | Claude Code |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | 2d ago | MIT | A | 28 | Claude Code, Codex |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 2d ago | GPL-2.0 | A | 292 | Codex |