Skip to content
Finance
Skill

/templates

Browse and use Pine Script templates. Quick starting points for common indicator and strategy patterns.

BOOST
From plugin
pinescript
21412 skills3 agents3 commands2 hooks
+1
Install
$ npx -y skills add traderspost/pinescript-agents --skill templates --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/templates

Context preview

The summary Claude sees to decide when to auto-load this skill.

Browse and use Pine Script templates. Quick starting points for common indicator and strategy patterns.

SKILL.md

templates.SKILL.md
name: templates
description: Browse and use Pine Script templates. Quick starting points for common indicator and strategy patterns.
disable-model-invocation: true
allowed-tools: Glob, Read

Pine Script Templates

Browse available templates for quick project starts.

Instructions

When this skill is invoked:

1. **List all templates** from the `templates/` directory 2. **Organize by category**:

  • `templates/indicators/` - Indicator patterns
  • `templates/strategies/` - Strategy patterns
  • `templates/utilities/` - Helper functions

3. **Show template details**:

  • Name and purpose
  • Key features included
  • Customization points

Template Categories

Indicators

  • Momentum (RSI, MACD variations)
  • Trend (Moving averages, channels)
  • Volatility (ATR-based, Bollinger)
  • Volume (Volume profiles, OBV)

Strategies

  • Trend Following (MA crossover, breakout)
  • Mean Reversion (Bollinger, RSI extremes)
  • Momentum (MACD, RSI strategies)

Utilities

  • Debug panels
  • Risk management helpers
  • Session filters
  • Alert builders

Using a Template

When user selects a template:

1. **Copy to projects/**:

  • Rename to descriptive project name
  • E.g., `templates/indicators/rsi-divergence.pine` → `projects/my-rsi-scanner.pine`

2. **Explain customization points**:

  • Which inputs to adjust
  • Where to add custom logic
  • How to modify visuals

3. **Help customize** based on user needs

Quick Start

Suggest popular templates based on common requests:

  • "RSI indicator" → `templates/indicators/rsi-momentum.pine`
  • "Moving average strategy" → `templates/strategies/ema-cross.pine`
  • "Volume analysis" → `templates/indicators/volume-profile.pine`
Read more
Ships withpinescript

A comprehensive Pine Script development environment powered by Claude Code's Skills system. This tool helps you create professional TradingView indicators and strategies with AI assistance. Just type start to begin!

Get the whole plugin

Other skills on pinescript.