panel-holoviews

panel-holoviews is a skill for Claude Code, Codex from MarcSkovMadsen/holoviz-mcp. It costs 114 tokens per session (5,154 once invoked), scanned A, original, BSD-3-Clause.

Guidance for using HoloViews and hvPlot charts inside Panel, a Python framework for interactive web apps. It covers chart updates, combined plots, and user interactions such as selecting points or changing ranges.

In plain words
What is it for?
Use it when building Panel dashboards that display or refresh HoloViews or hvPlot visualizations.
Why use it?
It helps avoid common problems such as losing a user's zoom position when data refreshes or getting type errors when combining plots.

Skill for Claude CodeCodex

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

Good fit Use it when building Panel dashboards that display or refresh HoloViews or hvPlot visualizations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcskovmadsen/holoviz-mcp/panel-holoviews
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 MarcSkovMadsen/holoviz-mcp --skill panel-holoviews
Clone the repo
git clone --depth 1 https://github.com/MarcSkovMadsen/holoviz-mcp

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 panel-holoviews

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcskovmadsen/holoviz-mcp/panel-holoviews"><img src="https://agentmods.dev/badge/skills/marcskovmadsen/holoviz-mcp/panel-holoviews.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,154 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.00114 $0.05154
Opus 5 $0.00057 $0.02577
Sonnet 5 $0.00023 $0.01031
Haiku 4.5 $0.00011 $0.00515

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

Security

Grade A, and why

panel-holoviews 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.

skills/panel-holoviews/SKILL.md · 471 lines

How it starts

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

Panel + HoloViews Integration Patterns

  • DO let Panel control the renderer theme
    • DON'T set hv.renderer('bokeh').theme = 'dark_minimal'

DynamicMap: Preserve Zoom/Pan Across Data Refreshes

When you set pane.object = new_plot, Bokeh resets all axes ranges. Wrap the plot function in hv.DynamicMap so Bokeh updates data in the existing figure rather than replacing it.

DON'T: Replace chart object directly

# BAD — zoom resets every refresh
self._chart_pane.object = df.hvplot.scatter(...)

DO: Use DynamicMap with a trigger parameter

class Monitor(pn.viewable.Viewer):
    _chart_trigger = param.Integer(default=0)

    def __init__(self, **params):
        super().__init__(**params)
        dmap = hv.DynamicMap(pn.bind(self._render_scatter, self.param._chart_trigger))
        self._chart_pane = pn.pane.HoloViews(dmap, sizing_mode="stretch_width")

    def _render_scatter(self, trigger):
        # Reads self.data directly; trigger is just a signal to re-invoke
        df = self.data
        if df is None or df.empty:
            return hv.Scatter([], kdims=['x'], vdims=['y']).opts(responsive=True, height=300)
        # Pass responsive and height directly to hvplot — see "Responsive Sizing" section
        return df.hvplot.scatter(x='x', y='y', responsive=True, height=300)

    def _on_data_changed(self, *events):
        # Increment trigger → DynamicMap re-invokes → Bokeh patches in place
        self._chart_trigger += 1

One Element Per DynamicMap

Returning an hv.Overlay from a DynamicMap causes two problems:

  1. Type mismatch errors — if you sometimes return hv.Scatter and sometimes hv.Overlay, DynamicMap raises AssertionError: DynamicMap must only contain one type of object.
  2. Lost hover tooltips — when scatter + HLines are combined inside hv.Overlay([...]), the scatter's hover tool configuration doesn't propagate.

DON'T: Return mixed types or Overlays from a single DynamicMap

# BAD — type mismatch when data is empty vs populated
def render(trigger):
    if no_data:
        return hv.Text(0, 0, "empty")  # Text type
    plot = df.hvplot.scatter(...)
    return plot * hv.HLine(avg)  # Overlay type → AssertionError

# BAD — hover tooltips lost
def render(trigger):
    scatter = df.hvplot.scatter(..., tools=['hover'])
    return hv.Overlay([scatter, hv.HLine(avg)])  # hover doesn't propagate

Read the full file on GitHub · 471 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. 12d ago First seen · 471 lines · 114 tokens per session scan A be1d5e70f925

Subscribe to this mod's changes

panel-holoviews is a skill published in the GitHub repository MarcSkovMadsen/holoviz-mcp (34 stars, last pushed 11d ago), licensed BSD-3-Clause. It adds 114 tokens to every session and 5,154 once invoked, about $0.0006 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

dataviz-mcp

Show Python visualizations live in the browser with the dataviz-mcp MCP tools (show, screenshot). Use when those tools are available and the user asks to display, plot, chart, or visualize anything. Do not use for apps the user serves themselves with panel serve.

SuMayaBee/DataViz-MCP · 63 tokens

arrowspace

Spectral vector search using graph Laplacian eigenstructure. Use when cosine/L2 similarity misses latent structure in your embeddings.

sickn33/agentic-awesome-skills · 28 tokens

docetl

Build and run LLM-powered data processing pipelines with DocETL. Use when users say "docetl", want to analyze unstructured data, process documents, extract information, or run ETL tasks on text. Helps with data collection, pipeline creation, execution, and optimization.

ucbepic/docetl · 59 tokens

senior-data-engineer

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, Flink, Kinesis, and modern data stack. Includes data modeling, pipeline orchestration, data quality, streaming quality…

benchflow-ai/skillsbench · 100 tokens

malloy-model

Build Malloy semantic models with base source and joined source files. Use when creating or modifying .malloy files, user asks to "create a malloy model", "add dimensions", "add measures", "create a source", or any Malloy model authoring task.

malloydata/publisher · 59 tokens

malloy-model-as-you-go

After answering a data question, write down what the answer assumed so the next reader can trust the number. A field with a.

malloydata/publisher · 32 tokens