Skip to content
Back to search

pinescript-agents

SkillWorks with Claude CodeGitHub

Claude Code toolset for developing TradingView pine scripts.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/traderspost--pinescript-agents/badge.svg)](/listings/traderspost--pinescript-agents)

HTML

<a href="/listings/traderspost--pinescript-agents"><img src="/api/listings/traderspost--pinescript-agents/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. **Clone the repository**

   git clone https://github.com/TradersPost/pinescript-agents.git
   cd pinescript-agents

2. **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

3. **Open in your IDE with Claude Code**

   # VS Code with Claude extension
   code .

   # Or use Claude Code CLI
   claude

4. **Just type "start" in Claude chat**

   start

This launches an interactive guide that helps you: - Create custom scripts - Analyze YouTube videos - Choose from templates - Understand system capabilities

5. **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 commands - `examples` - List example scripts - `templates` - Show quick templates - `status` - Show system status and available skills

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 273 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Pine Script Development Assistant for Claude Code
  2. 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.
  3. **Just type `start` to begin!**
  4. ## 🚀 Quick Start
  5. 1. **Clone the repository**
  6. ```bash
  7. git clone https://github.com/TradersPost/pinescript-agents.git
  8. cd pinescript-agents
  9. ```
  10. 2. **Install dependencies** (for YouTube video analysis)
  11. ```bash
  12. pip install -r requirements.txt
  13. # Also need FFmpeg for audio processing (optional, for Whisper fallback)
  14. # macOS: brew install ffmpeg
  15. # Ubuntu: sudo apt install ffmpeg
  16. ```
  17. 3. **Open in your IDE with Claude Code**
  18. ```bash
  19. # VS Code with Claude extension
  20. code .
  21. # Or use Claude Code CLI
  22. claude
  23. ```
  24. 4. **Just type "start" in Claude chat**
  25. ```
  26. start
  27. ```
  28. This launches an interactive guide that helps you:
  29. - Create custom scripts
  30. - Analyze YouTube videos
  31. - Choose from templates
  32. - Understand system capabilities
  33. 5. **Or jump straight to creating**
  34. ```
  35. Create an RSI divergence indicator with alerts
  36. Build a mean reversion strategy using Bollinger Bands
  37. Analyze this video: https://youtube.com/watch?v=...
  38. ```
  39. **Other helpful commands:**
  40. - `help` - Show all available commands
  41. - `examples` - List example scripts
  42. - `templates` - Show quick templates
  43. - `status` - Show system status and available skills
  44. ## 🎯 Specialized AI Skills
  45. This project uses Claude Code's **Skills system** - specialized capabilities that **automatically activate** based on your request. No explicit commands needed!
  46. ### How Skills Work
  47. 1. **Automatic Discovery**: Skills are loaded when you open the project
  48. 2. **Context-Based Activation**: Claude reads your request and activates the appropriate skill
  49. 3. **Seamless Integration**: Skills feel like natural capabilities, not separate tools
  50. ### Available Skills
  51. | Skill | Activates When You... | What It Does |
  52. |-------|----------------------|--------------|
  53. | 📊 **pine-visualizer** | Ask conceptual questions, share YouTube videos, say "how would I build" | Breaks down trading ideas into implementable components |
  54. | 💻 **pine-developer** | Say "create", "write", "implement", "code" | Writes production-quality Pine Script v6 code |
  55. | 🐛 **pine-debugger** | Say "debug", "fix", "error", "not working" | Adds debugging tools and troubleshoots issues |
  56. | 📈 **pine-backtester** | Say "backtest", "metrics", "win rate", "performance" | Implements comprehensive testing capabilities |
  57. | ⚡ **pine-optimizer** | Say "optimize", "faster", "improve", "better UX" | Enhances performance and user experience |
  58. | 🎯 **pine-manager** | Have complex multi-part requests, say "complete trading system" | Orchestrates complex multi-step development |
  59. | 📝 **pine-publisher** | Say "publish", "release", "documentation" | Prepares scripts for TradingView publication |
  60. ### Skill Activation Examples
  61. ```
  62. You: "Create an RSI indicator"
  63. → pine-developer skill activates automatically
  64. You: "My script has errors"
  65. → pine-debugger skill activates automatically
  66. You: "How would I build a mean reversion strategy?"
  67. → pine-visualizer skill activates automatically
  68. You: "Build a complete trading system with backtesting"
  69. → pine-manager skill orchestrates multiple skills
  70. ```
  71. ## 📁 Project Structure
  72. ```
  73. pinescript-agents/
  74. ├── .claude/
  75. │ ├── skills/ # AI skill configurations (SKILL.md files)
  76. │ ├── commands/ # Slash commands (start, create, video, etc.)
  77. │ └── hooks/ # System hooks for commands
  78. ├── docs/
  79. │ ├── docs/ # User guide (concepts, language, FAQ, errors)
  80. │ ├── manual/ # Complete Pine Script v6 reference
  81. │ └── server/ # MCP documentation server
  82. ├── templates/ # Ready-to-use templates
  83. │ ├── indicators/ # Indicator templates
  84. │ ├── strategies/ # Strategy templates
  85. │ └── utilities/ # Helper functions
  86. ├── projects/ # Your Pine Script projects
  87. ├── examples/ # Example scripts
  88. ├── tools/ # Utility scripts
  89. ├── CLAUDE.md # Claude Code instructions
  90. └── CHANGELOG.md # Version history
  91. ```
  92. ## 💡 Usage Examples
  93. ### Quick Commands
  94. Just type these single words in Claude chat:
  95. - `start` - Launch interactive setup guide
  96. - `help` - Show available commands
  97. - `status` - Show system status and available skills
  98. - `examples` - List all example scripts
  99. - `templates` - Show quick templates
  100. - `lock` - Protect system files (only `/projects/` writable)
  101. - `unlock` - Allow all file modifications
  102. ### Analyze a YouTube Video
  103. ```
  104. You: Analyze this video: https://youtube.com/watch?v=...
  105. Claude: [pine-visualizer extracts transcript, identifies components, creates specification]
  106. ```
  107. ### Create a Simple Indicator
  108. ```
  109. You: "Create a moving average crossover indicator"
  110. Claude: [pine-developer creates the indicator with proper inputs and alerts]
  111. ```
  112. ### Build a Complex Strategy
  113. ```
  114. You: "Build a strategy that combines RSI, MACD, and volume analysis with proper risk management"
  115. Claude: [pine-manager coordinates multiple skills for complete implementation]
  116. ```
  117. ### Debug Existing Code
  118. ```
  119. You: "My script is repainting, help me fix it"
  120. Claude: [pine-debugger identifies and fixes repainting issues]
  121. ```
  122. ### Optimize Performance
  123. ```
  124. You: "Make my script load faster"
  125. Claude: [pine-optimizer improves calculation efficiency]
  126. ```
  127. ### Prepare for Publishing
  128. ```
  129. You: "Prepare my script for TradingView publication"
  130. Claude: [pine-publisher adds documentation and ensures compliance]
  131. ```
  132. ## 📚 Available Templates
  133. ### Indicators
  134. - **RSI Divergence** — RSI with bullish/bearish divergence detection
  135. - **Multi-Timeframe** — Multi-timeframe analysis indicator
  136. - **Support & Resistance** — Key level identification
  137. - **VWAP Bands** — VWAP with standard deviation bands
  138. - **RSI Basic** — Simple RSI momentum indicator
  139. ### Strategies
  140. - **Breakout** — Range breakout entry system
  141. - **Mean Reversion** — Oversold/overbought reversal system
  142. - **Momentum** — Momentum-based entry strategy
  143. - **MA Cross** — Moving average crossover strategy
  144. ### Utilities
  145. - **Debug Panel** — Label and table debugging tools
  146. - **Risk Manager** — Position sizing and stop losses
  147. - **Session Filter** — Trading session time filters
  148. ## 🗣️ Natural Language Interface
  149. No need for complex commands! Just talk to Claude naturally:
  150. - **Simple words trigger actions**: Type `start`, `help`, `status`, `examples`
  151. - **Describe what you want**: "Create a strategy that buys on RSI oversold"
  152. - **Share videos**: "Analyze this YouTube video: [URL]"
  153. - **Ask for help**: "What can you do?" or "Show me examples"
  154. Skills activate automatically based on what you're trying to accomplish.
  155. ## 🎯 Key Features
  156. - **Pine Script v6 Support**: Full compatibility with latest Pine Script version
  157. - **Intelligent Workflow**: Automatic skill activation based on task context
  158. - **Template Library**: Pre-built components for rapid development
  159. - **Debug Tools**: Built-in debugging capabilities
  160. - **Performance Metrics**: Comprehensive backtesting statistics
  161. - **Publication Ready**: Scripts prepared for TradingView community
  162. - **File Protection**: Lock system files while developing in `/projects/`
  163. ## 🛠️ Development Workflow
  164. 1. **Describe Your Idea**: Tell Claude what you want to create
  165. 2. **Automatic Planning**: Skills break down requirements
  166. 3. **Implementation**: Code is written following best practices
  167. 4. **Testing**: Debug tools and backtesting added
  168. 5. **Optimization**: Performance and UX enhanced
  169. 6. **Delivery**: Complete, production-ready script
  170. ## 📋 Best Practices
  171. - Always test scripts on multiple timeframes
  172. - Include proper error handling
  173. - Add tooltips to all inputs
  174. - Document complex logic
  175. - Avoid repainting issues
  176. - Optimize for performance
  177. - Follow TradingView guidelines
  178. ## 🚨 Common Commands
  179. | Command | What Happens |
  180. |---------|--------------|
  181. | `"Create indicator"` | pine-developer activates for implementation |
  182. | `"Create strategy"` | pine-developer activates with strategy focus |
  183. | `"Debug my script"` | pine-debugger activates for troubleshooting |
  184. | `"Add backtesting"` | pine-backtester adds performance metrics |
  185. | `"Optimize performance"` | pine-optimizer improves efficiency |
  186. | `"Prepare for publishing"` | pine-publisher adds documentation |
  187. | `"Build complete system"` | pine-manager orchestrates full workflow |
  188. ## 📖 Documentation
  189. - [Pine Script v6 Reference](docs/manual/pinescriptv6_complete_reference.md)
  190. - [User Guide](docs/docs/index.md)
  191. - [Skill Documentation](.claude/skills/)
  192. - [Changelog](CHANGELOG.md)
  193. ## 🤝 Contributing
  194. Contributions are welcome! Please feel free to submit a Pull Request.
  195. 1. Fork the repository
  196. 2. Create your feature branch
  197. 3. Add new templates or improve skills
  198. 4. Submit a pull request
  199. ## 📄 License
  200. MIT License - feel free to use this project for any purpose.
  201. ## 🙏 Acknowledgments
  202. - Built for use with [Claude Code](https://claude.ai/code)
  203. - Powered by Claude Code's Skills system
  204. - Designed for [TradingView](https://www.tradingview.com) Pine Script v6
  205. - Community contributions and feedback
  206. ## 💬 Support
  207. For issues, questions, or suggestions:
  208. - Open an issue on GitHub
  209. - Check existing documentation
  210. - Review example scripts
  211. ---
  212. **Ready to create professional Pine Scripts?** Open this project in Claude Code and start building!

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.