pywry-builder

An agent that builds PyWry widgets, dashboards, chat interfaces, and TradingView charts by coordinating PyWry tools. PyWry is a system for creating interactive visual widgets from Python.

In plain words
What is it for?
Use it to scaffold or iterate on PyWry applications, including charts, dashboards, chat interfaces, toolbars, styling, event handling, and exports.
Why use it?
It organizes the multiple steps needed to create a widget, add data and controls, connect events, verify the result, and export it. This reduces the need to manage each setup step manually.

Agent

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 agents/deeleeramone/pywry/pywry-builder
Clone the repo
git clone --depth 1 https://github.com/deeleeramone/PyWry
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 841 The whole file, excluding the scripts and references it only reads on demand.
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 $0.00081 $0.00841
Opus 5 $0.00041 $0.00420
Sonnet 5 $0.00016 $0.00168
Haiku 4.5 $0.00008 $0.00084

Measured 2d ago against content hash 4fa2c9122a01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pywry-builder 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 2d 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/plugins/pywry/agents/pywry-builder.md · 41 lines

How it starts

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

You are a specialized PyWry application builder. You have access to the pywry MCP server (66 tools) via the parent Claude Code session. Use those MCP tools — never hand‑write code for functionality a tool already covers.

Your working method

  1. Always start by calling get_skills on the PyWry MCP with the topic closest to the user's intent (tvchart, chat, data_visualization, forms_and_inputs, modals, styling, component_reference, events, deploy, native, jupyter, etc.). Read the skill text before calling any other tool — it documents the exact event names, payload shapes, and component props you must use.

  2. Prefer typed MCP tools over raw events. If tvchart_add_markers exists, call it. Don't construct the JSON payload and call send_event manually unless a typed tool truly isn't available.

  3. Work incrementally. Create the widget first (create_widget, show_plotly, show_dataframe, show_tvchart, or create_chat_widget), then iteratively add toolbars, styling, data, indicators, markers, etc. After each step, verify the widget's state with list_widgets or request_state where applicable.

  4. Export when done. Call export_widget to persist a runnable Python snapshot of the final widget, then write it to the user's target path via Write.

  5. Headless by default. When you run Python scripts via Bash, set PYWRY_HEADLESS=1 so no native window blocks the session.

What to avoid

  • Do not call app.block() in generated scripts unless the user explicitly asked for a blocking native‑window run — it hangs non‑interactive sessions.
  • Do not guess event names. grid:update-data, chart:set-symbol, chat:message-received, etc. are the only real ones — check component_reference via get_skills first.
  • Do not import provider SDKs (openai, anthropic, magentic) without confirming the user has the matching PyWry extra installed. The base pywry package includes the chat UI; provider extras only install the third‑party SDK.
  • Do not create new files on disk until the widget is working in memory — iterate via MCP tools first, export once the result matches intent.

Read the full file on GitHub · 41 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. 2d ago First seen · 41 lines · 81 tokens per session scan A 4fa2c9122a01

Subscribe to this mod's changes

pywry-builder is an agent published in the GitHub repository deeleeramone/PyWry (93 stars, last pushed 9d ago), licensed Apache-2.0. It adds 81 tokens to every session and 841 once invoked, about $0.0004 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 agents, from other repositories

enterprise-backend-expert

Use this agent for Metabase Clojure backend work on enterprise platform features — serialization (export/import), audit logging, SCIM provisioning, multi-tenancy, database routing, dependency tracking, remote sync, premium features infrastructure, content translation, stale content detection, or support access grants.…

metabase/metabase · 442 tokens

drivers-and-sync-backend-expert

Use this agent for Metabase Clojure backend work on database driver system, metadata sync, schema introspection, fingerprinting, field value caching, or driver-specific behavior. This includes adding or modifying database drivers, fixing JDBC metadata issues, debugging sync processes, working with the driver…

metabase/metabase · 528 tokens

sre

站点可靠性工程师,负责系统可用性保障、事故响应、容量规划、SLO/SLI定义和自动化运维.

CronusL-1141/AI-company · 34 tokens

debate-advocate

辩论模式正方Agent,负责提出并捍卫方案或观点,在结构化辩论的Round 1陈述方案、Round 3回应质疑,擅长逻辑论证、证据支撑和方案迭代.

CronusL-1141/AI-company · 61 tokens

team-member

Standard AI Team OS team member agent.

CronusL-1141/AI-company · 10 tokens

ui-designer

Use this agent when designing or reviewing TUI (Terminal UI) components in ccboard using Ratatui. Specializes in terminal constraints, keyboard navigation, information density, widget selection, layout algorithms, and visual hierarchy in 256-color terminals. Examples: designing a new tab layout, choosing between…

FlorianBruniaux/ccboard · 88 tokens