designing-vizro-layouts

designing-vizro-layouts is a skill for Claude Code, Codex from mckinsey/vizro. It costs 58 tokens per session (675 once invoked), scanned A, original, Apache-2.0.

Layout rules for Vizro dashboards, which are interactive data screens built from charts, tables, filters, and summary figures. They specify grid sizes, component dimensions, filter placement, and common layout patterns.

In plain words
What is it for?
Use it to create wireframes, arrange dashboard sections, size charts and tables, place filters, and choose selector or container patterns.
Why use it?
They help prevent crowded charts, uneven cards, misplaced filters, and invalid grid arrangements. The rules give developers concrete dimensions to use when structuring a page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

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

Good fit Use it to create wireframes, arrange dashboard sections, size charts and tables, place filters, and choose selector or container patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mckinsey/vizro/designing-vizro-layouts
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 designing-vizro-layouts
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 designing-vizro-layouts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mckinsey/vizro/designing-vizro-layouts"><img src="https://agentmods.dev/badge/skills/mckinsey/vizro/designing-vizro-layouts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 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.00058 $0.00675
Opus 5 $0.00029 $0.00338
Sonnet 5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00068

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

Security

Grade A, and why

designing-vizro-layouts 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/designing-vizro-layouts/SKILL.md · 48 lines

How it starts

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

Vizro Layout Guidelines

Core Rules

  • Use type: grid (not vm.Layout). Recommended: 12 columns, row_min_height: "140px".
  • Use -1 for empty cells. Every component must form a perfect rectangle in the grid.
  • Place 2–3 charts per row. Full-width only for time-series line charts.
  • Modifying existing layouts: Replicate the original structure and apply only the technical constraints below. See layout-guidelines.md for details.

Component Sizing (12-col grid, 140px rows)

Component Columns Rows Height
KPI Card 2–3 1 140px
Small Chart 4 3 420px
Large Chart 6 4–5 560–700px
Table 12 4–6 560–840px

KPI cards: Place in the page Grid with equal columns and equal rows per card (e.g. 4 cards = 3 cols each). Use -1 for remaining empty cells. See layout-guidelines.md for the full KPI count lookup table and YAML examples. Charts need at least 2–3 rows to avoid looking squeezed.

Filter Placement

  • Page-level (left sidebar): filters shared across multiple components
  • Container-level (above container): filters scoped only to the components inside that container
  • Prefer Filters over Parameters. Do not set targets: by default — all components containing the specified column are automatically affected. Only set targets: when you want to limit which components are affected.

Selectors

Default: Just provide the column name to Filter or Parameter — Vizro auto-selects the appropriate selector based on the data type. Only override when the auto-selected selector doesn't fit:

Data type Selector Example
2–4 options RadioItems Region (N/S/E/W)
5+ options Dropdown Category (many)
Numeric range RangeSlider Price ($0–$1000)
Single number Slider Year (2020–2025)
Date DatePicker Order date
Multi-select Checklist Status (Active, etc.)

Read the full file on GitHub · 48 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 · 48 lines · 58 tokens per session scan A c6c873d6f5fb

Subscribe to this mod's changes

designing-vizro-layouts is a skill published in the GitHub repository mckinsey/vizro (3,789 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 675 once invoked, about $0.0003 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

chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/skills · 31 tokens

diagram-design

Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, treemap, bar, waterfall, line, Gantt and scatter charts…

cathrynlavery/diagram-design · 201 tokens

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

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

cocoindex-diagrams

This skill should be used when creating, editing, or reviewing inline SVG diagrams for the CocoIndex docs site (anything under docs/src/content/docs/). It encodes the component-based primitive system under docs/src/components/diagrams/, the palette + shape semantics, the preview-and-verify loop using headless Chrome…

cocoindex-io/cocoindex · 124 tokens