npx skills add safety-research/vizThat installs the skill for Claude Code and the other agents the skills CLI supports, and the
skill installs the viz command itself the first time it needs it. To use viz from Python without an agent,
install it directly: uv tool install git+https://github.com/safety-research/viz.
import viz
viz.hbar({"Plain RL": 41, "Hacking penalty": 28, "Inoculation prompt": 12}, highlight="Inoculation prompt",
roles={"control": "Plain RL", "intervention": "Inoculation prompt"},
notes={"Plain RL": "164 of 400", "Hacking penalty": "112 of 400", "Inoculation prompt": "48 of 400"},
title="The inoculation prompt cut reward hacking from 41% to 12%").save("fig.png").save() writes PNG, PDF, SVG or HTML, by the file's extension.
Every figure is a template for one kind of question. Click one for its code, copy it and change the numbers. Every number here is made up, and error bars and bands are 95% intervals.
Rates across conditions and models, with their intervals.
A behavior or reward over training steps.
Many models on many evals, trade-offs and scaling.
How well a monitor, classifier or probe catches a behavior.
Inside the model: activations, scores on each token, steering.
What a model says about itself, how judges rate it, and whether the two agree.
Many values per condition, such as lengths, times or scores per item.
What the model said and did.
Several charts in one figure, with one legend.
- Guide: how to title, color and size a figure, and what the checks flag.
- Reference: every chart and option, the command line and JSON specs.
- Examples: every template with its code.
MIT. The bundled fonts, Newsreader, DM Sans and JetBrains Mono, are under the SIL Open Font License; their license
files are in src/viz/fonts.



































