wiring-vizro-actions

wiring-vizro-actions is a skill for Claude Code, Codex from mckinsey/vizro. It costs 86 tokens per session (1,989 once invoked), scanned A, original, Apache-2.0.

A guide for connecting parts of a Vizro dashboard so that one action affects another. For example, selecting a chart value can filter or highlight other charts, and a button can export filtered data as a CSV file.

In plain words
What is it for?
Use it to add cross-filtering, cross-highlighting, drill-through behavior, or data export to Vizro charts and tables.
Why use it?
It explains how dashboard components communicate through filters or parameters instead of being connected directly. This helps avoid unreliable or unclear interaction code.

Skill for Claude CodeCodex

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

Part of the vizro-e2e-flow plugin — 6 skills shipped together

Good fit Use it to add cross-filtering, cross-highlighting, drill-through behavior, or data export to Vizro charts and tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mckinsey/vizro/wiring-vizro-actions
About the project

Vizro is an open-source Python toolkit for assembling data visualization applications from low-code configuration. It helps developers create dashboards and multi-page apps from charts, tables, controls, layouts, navigation, and interactions, with optional high-code customization. Catalogue add-ons support working with Vizro projects.

mckinsey/vizro · 3,789 stars · on GitHub · vizro.readthedocs.io

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 mckinsey/vizro --skill wiring-vizro-actions
Clone the repo
git clone --depth 1 https://github.com/mckinsey/vizro

Made for: Claude Code, Codex.

Or install vizro-e2e-flow, the plugin that ships this one along with the rest of its 6 skills.

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 wiring-vizro-actions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mckinsey/vizro/wiring-vizro-actions"><img src="https://agentmods.dev/badge/skills/mckinsey/vizro/wiring-vizro-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 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.00086 $0.01989
Opus 5 $0.00043 $0.00994
Sonnet 5 $0.00017 $0.00398
Haiku 4.5 $0.00009 $0.00199

Measured 12d ago against content hash 6fdcf7b25045, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wiring-vizro-actions 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 12d 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.

vizro-e2e-flow/skills/wiring-vizro-actions/SKILL.md · 168 lines

How it starts

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

Wiring Vizro Actions

Core concept: Source → Control → Target

All advanced interactions follow the same shape:

  1. A source component triggers va.set_control when the user clicks it. Practical sources are vm.Graph and vm.AgGrid — they carry click-data (column values from the clicked point/cell) that can drive a dynamic filter. (vm.Figure/vm.Button/vm.Card technically support set_control too, but only with a hardcoded literal value, so they are not useful for cross-filtering.)
  2. set_control writes a value into an intermediate control (vm.Filter or vm.Parameter) with an explicit id.
  3. The control updates target components. Filter/Parameter targets are data-bearing components: vm.Graph, vm.AgGrid, vm.Figure, vm.Table.

The control is always explicit — you do not connect components directly. This makes interactions composable (you can wire multiple sources to the same control, or one source to multiple controls).

Built-in actions

Action Purpose Trigger
va.export_data() Download all on-page data as CSV (respects filters) vm.Button
va.set_control(control=..., value=...) Set the value of a Filter or Parameter vm.Graph or vm.AgGrid

import vizro.actions as va. Built-in actions are passed directly into actions= — wrapping them in vm.Action raises an error (deliberate: built-ins have their own predefined inputs/outputs and would conflict with vm.Action's).

# Correct
vm.Button(text="Export data", actions=va.export_data())
vm.Graph(actions=va.set_control(control="region_filter", value="y"))

# Wrong — raises an exception
vm.Graph(actions=[vm.Action(function=va.set_control(...))])

Named interaction patterns

Match data shape + user need to a pattern. Full details (when-to-use, wireframes, spec entries, code) in actions-reference.md.

# Pattern When to use Key mechanic
1 Hierarchical Drill-Down (cross-page) 2–3 level hierarchy where detail needs a dedicated page cross-filter + show_in_url=True + back button + export
2 Single-Page Drill-Down (container) 2-level hierarchy where detail fits in a container cross-filter into a container
3 Comparison Spotlight (cross-highlight) Compare one entity against many without removing context custom chart with highlight_X + invisible Parameter
4 Multi-Dimensional Slice 2+ categorical dimensions (e.g. day × time heatmap) actions chain → multiple Filters
5 Data Export Analyst persona needs the filtered data downloaded vm.Button + va.export_data()

Read the full file on GitHub · 168 lines

Files

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.

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. 12d ago First seen · 168 lines · 86 tokens per session scan A 6fdcf7b25045

Subscribe to this mod's changes

wiring-vizro-actions is a skill published in the GitHub repository mckinsey/vizro (3,789 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 1,989 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 skills, from other repositories

developing-with-streamlit

Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…

streamlit/streamlit · 128 tokens

fast-dash

Build a Fast Dash web app from a Python function. Use when the user wants to turn a function into an interactive app, add a UI to an existing function, or build a dashboard / form / wizard. Fast Dash infers UI components from type hints, so a well-typed function becomes an app with one decorator.

dkedar7/fast_dash · 69 tokens

huggingface-gradio

Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.

huggingface/skills · 37 tokens

marimo-pair

Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.

marimo-team/marimo · 57 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, defer capability loading, stream output, define agents…

pydantic/pydantic-ai · 85 tokens

datamodel-code-generator

Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects.…

koxudaxi/datamodel-code-generator · 147 tokens