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.
npx agentmods add skills/paulieb89/pinescript-mcp/pine-validatenpx skills add paulieb89/pinescript-mcp --skill pine-validategit clone --depth 1 https://github.com/paulieb89/pinescript-mcpWrote 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.
[](https://agentmods.dev/skills/paulieb89/pinescript-mcp/pine-validate)<a href="https://agentmods.dev/skills/paulieb89/pinescript-mcp/pine-validate"><img src="https://agentmods.dev/badge/skills/paulieb89/pinescript-mcp/pine-validate.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00171 | $0.01803 |
| Opus 5 | $0.00086 | $0.00901 |
| Sonnet 5 | $0.00034 | $0.00361 |
| Haiku 4.5 | $0.00017 | $0.00180 |
Grade A, and why
pine-validate 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pine-validate
Validate Pine Script v6 function references against the v6 allowlist. The
authoritative source of truth is the validate_function MCP tool on the
pinescript server. Never assert a function is valid from memory — always
check via the tool.
When to activate
- The user pastes a Pine Script snippet and asks "does this compile?", "is this valid Pine v6?", "check this for errors", or similar.
- The user asks about a single function: "is
ta.adxvalid?", "doessecurity()exist in v6?", "what replacedstudy()?". - The user asks to audit a script for hallucinated, renamed, or v5-era function references before running on TradingView.
Do not activate for general Pine Script authoring requests — that is the
pine skill's job. This skill is read-only validation.
Workflow (mandatory, in order)
Step 1: Parse the input and extract function references
From the user's input, extract every distinct function reference. A function reference is anything that looks like a call site:
<namespace>.<func>(— namespaced calls liketa.rsi(,strategy.entry(,request.security(,math.sum(.<func>(— top-level calls likeplot(,indicator(,input(.
Apply these filters when extracting:
- Ignore comments. Pine comments start with
//. Skip anything after//on a line. - Ignore string literals. Anything inside
"..."or'...'is not a call. - Ignore definitions. Skip user-defined function definitions of the form
myFunc(...) =>— those are declarations, not calls against the allowlist. - Deduplicate. Validate each unique name once, even if it appears many times in the snippet.
If the user provided only a bare function name (e.g. "is ta.adx valid?"),
treat that as a single reference to validate.
Step 2: Validate each reference via validate_function
For each unique function name extracted, call the MCP tool:
validate_function(fn_name="<name>")
The tool returns a ValidationResult object with:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 172 lines · 171 tokens per session scan A 73c76265a75c
pine-validate is a skill published in the GitHub repository paulieb89/pinescript-mcp (9 stars, last pushed 7d ago), licensed MIT. It adds 171 tokens to every session and 1,803 once invoked, about $0.0009 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-31.
Other skills, from other repositories
add-data-source
Use when adding a new external data source (API, scraper, etc.) to propertycore. Walks through the complete 6-step process with patterns from existing implementations.
add-mcp-tool
Use when adding a new MCP tool to the property MCP server (mcpserver/server.py). Provides the exact pattern with a copy-paste template.
add-endpoint
Use when adding a new API endpoint to app/api/v1/. Covers router creation, registration, and response patterns.
property-report
UK property analysis: comparable sales, EPC ratings, rental yields, stamp duty, market context. Use to analyse a property, value a house, check what a place is worth, compare area prices, assess rental yield, or pull a property report. Trigger on any request involving a specific UK address or postcode where the user…
property-search
UK property deal sourcing and investment screening. Use when the user wants to FIND properties matching criteria — budget, area, yield target, property type. Triggers on searching and browsing intent: "find me", "source deals", "what's available in", "looking for BTLs", "search for properties under £X", "show me flats…
design-trends-2026
Apply 2026's top graphic design trends to any creative brief. Based on Kittl × Savee's 2026 Design Trends Report (10 trends + 2 honorable mentions), backed by Adobe, Figma, and Pinterest data. Use when: Designing a brand identity — pick the right aesthetic for your audience; Creating social media assets — use trending…