Skip to content

ShayantoDutta/tradingview-session-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

TradingView Session Skill

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.

Overview

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.

Tech Stack

  • 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.json knowledge base loaded on demand by the /trader_skill slash command

Features

  • Single-trigger session boottv_start runs health check → launch fallback → knowledge-base verification → status report
  • Self-healing launch — if the MCP tv_launch fails, 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_skill pulls rules.json into context for chart analysis, F&O setups, and options strategy questions

Getting Started

Prerequisites

  • Claude Code installed and configured
  • A running TradingView MCP server on the local machine
  • TradingView Desktop installed
  • A rules.json knowledge base file

Installation

git clone https://github.com/SayantoDutta/tradingview-session-skill.git ~/.claude/skills/tradingview-session

Or copy SKILL.md into the skills directory manually:

~/.claude/skills/tradingview-session/SKILL.md

Configuration

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)

Running

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.

Status

Active. Used daily on Indian-market sessions. Paths are operator-specific — edit SKILL.md once per machine.

About

Claude Code skill that boots a TradingView desktop session, runs a health check, and reports a one-line status.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors