Agent skill

Pine Backtester

by TradersPost in TradersPost/pinescript-agents

Implements comprehensive backtesting and performance metrics.

No licenceAuto-check passedBusiness, Finance & HR

Install Pine Backtester

skills CLI
$ npx skills add TradersPost/pinescript-agents --skill pine-backtester -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TradersPost/pinescript-agents pine-backtester --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TradersPost/pinescript-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pine-backtester .claude/skills/pine-backtester && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pine-backtester
GitHub stars
167
Used in
1 other repo
Token cost
~3.9k tokens
SKILL.md length
324 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
None found

At a glance

Implements comprehensive backtesting and performance metrics.

  • Works in 7 steps: Comprehensive Strategy Metrics Table → Trade Distribution Analysis → Sharpe Ratio Calculation → …
  • Adding trade analysis
  • SKILL.md covers Core Responsibilities, Pine Script v6 2025…, ⚠️ UDT-First Trade Tracking and Backtesting Components, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pine Backtester is an agent skill from TradersPost/pinescript-agents. Implements comprehensive backtesting and performance metrics. Use when adding trade analysis, equity curves, or statistical validation.

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Trading and backtesting and OKRs and executive reporting. The repository describes itself as: Claude Code toolset for developing TradingView pine scripts.

When your agent uses it

  • Adding trade analysis
  • Statistical validation

Example prompts

  • “Use the pine-backtester skill to implement comprehensive backtesting and performance metrics”
  • “/pine-backtester”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Grep, Glob

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Comprehensive Strategy Metrics Table
  2. Trade Distribution Analysis
  3. Sharpe Ratio Calculation
  4. Indicator Accuracy Testing
  5. Equity Curve Visualization
  6. Multi-Timeframe Validation
  7. Walk-Forward Analysis

What it can do on your machine

Read from SKILL.md and the folder at commit ebc382f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are pinescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pine Backtester loads about 3.9k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 324 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 324 words (~3,939 tokens).

“Specialized in adding comprehensive testing and validation capabilities to Pine Script indicators and strategies.”

— opening of SKILL.md by TradersPost
name
pine-backtester
allowed-tools
Read, Edit, Grep, Glob

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/pine-backtester of TradersPost/pinescript-agents.

Open the folder on GitHubat commit ebc382f

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in TradersPost/pinescript-agents, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Pine Backtester next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pine Backtester compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pine Backtester this skillTradersPost/pinescript-agents1671 repos~3.9kAutomated safety check: PassNone
BacktesterSignal-Execution-Labs/forex-trading-ai-agent159—~2.7kAutomated safety check: PassMIT
Vectorbtagiprolabs/claude-trading-skills410—~2.6kAutomated safety check: PassMIT
Stock PerformanceOctagonAI/skills127—~1.6kAutomated safety check: PassMIT
Trading As Businessagentii-ai/agentii-investment-intelligence206—~655Automated safety check: PassApache-2.0
Tushare Datazillionare/zillionare3182 repos~2.3kAutomated safety check: PassNone

Similar skills

  • Backtester

    Signal-Execution-Labs/forex-trading-ai-agent

    Backtest trading strategies with historical data. An agent skill from Signal-Execution-Labs/forex-trading-ai-agent.

    159 GitHub stars~2.7k tokensUpdated 23 days ago
    Business, Finance & HRAuto-check passed
  • Vectorbt

    agiprolabs/claude-trading-skills

    High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics

    410 GitHub stars~2.6k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Stock Performance

    OctagonAI/skills

    Retrieve stock price data and performance metrics using Octagon MCP.

    127 GitHub stars~1.6k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Trading As Business

    agentii-ai/agentii-investment-intelligence

    Trading as a business, performance review process, trade journaling, capital allocation discipline, business infrastructure for traders, KPI tracking for trading operations

    206 GitHub stars~655 tokensUpdated 8 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    318 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    4.9k GitHub stars~1.3k tokensUpdated today
    Business, Finance & HRAuto-check passed

More from TradersPost/pinescript-agents

All 11 skills in this repo
  • Pine Developer

    TradersPost/pinescript-agents

    Writes production-quality Pine Script v6 code following TradingView guidelines and best practices.

    167 GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Pine Visualizer

    TradersPost/pinescript-agents

    Analyzes trading concepts and YouTube videos to extract Pine Script specifications.

    167 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check: warnings
  • Pine Debugger

    TradersPost/pinescript-agents

    Troubleshoots Pine Script issues and adds debugging capabilities.

    167 GitHub stars~4.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Pine Developer

    TradersPost/pinescript-agents

    Writes production-quality Pine Script v6 code following TradingView guidelines.

    167 GitHub stars~4.3k tokensUpdated 2 mo ago
    Auto-check: notes
  • Pine Manager

    TradersPost/pinescript-agents

    Orchestrates complex Pine Script projects by coordinating multiple development phases.

    167 GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Pine Optimizer

    TradersPost/pinescript-agents

    Optimizes Pine Script for performance and user experience. An agent skill from TradersPost/pinescript-agents.

    167 GitHub stars~3.9k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Pine Backtester

What does Pine Backtester do?

Implements comprehensive backtesting and performance metrics. Pine Backtester is an agent skill from TradersPost/pinescript-agents. Implements comprehensive backtesting and performance metrics.

When should I use Pine Backtester?

Pine Backtester fits situations like: adding trade analysis; statistical validation.

How do I install Pine Backtester in Claude Code?

Run `npx skills add TradersPost/pinescript-agents --skill pine-backtester -a claude-code`. Or copy the skill folder (skills/pine-backtester in TradersPost/pinescript-agents) into .claude/skills/pine-backtester in your project. Claude Code loads it when a task matches its description.

How do I install Pine Backtester in Codex?

Run `npx skills add TradersPost/pinescript-agents --skill pine-backtester -a codex`. Or copy the skill folder (skills/pine-backtester in TradersPost/pinescript-agents) into .agents/skills/pine-backtester in your project. Codex loads it when a task matches its description.

Can I use Pine Backtester in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TradersPost/pinescript-agents --skill pine-backtester -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pine-backtester, .gemini/skills/pine-backtester, .github/skills/pine-backtester and .opencode/skills/pine-backtester in your project.

What does Pine Backtester need to run?

SKILL.md names no scripts, command-line tools or credentials: Pine Backtester is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Grep, Glob.

Does Pine Backtester access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pine Backtester safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pine Backtester use?

No licence was found for Pine Backtester or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pine Backtester use?

About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pine Backtester?

Skills that share tags, products or a category with Pine Backtester: Backtester (Signal-Execution-Labs/forex-trading-ai-agent, 159 stars), Vectorbt (agiprolabs/claude-trading-skills, 410 stars), Stock Performance (OctagonAI/skills, 127 stars) and Trading As Business (agentii-ai/agentii-investment-intelligence, 206 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pine Backtester?

TradersPost (a GitHub organization) maintains it in TradersPost/pinescript-agents, which has 167 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on July 23, 2026.

Source: TradersPost/pinescript-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.