generative-ui

generative-ui is a skill for Claude Code, Codex from himself65/finance-skills. It costs 123 tokens per session (3,538 once invoked), scanned A, original, MIT.

A design guide for Claude's built-in feature that displays interactive HTML or SVG widgets inside a conversation. It explains how to choose and structure visual outputs such as diagrams, charts, and comparison panels.

In plain words
What is it for?
Creating inline flowcharts, architecture diagrams, interactive explainers, comparison grids, charts, and data cards in Claude conversations.
Why use it?
It helps an agent choose a suitable visual format for the user's request and follow a consistent design system when creating the widget.

Skill for Claude CodeCodex

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

Good fit Creating inline flowcharts, architecture diagrams, interactive explainers, comparison grids, charts, and data cards in Claude conversations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/himself65/finance-skills/generative-ui
About the project

Finance Skills is a collection of agent skills for financial analysis and trading, covering activities such as company valuation, earnings research, market analysis, and options calculations. It is for users who want coding agents to perform structured finance workflows, and the catalogue contains its skills, plugins, instructions, and MCP integration.

himself65/finance-skills · 3,622 stars · on GitHub · skills.himself65.com

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 himself65/finance-skills --skill generative-ui
Clone the repo
git clone --depth 1 https://github.com/himself65/finance-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin finance-ui-tools — /plugin install finance-ui-tools after adding the marketplace above.

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 generative-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/himself65/finance-skills/generative-ui"><img src="https://agentmods.dev/badge/skills/himself65/finance-skills/generative-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,538 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
  • Socket pass 28 Oct 2026
  • Snyk warn 19 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 60
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00123 $0.03538
Opus 5.5 $0.00049 $0.01415
Sonnet 5.5 $0.00025 $0.00708
Haiku 4.5 $0.00012 $0.00354

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

Security

Grade A, and why

generative-ui 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.

plugins/ui-tools/skills/generative-ui/SKILL.md · 291 lines

How it starts

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

Generative UI Skill

This skill contains the complete design system for Claude's built-in show_widget tool — the generative UI feature that renders interactive HTML/SVG widgets inline in claude.ai conversations. The guidelines below are the actual Anthropic "Imagine — Visual Creation Suite" design rules, extracted so you can produce high-quality widgets directly without needing the read_me setup call.

How it works: On claude.ai, Claude has access to the show_widget tool which renders raw HTML/SVG fragments inline in the conversation. This skill provides the design system, templates, and patterns to use it well.

Codex and other hosts: First check the available tools. Use the host's documented visualization interface when provided; otherwise save a complete HTML document in the workspace and return a clickable file link. For standalone output, the fragment-only rule below does not apply: include a document wrapper and viewport metadata, define the CSS variables and SVG classes used by the templates (including dark-mode colors), and load chart dependencies explicitly. The host-specific CDN allowlist and injected styles below describe Claude's renderer; they are not Codex capabilities. Remove chat follow-up buttons and sendPrompt handlers when that bridge is unavailable; keep local sliders and calculations functional. Verify the saved output in a browser when available.


Step 1: Pick the Right Visual Type

Route on the verb, not the noun. Same subject, different visual depending on what was asked:

User says Type Format
"how does X work" Illustrative diagram SVG
"X architecture" Structural diagram SVG
"what are the steps" Flowchart SVG
"explain compound interest" Interactive explainer HTML
"compare these options" Comparison grid HTML
"show revenue chart" Chart.js chart HTML
"create a contact card" Data record HTML
"draw a sunset" Art/illustration SVG

Read the full file on GitHub · 291 lines

Files

What ships with it

4 files 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 · +2 lines · -4 tokens per session f52710b144d3
  2. 2mo ago Changed · -1 lines · -78 tokens per session 65a0c18c2deb
  3. 3mo ago First seen · 290 lines · 205 tokens per session scan A 90265217dc02

Subscribe to this mod's changes

generative-ui is a skill published in the GitHub repository himself65/finance-skills (3,622 stars, last pushed 26d ago), licensed MIT. It adds 123 tokens to every session and 3,538 once invoked, about $0.0005 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-30.

Related

generative-ui compared with skills from other repositories

generative-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generative-uihimself65/finance-skillsSkill3.6k26d agoMITA123Claude Code, Codex
frontend-designanthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A40Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill11k7d agoApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
visual-editBuilderIO/skillsSkill4.7k4d agoMITA42Claude Code
visual-planBuilderIO/skillsSkill4.7k4d agoMITA32Claude Code
readtw93/WazaSkill7.7k12d agoMITA61Claude Code