tvchart

tvchart is a skill for Claude Code, Codex from deeleeramone/PyWry. It costs 33 tokens per session (2,188 once invoked), scanned A, original, Apache-2.0.

A coding-agent guide for controlling a live TradingView Lightweight Charts widget, a web chart used to display financial price data.

In plain words
What is it for?
Use it to inspect or update a chart's symbol, time interval, indicators, markers, price lines, layout and other saved state.
Why use it?
It gives the agent a defined way to read the chart's current state and change its displayed market data and layout.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect or update a chart's symbol, time interval, indicators, markers, price lines, layout and other saved state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deeleeramone/pywry/tvchart
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.

Any agent
npx skills add deeleeramone/PyWry --skill tvchart
Clone the repo
git clone --depth 1 https://github.com/deeleeramone/PyWry

Made for: Claude Code, Codex.

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 tvchart

README.md
[![agentmods](https://agentmods.dev/badge/skills/deeleeramone/pywry/tvchart/github.svg)](https://agentmods.dev/skills/deeleeramone/pywry/tvchart)
Your own site
<a href="https://agentmods.dev/skills/deeleeramone/pywry/tvchart"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/tvchart/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 tvchart

Your own site · 80×15
<a href="https://agentmods.dev/skills/deeleeramone/pywry/tvchart"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/tvchart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,188 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.02188
Opus 5.5 $0.00013 $0.00875
Sonnet 5.5 $0.00007 $0.00438
Haiku 4.5 $0.00003 $0.00219

Measured 1mo ago against content hash e77e4703fe95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tvchart 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 1mo 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.

pywry/pywry/mcp/skills/tvchart/SKILL.md · 245 lines

How it starts

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

TradingView Chart — Agent Reference

Use this when an agent needs to read or mutate a live tvchart widget. Every action is an MCP tool call on the PyWry FastMCP server — there are no local helpers, no side channels, no custom tools. Pick the typed tool that matches the user's intent, pass the required arguments, and quote the tool's return values in your reply.

Every tool takes widget_id

widget_id identifies which chart to operate on. On a single-chart server the framework auto-resolves it from the registry; on a multi-chart server you must pass it explicitly. Read the value from the user's @<name> attachment (the chat prepends --- Attached: <name> ---\nwidget_id: <id>) or call list_widgets() to enumerate.

Reading chart state — always via tvchart_request_state

Never report symbol / interval / indicators / bars / last close from memory. Call the tool, quote the return.

tvchart_request_state(widget_id)
  → {
      "widget_id": "chart",
      "state": {
        "symbol": "AAPL",
        "interval": "1D",
        "series": [{ "seriesId": "main", "bars": [...], ... }],
        "indicators": [...],
        "visibleRange": { "from": ..., "to": ... },
        "chartType": "Candles",
        ...
      }
    }

When the user asks "what's on the chart", "what's the current price", "what indicators are applied", call this and quote from state.

Mutating tools — all confirm the change

Every mutation returns the real post-change state. The model never has to guess whether the change took effect. If the mutation didn't land within the settle window, the tool includes a note field — relay it to the user.

Symbol change

tvchart_symbol_search(widget_id, query, auto_select=True,
                      symbol_type=None, exchange=None)
  → { "widget_id": "chart", "symbol": "MSFT", "state": {...} }

Use this to switch the ticker. auto_select=True commits the selection; auto_select=False just opens the search dialog for the user. The tool polls chart state until the symbol actually changes to the target (up to ~6s) so the return reflects reality.

Read the full file on GitHub · 245 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. 1mo ago First seen · 245 lines · 33 tokens per session scan A e77e4703fe95

Subscribe to this mod's changes

tvchart is a skill published in the GitHub repository deeleeramone/PyWry (98 stars, last pushed 4d ago), licensed Apache-2.0. It adds 33 tokens to every session and 2,188 once invoked, about $0.0001 per session on Opus 5.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 skills, from other repositories

research-stocks

Read current stock research, technical backtests, saved analyses or saved backtests. Use for a named ticker or watchlist research history; preserve source dates, model limitations and risk factors.

koala73/worldmonitor · 41 tokens

compare-macro-history

Compare CPI, interest rates and sovereign yield histories from seeded official reports. Use for inflation or rate trends; preserve country provenance, index base, frequency, yield measure and missing readings.

koala73/worldmonitor · 41 tokens

track-tariff-trends

Retrieve a country's average applied tariff over time — the MFN rate on all products, or the rate it applies on goods from one partner and/or in one product group — plus the optional US effective tariff rate. Use when the user asks how a country's tariffs have changed, or what it charges another country on average.…

koala73/worldmonitor · 85 tokens

lookup-us-import-duty

Look up the current US import duty on one HTS product from one country — the HTS column rate (MFN, trade-agreement or column 2) plus the Section 301 and 232 duties in chapter 99 — from the live USITC Harmonized Tariff Schedule. Use when the user asks what the US charges today on a product from a specific country…

koala73/worldmonitor · 90 tokens

lookup-bilateral-tariff

Look up the applied tariff on one HS6 product imported by one country from another (MFN, partner-specific preferential, and the best available applied rate), from UNCTAD TRAINS via World Bank WITS. Use when the user asks what duty a specific product pays between two specific countries.

koala73/worldmonitor · 66 tokens

get-market-quotes

Retrieve real-time equity, index, and ETF quotes with price, change, and sparkline history. Use when the user asks for current market prices, how a ticker is doing, or a quick market snapshot.

koala73/worldmonitor · 47 tokens