tradingview CLAUDE.md

tradingview CLAUDE.md is an instructions file for coding agents from iamrichardD/tradingview. It costs 3,635 tokens per session, scanned A, original, Apache-2.0.

Repository-specific instructions for developing Pine Script version 6 trading strategies in TradingView. Pine Script is TradingView’s language for writing chart indicators and trading strategies.

In plain words
What is it for?
It is for working on the repository’s trading strategies, tests, documentation, and coordination with its defined agent roles.
Why use it?
It gives coding agents the repository context and required collaboration process for this project.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/iamrichardd/tradingview/claude-md
Clone the repo
git clone --depth 1 https://github.com/iamrichardD/tradingview

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tradingview CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/iamrichardd/tradingview/claude-md.svg)](https://agentmods.dev/instructions/iamrichardd/tradingview/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/iamrichardd/tradingview/claude-md"><img src="https://agentmods.dev/badge/instructions/iamrichardd/tradingview/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,635 This file is loaded in full into every session.
When invoked 3,635 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03635 $0.03635
Opus 5 $0.01818 $0.01818
Sonnet 5 $0.00727 $0.00727
Haiku 4.5 $0.00364 $0.00364

Measured 5d ago against content hash 4f73d44e1fa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

tradingview CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 357 lines

How it starts

The opening of the file, as written. The whole thing — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository as part of a comprehensive 12-agent institutional ecosystem for Pine Script v6 development.

Repository Overview

This is a TradingView trading strategies repository focused on Pine Script v6 development operating within a 12-agent institutional ecosystem. It contains educational trading strategies with comprehensive testing frameworks, primarily for cryptocurrency and forex markets. The repository emphasizes institutional-grade code quality, professional testing methodologies, and experimental strategy development through coordinated multi-agent collaboration.

12-Agent Institutional Ecosystem Integration

Strategic Management Tier (MANDATORY FIRST CONSULTATION)

The strategic management tier provides institutional oversight and coordination for all development activities:

Primary Strategic Agents:

  • Context Manager (Fletcher): Repository knowledge management, project context coordination, strategic documentation oversight
  • Project Manager (Seldon): Epic breakdown, milestone planning, quality gate management, institutional delivery coordination
  • Agile Coach (Herbie): Workflow facilitation, impediment removal, process optimization, team velocity management

Strategic Consultation Protocol:

ALL DEVELOPMENT WORKFLOWS MUST BEGIN WITH:
Context Manager → Project Manager → Agile Coach → [Specialized Agents]

NO direct specialized agent engagement without strategic tier approval

Specialized Implementation Agents

Technical Development Specialists:

  • PineScript Specialist (Bjarne): Pine Script v6 syntax, compilation, TradingView platform integration
  • Code Quality Auditor (Margaret): Code review, quality standards, architectural compliance
  • Dynamic Risk Management (Nassim): Risk assessment, position sizing, drawdown protection
  • Look-Ahead Bias Detection (Andrew): Backtesting validity, temporal data integrity, statistical rigor

Read the full file on GitHub · 357 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 357 lines · 3,635 tokens per session scan A 4f73d44e1fa8

Subscribe to this mod's changes

tradingview CLAUDE.md is an instructions file published in the GitHub repository iamrichardD/tradingview (58 stars, last pushed 1y ago), licensed Apache-2.0. It adds 3,635 tokens to every session, about $0.0182 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories