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/investment-thesis.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/investment-thesis)<a href="https://agentmods.dev/commands/fiale-plus/tradingview-mcp-server/investment-thesis"><img src="https://agentmods.dev/badge/commands/fiale-plus/tradingview-mcp-server/investment-thesis/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/investment-thesis"><img src="https://agentmods.dev/badge/commands/fiale-plus/tradingview-mcp-server/investment-thesis.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.00015 | $0.01928 |
| Opus 5 | $0.00008 | $0.00964 |
| Sonnet 5 | $0.00003 | $0.00386 |
| Haiku 4.5 | $0.00002 | $0.00193 |
Grade A, and why
investment-thesis 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investment Thesis Generator
Generate a complete, data-driven investment thesis for a single stock — bull case, bear case, key metrics table, technical setup, and monitoring checklist.
Steps:
-
Parse symbol from
$ARGUMENTS- Accept formats like
AAPL,NASDAQ:AAPL,NYSE:JPM - If no exchange prefix, try NASDAQ: then NYSE:
- Use the first successfully resolved symbol
- Accept formats like
-
Fetch data using
mcp__tradingview__lookup_symbols- symbols: [normalized symbol]
- columns:
- name, close, market_cap_basic, sector, industry, exchange
- return_on_equity, price_earnings_ttm, price_book_fq, price_sales_current
- enterprise_value_current, enterprise_value_ebitda_ttm
- gross_margin_ttm, net_margin_ttm, free_cash_flow_ttm, free_cash_flow_margin_ttm
- total_revenue_yoy_growth_ttm, earnings_per_share_diluted_yoy_growth_ttm
- debt_to_equity, current_ratio, beta_1_year
- dividends_yield_current, dividend_payout_ratio_ttm
- RSI, SMA50, SMA200, Perf.Y, Perf.YTD, all_time_high, price_52_week_high
-
Generate the investment thesis document using the real data fetched above:
Investment Thesis: [Company Name] ([SYMBOL])
Data as of [today's date]. Not financial advice.
The Business
- Sector: [sector] | Industry: [industry]
- Market Cap: [formatted market cap] | Exchange: [exchange]
- [Write 2-3 sentences describing what this company does — use your knowledge of the company]
Why This Stock
Bull Case
Generate 3 bull case points based on the actual data. Use these signal rules:
- If ROE > 15% AND (gross_margin > 30% OR net_margin > 15%): "Strong unit economics with [ROE]% ROE and [gross_margin]% gross margins, indicating durable competitive advantage"
- If total_revenue_yoy_growth_ttm > 10%: "Revenue growing at [X]% YoY, significantly above GDP growth"
- If price_earnings_ttm < 20 OR price_book_fq < 2 OR price_sales_current < 2: "Trading at an attractive valuation: P/E of [X], P/B of [X]"
- If free_cash_flow_margin_ttm > 15%: "High FCF margin of [X]% provides financial flexibility for buybacks, dividends, or acquisitions"
- If Perf.Y > 20% AND RSI < 70: "Strong 1Y momentum ([X]%) without being technically overbought (RSI [X])" Fall back to the 3 strongest signals from the data if specific thresholds are not met.
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 · 126 lines · 15 tokens per session scan A 5b92c3875951
investment-thesis is a command published in the GitHub repository fiale-plus/tradingview-mcp-server (50 stars, last pushed 19d ago), licensed MIT. It adds 15 tokens to every session and 1,928 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.