Agent skill

Pine Optimizer

by TradersPost in TradersPost/pinescript-agents

Optimizes Pine Script for performance and user experience. An agent skill from TradersPost/pinescript-agents.

No licenceAuto-check passedFrontend & Design

Install Pine Optimizer

skills CLI
$ npx skills add TradersPost/pinescript-agents --skill pine-optimizer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TradersPost/pinescript-agents pine-optimizer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TradersPost/pinescript-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pine-optimizer .claude/skills/pine-optimizer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pine-optimizer
GitHub stars
167
Token cost
~3.9k tokens
SKILL.md length
460 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
None found

At a glance

Optimizes Pine Script for performance and user experience. An agent skill from TradersPost/pinescript-agents.

  • Works in 8 steps: Calculation Caching → Security Call Optimization → Loop Optimization (Use for...in) → …
  • Improving speed
  • SKILL.md covers Pine Script v6 2025…, ⚠️ CRITICAL: UDT-First Code…, Core Optimization Areas and User Experience Optimization, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pine Optimizer is an agent skill from TradersPost/pinescript-agents. Optimizes Pine Script for performance and user experience. Use when improving speed, UI organization, or visual appeal.

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering UX design. The repository describes itself as: Claude Code toolset for developing TradingView pine scripts.

When your agent uses it

  • Improving speed
  • UI organization

Example prompts

  • “Use the pine-optimizer skill to optimiz Pine Script for performance and user experience. An agent skill from TradersPost/pinescript-agents”
  • “/pine-optimizer”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Grep, Glob

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Calculation Caching
  2. Security Call Optimization
  3. Loop Optimization (Use for...in)
  4. Conditional Logic Optimization
  5. Input Organization with Active Parameter
  6. Professional Color Schemes
  7. Responsive Plot Styling with Line Styles
  8. Smart Alert Messages

What it can do on your machine

Read from SKILL.md and the folder at commit ebc382f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are pinescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pine Optimizer loads about 3.9k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 460 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 460 words (~3,907 tokens).

“Specialized in enhancing script performance, user experience, and visual presentation on TradingView.”

— opening of SKILL.md by TradersPost
name
pine-optimizer
allowed-tools
Read, Edit, Grep, Glob

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/pine-optimizer of TradersPost/pinescript-agents.

Open the folder on GitHubat commit ebc382f

Compare with similar skills

Pine Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pine Optimizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pine Optimizer this skillTradersPost/pinescript-agents167—~3.9kAutomated safety check: PassNone
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Interface Design for Dashboards and Appsholaboss-ai/holaOS11k3 repos~6kAutomated safety check: PassMIT
Animategrowupanand/ConvoForm1016 repos~1.9kAutomated safety check: PassApache-2.0
Migrate Content Iadocker/docs4.7k—~5.1kAutomated safety check: PassApache-2.0
UX WalkthroughXiaoMi/hiui877—~1.3kAutomated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Pushes an agent past generic defaults when designing dashboards, admin panels, SaaS apps and tools, with attention to structure, type, navigation and how data is shown.

    11k GitHub starsUsed in 3 repos~6k tokens
    Frontend & DesignAuto-check passed
  • Animate

    growupanand/ConvoForm

    Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.

    101 GitHub starsUsed in 6 repos~1.9k tokens
    Frontend & DesignAuto-check passed
  • Official

    Handle Hugo docs information-architecture moves: discover old vs new URLs, add front matter aliases (Phase 1), update in-repo links (Phase 2), interactive List 2 resolution and fragment validation…

    4.7k GitHub stars~5.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • UX Walkthrough

    XiaoMi/hiui

    体验走查 skill。适用于代码库、URL、截图三种输入,输出结构化体验问题报告,并同步生成本地 docx 报告。触发词:体验走查、UX review、交互走查、界面审查、体验问题。

    877 GitHub stars~1.3k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Color Audit

    rome-os/rome

    Audit a design system's color palette against measurable color-science disciplines — WCAG/APCA contrast of declared token pairs, perceptual (OKLCH) ramp uniformity, color-blindness safety of…

    717 GitHub stars~2.7k tokensUpdated today
    Frontend & DesignAuto-check passed

More from TradersPost/pinescript-agents

All 11 skills in this repo
  • Pine Backtester

    TradersPost/pinescript-agents

    Implements comprehensive backtesting and performance metrics.

    167 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed
  • Pine Developer

    TradersPost/pinescript-agents

    Writes production-quality Pine Script v6 code following TradingView guidelines and best practices.

    167 GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Pine Visualizer

    TradersPost/pinescript-agents

    Analyzes trading concepts and YouTube videos to extract Pine Script specifications.

    167 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check: warnings
  • Pine Debugger

    TradersPost/pinescript-agents

    Troubleshoots Pine Script issues and adds debugging capabilities.

    167 GitHub stars~4.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Pine Developer

    TradersPost/pinescript-agents

    Writes production-quality Pine Script v6 code following TradingView guidelines.

    167 GitHub stars~4.3k tokensUpdated 2 mo ago
    Auto-check: notes
  • Pine Manager

    TradersPost/pinescript-agents

    Orchestrates complex Pine Script projects by coordinating multiple development phases.

    167 GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Pine Optimizer

What does Pine Optimizer do?

Optimizes Pine Script for performance and user experience. An agent skill from TradersPost/pinescript-agents. Pine Optimizer is an agent skill from TradersPost/pinescript-agents. Optimizes Pine Script for performance and user experience.

When should I use Pine Optimizer?

Pine Optimizer fits situations like: improving speed; UI organization.

How do I install Pine Optimizer in Claude Code?

Run `npx skills add TradersPost/pinescript-agents --skill pine-optimizer -a claude-code`. Or copy the skill folder (skills/pine-optimizer in TradersPost/pinescript-agents) into .claude/skills/pine-optimizer in your project. Claude Code loads it when a task matches its description.

How do I install Pine Optimizer in Codex?

Run `npx skills add TradersPost/pinescript-agents --skill pine-optimizer -a codex`. Or copy the skill folder (skills/pine-optimizer in TradersPost/pinescript-agents) into .agents/skills/pine-optimizer in your project. Codex loads it when a task matches its description.

Can I use Pine Optimizer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TradersPost/pinescript-agents --skill pine-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pine-optimizer, .gemini/skills/pine-optimizer, .github/skills/pine-optimizer and .opencode/skills/pine-optimizer in your project.

What does Pine Optimizer need to run?

SKILL.md names no scripts, command-line tools or credentials: Pine Optimizer is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Grep, Glob.

Does Pine Optimizer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pine Optimizer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pine Optimizer use?

No licence was found for Pine Optimizer or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pine Optimizer use?

About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pine Optimizer?

Skills that share tags, products or a category with Pine Optimizer: Impeccable (bestofjs/bestofjs, 3.1k stars), Interface Design for Dashboards and Apps (holaboss-ai/holaOS, 11k stars), Animate (growupanand/ConvoForm, 101 stars) and Migrate Content Ia (docker/docs, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pine Optimizer?

TradersPost (a GitHub organization) maintains it in TradersPost/pinescript-agents, which has 167 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on July 23, 2026.

Source: TradersPost/pinescript-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.