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 skills/jadatorin/tradingview-opencode-agent/strategy-reportnpx skills add jadatorin/tradingview-opencode-agent --skill strategy-reportgit clone --depth 1 https://github.com/jadatorin/tradingview-opencode-agentWrote 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/jadatorin/tradingview-opencode-agent/strategy-report)<a href="https://agentmods.dev/skills/jadatorin/tradingview-opencode-agent/strategy-report"><img src="https://agentmods.dev/badge/skills/jadatorin/tradingview-opencode-agent/strategy-report.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.00030 | $0.00658 |
| Opus 5 | $0.00015 | $0.00329 |
| Sonnet 5 | $0.00006 | $0.00132 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
strategy-report 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 4d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- strategy-report — 91% identical, 9 lines differ
- strategy-report — 91% identical, 9 lines differ
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Strategy Performance Report
You are generating a detailed performance report for a Pine Script strategy on TradingView.
Step 1: Gather Data
Collect all available performance data:
data_get_strategy_results— overall metrics (net profit, win rate, profit factor, etc.)data_get_trades— individual trade list (max 20)data_get_equity— equity curve data pointschart_get_state— current symbol, timeframe, and studies on chartsymbol_info— symbol metadata for context
Step 2: Capture Visuals
capture_screenshotwith region "chart" — the chart with strategy overlaycapture_screenshotwith region "strategy_tester" — the Strategy Tester panel
Step 3: Analyze
Key Metrics
Report these if available:
- Net Profit and % return
- Total Trades and Win Rate
- Profit Factor (target > 1.5)
- Max Drawdown ($ and %)
- Average Trade ($ and %)
- Sharpe Ratio if available
- Max Consecutive Losses
Trade Analysis
From the trade list:
- Largest winner and largest loser
- Average winner vs average loser (reward:risk)
- Long vs short performance breakdown
- Time in market
Equity Curve Assessment
- Is it smooth and upward-sloping?
- Any extended drawdown periods?
- Does it show consistency or was profit front/back-loaded?
Step 4: Generate Report
Format as a structured report:
## Strategy Report: [Strategy Name]
**Symbol:** [symbol] | **Timeframe:** [tf] | **Period:** [date range]
### Summary
[1-2 sentence overview of performance]
### Key Metrics
| Metric | Value |
|--------|-------|
| Net Profit | ... |
| Win Rate | ... |
| Profit Factor | ... |
| Max Drawdown | ... |
### Strengths
- [bullet points]
### Weaknesses
- [bullet points]
### Recommendations
- [specific actionable improvements]
Step 5: Suggest Improvements
Based on the analysis:
- If win rate < 50% but profit factor > 1: suggest tighter entries
- If max drawdown > 20%: suggest position sizing or stop loss adjustments
- If profit factor < 1.2: suggest the strategy may need fundamental changes
- If few trades: suggest widening the lookback or loosening entry criteria
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.
- 4d ago First seen · 93 lines · 0 tokens per session scan A a9f736f6d7f4
strategy-report is a skill published in the GitHub repository jadatorin/tradingview-opencode-agent (2 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 658 once invoked, about $0.0002 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-31.
Other skills, from other repositories
ninja-patterns
NinjaTrader 8 NinjaScript indicator scaffold and patterns. Provides C# structure guidance and triggers doc-researcher for API verification. Use when developing NinjaTrader indicators.
tradovate-patterns
Tradovate JavaScript indicator scaffold and patterns. Provides class structure and export guidance. Use when developing Tradovate indicators.
pine-patterns
Pine Script v5/v6 indicator scaffold and patterns. Provides structure guidance and triggers doc-researcher for current syntax verification. Use when developing TradingView indicators.
polymarket
Query Polymarket: markets, prices, orderbooks, history.
etf-premium
Calculate ETF premium/discount vs NAV via Yahoo Finance, and decompose single-day surges into NAV-driven vs structural components (gamma squeeze, dealer hedging, blocked AP arbitrage). Use whenever the user asks about an ETF's premium or discount, NAV comparison, why an ETF diverged from its holdings, or how much of a…
stock-liquidity
Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…