A Claude Code skill that boots a full TradingView desktop trading session — launch, health check, knowledge-base verification, and a one-line status reply — from a single tv_start trigger.
I built this skill to remove the per-session ceremony of launching TradingView, attaching the Chrome DevTools Protocol port, and confirming my market rules file is loaded before I start trading. Typing tv_start runs the entire boot sequence end-to-end and replies with a six-line status block, so I know in one glance whether the session is ready or what the issue is.
- Claude Code skill (Markdown front-matter + procedural body)
- TradingView Desktop with Chrome DevTools Protocol (
--remote-debugging-port=9222) - A companion TradingView MCP server that exposes
tv_health_check,tv_launch, and chart-analysis tools - A local
rules.jsonknowledge base loaded on demand by the/trader_skillslash command
- Single-trigger session boot —
tv_startruns health check → launch fallback → knowledge-base verification → status report - Self-healing launch — if the MCP
tv_launchfails, falls back to a PowerShell launch with the correct CDP port - Strict status format — replies in a fixed 3-line shape so the operator can read state at a glance
- Knowledge-base loader —
/trader_skillpullsrules.jsoninto context for chart analysis, F&O setups, and options strategy questions
- Claude Code installed and configured
- A running TradingView MCP server on the local machine
- TradingView Desktop installed
- A
rules.jsonknowledge base file
git clone https://github.com/SayantoDutta/tradingview-session-skill.git ~/.claude/skills/tradingview-sessionOr copy SKILL.md into the skills directory manually:
~/.claude/skills/tradingview-session/SKILL.md
Open SKILL.md and edit the Environment table to match your local paths:
- TradingView MCP server install path
- Knowledge base location (
rules.json) - TradingView executable path (Windows uses
C:\Program Files\WindowsApps\TradingView.Desktop_*.exe) - CDP port (default 9222)
In any Claude Code session, type:
tv_start
The skill replies in the format:
TradingView : [CONNECTED — NIFTY | 15m]
Knowledge Base: [READY]
Status : READY TO TRADE
Then use /trader_skill whenever you want chart analysis or F&O setup advice grounded in your rules.json.
Active. Used daily on Indian-market sessions. Paths are operator-specific — edit SKILL.md once per machine.