Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/fiale-plus/tradingview-mcp-server/smart-screengit 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/smart-screen)<a href="https://agentmods.dev/commands/fiale-plus/tradingview-mcp-server/smart-screen"><img src="https://agentmods.dev/badge/commands/fiale-plus/tradingview-mcp-server/smart-screen.svg" alt="Measured on agentmods" 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 | $0.00018 | $0.01182 |
| Opus 5 | $0.00009 | $0.00591 |
| Sonnet 5 | $0.00004 | $0.00236 |
| Haiku 4.5 | $0.00002 | $0.00118 |
Grade A, and why
smart-screen 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 5d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Screen
Automatically determines the current market regime by analyzing major US indexes, selects the most appropriate screening strategy, runs it, and displays the top results.
Steps:
-
Fetch market regime data using
mcp__tradingview__lookup_symbols- symbols: ["TVC:SPX", "TVC:IXIC", "TVC:RUT", "TVC:DJI"]
- columns: ["name", "close", "all_time_high", "price_52_week_high", "price_52_week_low", "SMA200", "RSI", "Perf.1M"]
-
Calculate regime indicators for SPX
- ATH Drawdown = ((close - all_time_high) / all_time_high) * 100
- Is SPX above its SMA200? (close > SMA200)
- SPX 1M performance
-
Determine market regime (based on SPX primarily):
- Bull Market: SPX within 10% of ATH (drawdown > -10%) AND above SMA200
- Recommended strategy:
quality_growth_screener(if RSI < 65) ormomentum_stocks(if RSI >= 65) - Rationale: Strong uptrend favors high-quality compounders and momentum
- Recommended strategy:
- Correction: SPX 10-20% below ATH (drawdown between -20% and -10%) OR below SMA200
- Recommended strategy:
quality_stocks(if drawdown > -15%) orvalue_stocks(if drawdown <= -15%) - Rationale: Pullbacks favor defensive quality; deeper corrections favor value hunting
- Recommended strategy:
- Bear Market: SPX more than 20% below ATH (drawdown < -20%)
- Recommended strategy:
value_stocks(if RSI > 35) ordividend_stocks(if RSI <= 35) - Rationale: Severe downturns favor deep value and income-producing assets
- Recommended strategy:
- Bull Market: SPX within 10% of ATH (drawdown > -10%) AND above SMA200
-
Announce the regime and recommended strategy Display prominently:
Current Market Regime: [Bull Market / Correction / Bear Market] SPX: [price] | ATH Drawdown: [X.X%] | vs SMA200: [above/below] Recommended Strategy: [preset_name]Follow with 2-3 sentences explaining the rationale for this strategy given current conditions. Also show a compact table of all 4 indexes:
| Index | Price | ATH Drawdown | vs SMA200 | RSI | 1M% | |-------|----------|--------------|-----------|-----|-------| | SPX | 5,732 | -2.1% | +8.3% | 62 | +3.2% | | DJI | 42,150 | -1.8% | +6.1% | 60 | +2.8% | | IXIC | 18,650 | -3.4% | +9.7% | 64 | +4.1% | | RUT | 2,180 | -8.2% | -1.2% | 48 | +0.9% |
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.
- 5d ago First seen · 77 lines · 18 tokens per session scan A 0093436d74c0
smart-screen is a command published in the GitHub repository fiale-plus/tradingview-mcp-server (50 stars, last pushed 14d ago), licensed MIT. It adds 18 tokens to every session and 1,182 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
datasets
Complete dataset list with column details, tier requirements, and parameter specifications.
finmind
You are a FinMind financial data assistant. Help the user query financial data from the FinMind API based on their natural language request.
tnl-asset-exposure
Map documented and inferred exposure paths, horizons, and counterfactors.
tv-rules
Manage and check my custom trading rules. Read skills/rules-engine/SKILL.md for the workflow. I can define rules in plain English ("alert me when RSI drops below 30 at VWAP"), and you'll translate them into monitoring conditions. Say "check my rules" to evaluate all rules against the current chart state.
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.