strategy-report

strategy-report is a skill for Claude Code, Codex from jadatorin/tradingview-opencode-agent. It costs 30 tokens per session (658 once invoked), scanned A, original, MIT.

A report workflow for evaluating a Pine Script trading strategy in TradingView. Pine Script is TradingView’s language for writing chart indicators and automated trading strategies.

In plain words
What is it for?
Collecting strategy results, trades, equity-curve data, and chart details, then reporting metrics, trade patterns, drawdown, and recommendations.
Why use it?
It turns backtest results and individual trades into a structured view of returns, risks, and weaknesses.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/jadatorin/tradingview-opencode-agent/strategy-report
Any agent
npx skills add jadatorin/tradingview-opencode-agent --skill strategy-report
Clone the repo
git clone --depth 1 https://github.com/jadatorin/tradingview-opencode-agent

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for strategy-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/jadatorin/tradingview-opencode-agent/strategy-report.svg)](https://agentmods.dev/skills/jadatorin/tradingview-opencode-agent/strategy-report)
Your own site
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash a9f736f6d7f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

opencode-skills/strategy-report/SKILL.md · 93 lines

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:

  1. data_get_strategy_results — overall metrics (net profit, win rate, profit factor, etc.)
  2. data_get_trades — individual trade list (max 20)
  3. data_get_equity — equity curve data points
  4. chart_get_state — current symbol, timeframe, and studies on chart
  5. symbol_info — symbol metadata for context

Step 2: Capture Visuals

  1. capture_screenshot with region "chart" — the chart with strategy overlay
  2. capture_screenshot with 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

Read the full file on GitHub · 93 lines

Changes

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.

  1. 4d ago First seen · 93 lines · 0 tokens per session scan A a9f736f6d7f4

Subscribe to this mod's changes

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.

Related

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.

lgbarn/trading-indicator-plugins · 39 tokens

tradovate-patterns

Tradovate JavaScript indicator scaffold and patterns. Provides class structure and export guidance. Use when developing Tradovate indicators.

lgbarn/trading-indicator-plugins · 31 tokens

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.

lgbarn/trading-indicator-plugins · 37 tokens

polymarket

Query Polymarket: markets, prices, orderbooks, history.

NousResearch/hermes-agent · 18 tokens

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…

himself65/finance-skills · 223 tokens

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…

himself65/finance-skills · 188 tokens