Borrowing it
Nothing to install: this file belongs to fiale-plus/tradingview-mcp-server. 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/fiale-plus/tradingview-mcp-server/main/.claude/commands/market-regime.mdgit clone --depth 1 https://github.com/fiale-plus/tradingview-mcp-serverWrote 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/commands/fiale-plus/tradingview-mcp-server/market-regime)<a href="https://agentmods.dev/commands/fiale-plus/tradingview-mcp-server/market-regime"><img src="https://agentmods.dev/badge/commands/fiale-plus/tradingview-mcp-server/market-regime/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/commands/fiale-plus/tradingview-mcp-server/market-regime"><img src="https://agentmods.dev/badge/commands/fiale-plus/tradingview-mcp-server/market-regime.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.00014 | $0.00468 |
| Opus 5 | $0.00007 | $0.00234 |
| Sonnet 5 | $0.00003 | $0.00094 |
| Haiku 4.5 | $0.00001 | $0.00047 |
Grade A, and why
market-regime 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 10d 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.
What it actually says
Market Regime Analysis
Fetch current levels for major global indexes and calculate drawdowns from all-time highs to assess overall market regime.
Indexes to analyze:
- Nasdaq Composite (TVC:IXIC) - US tech-heavy market
- OMX Stockholm 30 (OMXSTO:OMXS30) - Swedish large-cap
- Nikkei 225 (TVC:NI225) - Japanese large-cap
Steps:
-
Use
mcp__tradingview__lookup_symbolsto fetch:- symbols: ["TVC:IXIC", "OMXSTO:OMXS30", "TVC:NI225"]
- columns: ["name", "close", "all_time_high", "price_52_week_high", "change", "Perf.Y", "RSI"]
-
For each index, calculate:
- Drawdown from ATH = ((close - all_time_high) / all_time_high) * 100
- Round to 2 decimal places
-
Assign regime status based on drawdown:
- 🟢 GREEN (Normal): 0% to -5% from ATH
- 🟡 AMBER (Caution): -5% to -10% from ATH
- 🔴 RED (Warning): < -10% from ATH
-
Display results as a formatted markdown table with:
- Index name
- Current price
- All-time high
- Drawdown % from ATH
- Status indicator (🟢/🟡/🔴)
- 1Y Performance
- RSI
-
Provide summary:
- Count indexes by status (green/amber/red)
- Overall market regime assessment
- Note that ATH data may lag by 1-2 days
Important:
- If all_time_high < close, the index is making NEW all-time highs (show as 🟢 with +X.XX% above ATH)
- Use price_52_week_high as reference if ATH seems stale
- Express drawdown as negative percentage when below ATH
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.
- 10d ago First seen · 47 lines · 14 tokens per session scan A 17de11c1da0c
market-regime is a command published in the GitHub repository fiale-plus/tradingview-mcp-server (50 stars, last pushed 19d ago), licensed MIT. It adds 14 tokens to every session and 468 once invoked, about $0.0001 per session on Opus 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-08-30.
Other commands, from other repositories
merit-reconcile
Preview or check the status of Stripe → Merit payout reconciliation (read-only).
merit-customers
Find or create a Merit Aktiva customer (or vendor).
CLAUDE
Command "CLAUDE" from Calhooon/bsv-wallet-cli, covering commands, files, decisions, gotchas and related.
tnl-asset-exposure
Map documented and inferred exposure paths, horizons, and counterfactors.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.