A comprehensive Pine Script development environment powered by Claude Code's Skills system.
$ npx -y skills add traderspost/pinescript-agents --agent claude-code
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!
Clone the repository
git clone https://github.com/TradersPost/pinescript-agents.git
cd pinescript-agents
Install dependencies (for YouTube video analysis)
pip install -r requirements.txt
# Also need FFmpeg for audio processing (optional, for Whisper fallback)
# macOS: brew install ffmpeg
# Ubuntu: sudo apt install ffmpeg
Open in your IDE with Claude Code
# VS Code with Claude extension
code .
# Or use Claude Code CLI
claude
Just type "start" in Claude chat
start
This launches an interactive guide that helps you:
Or jump straight to creating
Create an RSI divergence indicator with alerts
Build a mean reversion strategy using Bollinger Bands
Analyze this video: https://youtube.com/watch?v=...
Other helpful commands:
help - Show all available commandsexamples - List example scriptstemplates - Show quick templatesstatus - Show system status and available skillsThis project uses Claude Code's Skills system - specialized capabilities that automatically activate based on your request. No explicit commands needed!
| Skill | Activates When You... | What It Does |
|---|---|---|
| ๐ pine-visualizer | Ask conceptual questions, share YouTube videos, say "how would I build" | Breaks down trading ideas into implementable components |
| ๐ป pine-developer | Say "create", "write", "implement", "code" | Writes production-quality Pine Script v6 code |
| ๐ pine-debugger | Say "debug", "fix", "error", "not working" | Adds debugging tools and troubleshoots issues |
| ๐ pine-backtester | Say "backtest", "metrics", "win rate", "performance" | Implements comprehensive testing capabilities |
| โก pine-optimizer | Say "optimize", "faster", "improve", "better UX" | Enhances performance and user experience |
| ๐ฏ pine-manager | Have complex multi-part requests, say "complete trading system" | Orchestrates complex multi-step development |
| ๐ pine-publisher | Say "publish", "release", "documentation" | Prepares scripts for TradingView publication |
You: "Create an RSI indicator"
โ pine-developer skill activates automatically
You: "My script has errors"
โ pine-debugger skill activates automatically
You: "How would I build a mean reversion strategy?"
โ pine-visualizer skill activates automatically
You: "Build a complete trading system with backtesting"
โ pine-manager skill orchestrates multiple skills
pinescript-agents/
โโโ .claude/
โ โโโ skills/ # AI skill configurations (SKILL.md files)
โ โโโ commands/ # Slash commands (start, create, video, etc.)
โ โโโ hooks/ # System hooks for commands
โโโ docs/
โ โโโ docs/ # User guide (concepts, language, FAQ, errors)
โ โโโ manual/ # Complete Pine Script v6 reference
โ โโโ server/ # MCP documentation server
โโโ templates/ # Ready-to-use templates
โ โโโ indicators/ # Indicator templates
โ โโโ strategies/ # Strategy templates
โ โโโ utilities/ # Helper functions
โโโ projects/ # Your Pine Script projects
โโโ examples/ # Example scripts
โโโ tools/ # Utility scripts
โโโ CLAUDE.md # Claude Code instructions
โโโ CHANGELOG.md # Version history
Just type these single words in Claude chat:
start - Launch interactive setup guidehelp - Show available commandsstatus - Show system status and available skillsexamples - List all example scriptstemplates - Show quick templateslock - Protect system files (only /projects/ writable)unlock - Allow all file modificationsYou: Analyze this video: https://youtube.com/watch?v=...
Claude: [pine-visualizer extracts transcript, identifies components, creates specification]
You: "Create a moving average crossover indicator"
Claude: [pine-developer creates the indicator with proper inputs and alerts]
You: "Build a strategy that combines RSI, MACD, and volume analysis with proper risk management"
Claude: [pine-manager coordinates multiple skills for complete implementation]
You: "My script is repainting, help me fix it"
Claude: [pine-debugger identifies and fixes repainting issues]
You: "Make my script load faster"
Claude: [pine-optimizer improves calculation efficiency]
You: "Prepare my script for TradingView publication"
Claude: [pine-publisher adds documentation and ensures compliance]
No need for complex commands! Just talk to Claude naturally:
start, help, status, examplesSkills activate automatically based on what you're trying to accomplish.
/projects/| Command | What Happens |
|---|---|
"Create indicator" | pine-developer activates for implementation |
"Create strategy" | pine-developer activates with strategy focus |
"Debug my script" | pine-debugger activates for troubleshooting |
"Add backtesting" | pine-backtester adds performance metrics |
"Optimize performance" | pine-optimizer improves efficiency |
"Prepare for publishing" | pine-publisher adds documentation |
"Build complete system" | pine-manager orchestrates full workflow |
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - feel free to use this project for any purpose.
For issues, questions, or suggestions:
Ready to create professional Pine Scripts? Open this project in Claude Code and start building!
pinescript is a Claude Code plugin with 12 hand-picked skills, indexed on Flowy in the Finance category. Install it with the command on its page. It includes pine-backtester, pine-debugger, pine-developer. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it