agentleFS
udaydeep1992udaydeep1992/pinescript-agents-antigravity/skills/pine-visualizer/SKILL.md

pine-visualizer

Skill0 starsChanged 41 days agoMITView on GitHub

Creates visual architecture diagrams, trading flowcharts, and indicator relationship maps using Mermaid. Also executes YouTube video strategy extraction using the bundled video analyzer tool. Use when conceptualizing systems, mapping strategy logic, diagramming workflows, or analyzing trading videos.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. TradersPost/pinescript-agents★ 156same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use GitHub-flavored Mermaid diagrams to illustrate strategy state machines, decision trees, and indicator interactions:

    line 12
  2. Very specific:

    When the user provides a YouTube URL (or asks to analyze a trading video tutorial): Execute the self-contained video analysis script …

    line 46
  3. Distinctive:

    Verify all extracted parameters (indicator periods, thresholds, risk/reward ratios).

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pine Script Visualizer

Specialized in visual architecture modeling, Mermaid diagrams of trading systems, indicator interactions, and YouTube video strategy decomposition.

1. Visual Strategy & Architecture Modeling

Use GitHub-flavored Mermaid diagrams to illustrate strategy state machines, decision trees, and indicator interactions:

State Machine Flowchart

graph TD
    Start([New Bar Closed]) --> CkSession{In Trade Session?}
    CkSession -- No --> Wait([Wait for Next Bar])
    CkSession -- Yes --> CkFilter{Trend Filter MA50 > MA200?}
    CkFilter -- No --> Wait
    CkFilter -- Yes --> CkTrigger{RSI Crosses Below 30?}
    CkTrigger -- Yes --> LongEntry[Execute Long Order]
    CkTrigger -- No --> Wait
    LongEntry --> InPosition{Position Open}
    InPosition --> ExitSL{Price <= Stop Loss?}
    InPosition --> ExitTP{Price >= Take Profit?}
    ExitSL -- Yes --> CloseLoss[Close at Stop Loss]
    ExitTP -- Yes --> CloseProfit[Close at Target]

Indicator Relationship Diagram

graph LR
    Price[OHLCV Price Feed] --> EMA20[Fast EMA 20]
    Price --> EMA50[Slow EMA 50]
    Price --> ATR[ATR Volatility 14]
    EMA20 & EMA50 --> TrendState[Trend State Matrix]
    ATR --> DynStop[Dynamic Stop Loss Distance]
    TrendState & DynStop --> Sizing[Volatility Adjusted Position Size]

2. YouTube Video Strategy Extraction

When the user provides a YouTube URL (or asks to analyze a trading video tutorial): Execute the self-contained video analysis script located in tools/video-analyzer.py:

# Run analysis on the YouTube video URL
python tools/video-analyzer.py "<youtube_url>"

Tool Capabilities

  • Automatically extracts video transcripts via youtube-transcript-api (instant captions).
  • Falls back to local Whisper transcription if no captions are present.
  • Detects technical indicators (RSI, EMA, MACD, Bollinger Bands, VWAP, etc.).
  • Identifies entry conditions, exit triggers, stop loss formulas, and timeframe recommendations.
  • Saves structured analysis to projects/analysis/ or outputs JSON.

Post-Analysis Protocol

  1. Present the extracted rules clearly to the user.
  2. Verify all extracted parameters (indicator periods, thresholds, risk/reward ratios).
  3. Hand off the finalized specification to pine-developer to write the Pine Script v6 code.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.