openai-dotcom-viz — Claude Code skill for charts and setup
openai-dotcom-viz is a Claude Code skill for creating bar charts and process diagrams in the visual style used across OpenAI pages.
no license ★ 158 updated 2026-07-09
npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a claude-codeWhat openai-dotcom-viz does
For bar charts, the skill uses a JavaScript renderer that turns a data specification into SVG. It handles the axes, labels, and legend styling, so the chart can go straight into an HTML page.
Process diagrams are assembled by hand from CSS elements such as rounded boxes, pills, and connectors. A dashed connector marks a branch where an action did not happen. OpenAI Sans loads from a CDN; without a network connection, the exact typeface will not load and the page falls back to Helvetica or Arial. An offline version requires downloading and embedding the fonts.
What it helps with
- plot values as a bar chart
- map a process with a separate negative branch
- style a figure to match OpenAI pages
- embed an SVG chart in an HTML page
Example prompts for the agent
- Create an OpenAI-style bar chart from these values and return it as SVG.
- Draw this process as a flow diagram, with a dashed branch for the action that did not happen.
- Make a standalone HTML figure in the style of OpenAI's website.
How to install openai-dotcom-viz
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a claude-code2Manually: put the files in place
~/.claude/skills/openai-dotcom-viz/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/openai-dotcom-viz/
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a codex2Manually: put the files in place
.agents/skills/openai-dotcom-viz/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a cursor2Manually: put the files in place
.cursor/skills/openai-dotcom-viz/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install yzlnew/infra-skills openai-dotcom-viz2Manually: put the files in place
.github/skills/openai-dotcom-viz/SKILL.md1Skills CLI (Vercel)
npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a gemini-cli2Platform CLI
gemini skills install https://github.com/yzlnew/infra-skills --path openai-dotcom-vizManually: put the files in place
.devin/skills/openai-dotcom-viz/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about openai-dotcom-viz
How do I install openai-dotcom-viz in Claude Code?
Run npx skills add yzlnew/infra-skills --skill openai-dotcom-viz -a claude-code. The skill file is at ~/.claude/skills/openai-dotcom-viz/SKILL.md.
What does openai-dotcom-viz do?
It helps create bar charts and flow diagrams styled like OpenAI figures. Charts use a JavaScript renderer; diagrams are arranged by hand from CSS components.
Can I use OpenAI Sans offline?
The font loads from a CDN. For offline or print output, download and embed its four weights; otherwise the page falls back to Helvetica or Arial.