minimal-example

minimal-example is a skill for Claude Code from holoviz-dev/holoviz-skills. It costs 73 tokens per session (851 once invoked), scanned A, original, BSD-3-Clause.

A guide for writing small, self-contained HoloViz code examples that a maintainer can copy and run unchanged. HoloViz is a set of Python tools for building interactive charts and visualisations.

In plain words
What is it for?
Use it when reporting a HoloViz bug, preparing an issue reproducer, writing a pull-request test example, or sharing a runnable code sample.
Why use it?
It removes the guesswork from bug reports and test examples by making the rendering method, data, software versions, and plotting backend explicit. This helps others reproduce the same behaviour.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the holoviz plugin — 14 skills shipped together

Good fit Use it when reporting a HoloViz bug, preparing an issue reproducer, writing a pull-request test example, or sharing a runnable code sample.

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

Made for: Claude Code.

Or install holoviz, the plugin that ships this one along with the rest of its 14 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 minimal-example

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/holoviz-dev/holoviz-skills/minimal-example"><img src="https://agentmods.dev/badge/skills/holoviz-dev/holoviz-skills/minimal-example.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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.
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.00073 $0.00851
Opus 5.5 $0.00029 $0.00340
Sonnet 5.5 $0.00015 $0.00170
Haiku 4.5 $0.00007 $0.00085

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

Security

Grade A, and why

minimal-example 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.

contributing-to-holoviz/skills/minimal-example/SKILL.md · 65 lines

How it starts

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

Minimal Examples

A reproducer a tester pastes and runs unchanged to check a fix, so keep it short enough to skim, not study. These are the traps specific to HoloViz reproducers.

References

  • Reproducing Browser Bugs: a Playwright script an agent runs to confirm a bug that only shows up in the browser, with a screenshot per step and a programmatic check for whether the bug is still there.

Contents

Reproducer Traps

  • Render explicitly with pn.serve(obj); don't end on the bare object. In a script the notebook _repr_html_ never fires, so obj alone does nothing and any render-time error (layout sizing, projection, aspect, colorbar) stays hidden. pn.serve renders any HoloViews/hvPlot/Panel object and surfaces it.
  • Declare the backend the behavior depends on (hv.extension('bokeh') vs 'matplotlib'). The same code renders through different code paths per backend, so an implicit backend makes the report ambiguous.
  • Import every submodule the snippet uses explicitly depending on the module, e.g. from holoviews.operation.datashader import datashade rather than reaching for hv.operation.datashader. Submodule attribute access only resolves once something has already imported it, so a snippet written in a warm session runs for you and raises AttributeError for the first person to paste it cold.
  • Check the finished snippet in a fresh interpreter, not the session you wrote it in and not against your patched checkout. A session carries imports, registered extensions and monkeypatches that the reader's won't, and a local dev install reports its own version, so the __version__ you print should be the one you are reporting against.
  • Generate data inline and seed it (rng = np.random.default_rng(0)), or load a dataset the reader can fetch too, e.g. a URL, xr.tutorial.open_dataset, or bokeh.sampledata. Just don't read_csv a local path only you have.
  • For a bug, paste the versions that matter (hv.__version__, pn.__version__, and the backend: bokeh/matplotlib/cartopy). HoloViz bugs are usually version-specific.
  • Say where the before/after shows up. pn.serve blocks and renders in a browser, so a visual symptom is only visible there, while an exception or a warning lands in the terminal. A tester watching the wrong one concludes nothing happened.
  • End with a one-line comment on the before behavior (what a tester sees without the fix) and the after (what a correct run should show), so they know what to look for without studying the code.

Read the full file on GitHub · 65 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. 1mo ago Changed · +4 lines · +14 tokens per session 83945738dd02
  2. 1mo ago Changed · +14 lines fb6b3cbbeb71
  3. 2mo ago First seen · 47 lines · 59 tokens per session scan A e93a373a836c

Subscribe to this mod's changes

minimal-example is a skill published in the GitHub repository holoviz-dev/holoviz-skills (5 stars, last pushed 2d ago), licensed BSD-3-Clause. It adds 73 tokens to every session and 851 once invoked, about $0.0003 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-31.

Related

minimal-example compared with skills from other repositories

minimal-example next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
minimal-exampleholoviz-dev/holoviz-skillsSkill52d agoBSD-3-ClauseA73Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex