Skip to main content
skill CX Codex

pine-visualizer — Claude Code skill for Pine Script planning

Turns a trading idea or a YouTube tutorial into a Pine Script spec: which indicators, which entry and exit rules, which numbers. Useful before you write the indicator itself.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add TradersPost/pinescript-agents --skill pine-visualizer -a claude-code
Open on GitHub

What pine-visualizer does

This skill takes a trading concept apart until it reads like instructions for Pine Script. Hand it a YouTube link and it runs the bundled tools/video-analyzer.py: metadata and transcript come in, then the script looks for indicators (RSI, MACD, EMA and the like), chart patterns such as breakouts or divergences, entry and exit rules, risk rules, and the exact periods, percentages and levels the presenter mentions. The write-up lands in projects/analysis/ so you can reopen it later.

Descriptions in plain text go through the same filter. The skill pushes custom types (UDTs) first: define the fields each record carries, keep the collection in one array, add methods for drawing and cleanup. It advises storing timestamps rather than bar numbers for anything you draw, since bar numbers stop at the 5000-bar history limit. Loops should use for...in; the classic counter loop with an array bound is easy to get wrong.

The skill can call Read, Glob, Grep, Bash and WebFetch. Video work needs Python; when a clip has no captions, add --whisper, optionally with a larger model. Captions are cached, so a second pass over the same link returns fast. The finished spec is meant to go to the pine-developer skill, so the two are used together.

The analyzer script ships with the repository — without it, video analysis won't start.

What it helps with

  • extract entry and exit rules from a YouTube tutorial
  • list the indicators and periods a trading idea relies on
  • plan storage for chart objects with custom types
  • turn a verbal strategy into a Pine Script specification
  • catch fragile patterns in an idea, like parallel arrays

Example prompts for the agent

  • Analyze this video and pull out the entry and exit conditions: https://youtube.com/watch?v=ABC123
  • Plan the UDT structure for this idea, with draw() and delete() methods
  • Write a spec for an EMA crossover indicator with explicit periods

How to install pine-visualizer

1Skills CLI (Vercel)

npx skills add TradersPost/pinescript-agents --skill pine-visualizer -a claude-code

2Manually: put the files in place

~/.claude/skills/pine-visualizer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pine-visualizer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pine-visualizer

How to install pine-visualizer in Claude Code?

Run npx skills add TradersPost/pinescript-agents --skill pine-visualizer -a claude-code. The skill file then sits at ~/.claude/skills/pine-visualizer/SKILL.md.

What does pine-visualizer do?

It decomposes a trading idea or a video into the pieces a Pine Script indicator needs, then hands the resulting spec to the pine-developer skill.

What is required for video analysis?

Python plus the tools/video-analyzer.py script from the skill's repository. Clips without captions need Whisper, enabled with the --whisper flag.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set5

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor