pine-script-agent-kit

pine-script-agent-kit is a cursor rule for Windsurf from trugurpala/pinescriptv6. It costs 0 tokens per session (139 once invoked), scanned A, original, MIT.

A set of workspace rules for Pine Script, the programming language used on TradingView charts and strategies. It points to project records as the source for Pine-related claims and labels local checks as structural only.

In plain words
What is it for?
Use it when working on Pine Script indicators, strategies, libraries, migrations, or reviews. It guides evidence handling and limits what local results can claim.
Why use it?
It helps prevent local checks from being mistaken for proof that TradingView code compiles, behaves correctly at runtime, avoids repainting, delivers alerts, or is profitable.

Cursor rule for Windsurf

Written for Windsurf: installed under .windsurf/. Also seen: mentions AGENTS.md.

Good fit Use it when working on Pine Script indicators, strategies, libraries, migrations, or reviews. It guides evidence handling and limits what local results can claim.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/trugurpala/pinescriptv6/pine-script-agent-kit
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.

Clone the repo
git clone --depth 1 https://github.com/trugurpala/pinescriptv6

Made for: Windsurf.

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 pine-script-agent-kit

README.md
[![agentmods](https://agentmods.dev/badge/rules/trugurpala/pinescriptv6/pine-script-agent-kit/github.svg)](https://agentmods.dev/rules/trugurpala/pinescriptv6/pine-script-agent-kit)
Your own site
<a href="https://agentmods.dev/rules/trugurpala/pinescriptv6/pine-script-agent-kit"><img src="https://agentmods.dev/badge/rules/trugurpala/pinescriptv6/pine-script-agent-kit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pine-script-agent-kit

Your own site · 80×15
<a href="https://agentmods.dev/rules/trugurpala/pinescriptv6/pine-script-agent-kit"><img src="https://agentmods.dev/badge/rules/trugurpala/pinescriptv6/pine-script-agent-kit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 139 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00139
Opus 5.5 $0.00000 $0.00056
Sonnet 5.5 $0.00000 $0.00028
Haiku 4.5 $0.00000 $0.00014

Measured 28d ago against content hash 000926aececc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pine-script-agent-kit 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 28d 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.

.windsurf/rules/pine-script-agent-kit.md · 16 lines

What it actually says

Pine Script Agent Kit for Windsurf

This file is a fallback workspace-rule bridge. Use the repository-root AGENTS.md as the primary project instruction surface for Pine Script work. Canonical Pine claims and source records remain in knowledge/catalog.json and knowledge/sources.json.

Label local static results structural-only. Local checks do not establish TradingView compilation or runtime behavior, repaint behavior, alert delivery, market data, security, profitability, or production readiness.

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. 28d ago First seen · 16 lines · 0 tokens per session scan A 000926aececc

Subscribe to this mod's changes

pine-script-agent-kit is a cursor rule published in the GitHub repository trugurpala/pinescriptv6 (4 stars, last pushed 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 139 tokens. 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-11-01.

Related

pine-script-agent-kit compared with cursor rules from other repositories

pine-script-agent-kit next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pine-script-agent-kittrugurpala/pinescriptv6Cursor rule429d agoMITA0Windsurf
production-codeloiane/specs-driven-development-spring-angularCursor rule6622d agoMITA0Windsurf
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor