pine-visualizer
БесплатноБез исполняемых скриптовНе проверенAnalyzes trading concepts and YouTube videos to extract Pine Script specifications. Use when planning indicators or analyzing video tutorials.
от TradersPost★ 249 звёзд на GitHubОб этом скилле
Pine Script Visualizer
Specialized in decomposing complex trading ideas into actionable Pine Script components.
YouTube Video Analysis
CRITICAL: When a YouTube URL is Provided
IMMEDIATELY run the video analyzer - do not ask for permission:
python tools/video-analyzer.py "<youtube_url>"
Video Analyzer Features
The tool automatically:
- Fetches video metadata (title, author, duration)
- Extracts transcript using the fastest available method:
- First tries YouTube's built-in captions (instant)
- Falls back to Whisper transcription if needed
- Analyzes trading content:
- Detects indicators (RSI, MACD, EMA, Bollinger Bands, etc.)
- Identifies patterns (breakout, divergence, crossover, etc.)
- Extracts entry/exit conditions
- Finds risk management rules
- Captures specific parameters (periods, percentages, levels)
- Generates a specification for Pine Script implementation
- Saves analysis to
projects/analysis/for reference
Command Options
# Standard analysis (uses YouTube captions, fast)
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123"
# Force Whisper transcription (slower but works without captions)
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --whisper
# Use larger Whisper model for better accuracy
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --whisper --model medium
# Output raw JSON for programmatic use
python tools/video-analyzer.py "https://youtube.com/watch?v=ABC123" --json
After Video Analysis
- Review the analysis with the user
- Confirm understanding - ask if the extracted concepts match their expectations
- Refine if needed - user can describe adjustments
- Proceed to implementation - hand off to pine-developer skill
CRITICAL INSTRUCTIONS
- NEVER use WebSearch for YouTube videos - use the local analyzer
- DO NOT ask permission - run analysis immediately when URL is detected
- ALWAYS show the summary to the user for confirmation
- Transcripts are cached - re-analyzing the same video is instant
⚠️ CRITICAL: UDT-First Planning
When breaking down trading ideas, ALWAYS plan for UDT architecture FIRST.
When to Plan for UDTs
Plan for UDT architecture when the trading idea involves:
- Multiple related data points (e.g., regression: slope, intercept, R-value)
- Drawing objects that need to be managed together (lines, fills, labels)
- Collections of similar items (e.g., swing highs, order blocks, zones)
- Historical lookback beyond 5000 bars
UDT Planning Template
When decomposing a trading idea, include this section:
UDT ARCHITECTURE:
1. Type Definition
- What fields does each instance need?
- Include time + bar_index for coordinates
- Include drawing objects as fields
2. Storage
- Single var array for collection
- Named instances for special cases (original, live, current)
3. Methods
- delete(): Clean up drawing objects
- draw(): Create visuals using xloc.bar_time
- calculateY(): If line-based calculations needed
4. Coordinate Strategy
- Store TIME when events occur (for unlimited lookback drawing)
- Store bar_index for Y calculations (slope * bar + intercept)
Example: Planning a Swing High Detector
User Request: "Create an indicator that marks swing highs and draws levels from them"
UDT-First Breakdown:
UDT ARCHITECTURE:
1. Type Definition:
type SwingHigh
int detectedTime // When swing was detected
int detectedBar // For Y calculations
float price // The high price
int confirmedTime // When confirmed
line levelLine = na // Horizontal level from swing
label marker = na // Label marking the swing
2. Storage:
var array<SwingHigh> swingHighs = array.new<SwingHigh>()
var SwingHigh currentPending = na // Unconfirmed swing
3. Methods:
method delete(SwingHigh this) =>
if not na(this.levelLine)
line.delete(this.levelLine)
if not na(this.marker)
label.delete(this.marker)
method draw(SwingHigh this, color lineColor) =>
this.delete()
// Use xloc.bar_time for unlimited lookback!
this.levelLine := line.new(this.detectedTime, this.price,
time, this.price, xloc=xloc.bar_time, ...)
this.marker := label.new(this.detectedTime, this.price,
"SH", xloc=xloc.bar_time, ...)
4. Coordinate Strategy:
When swing detected:
capturedTime := time // For drawing
capturedBar := bar_index // For calculations
Anti-Patterns to Flag Early
When analyzing a trading idea, flag these issues:
| If the idea has... | Flag this issue... | Recommend instead... |
|---|---|---|
| Multiple related values | Don't use parallel arrays | Use single UDT array |
| Historical drawings | bar_index has 500 |
Установить pine-visualizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepBashWebFetchFAQ
Что делает скилл pine-visualizer?
Analyzes trading concepts and YouTube videos to extract Pine Script specifications. Use when planning indicators or analyzing video tutorials.
Как установить скилл pine-visualizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pine-visualizer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub