gpt-image-2-style-libr…
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Full Typst API, recipes and a compile check for the live ```typst blocks that Intelligent UI draws in the terminal. Load it before you write a complex or unusual typst block (a diagram, flow chart, state machine, architecture, chart, plot, timeline, tree, heatmap, gantt or
Claude Code
$ npx -y skills add razorback16/cc-intelligent-ui --skill intelligent-ui --agent claude-code
Codex
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a codex -y
Cursor
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a cursor -y
Gemini CLI
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a gemini-cli -y
GitHub Copilot
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a github-copilot -y
OpenCode
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a opencode -y
Windsurf
$ npx skills add razorback16/cc-intelligent-ui --skill intelligent-ui -a windsurf -y
name: intelligent-ui
description: Full Typst API, recipes and a compile check for the live ```typst blocks that Intelligent UI draws in the terminal. Load it before you write a complex or unusual typst block (a diagram, flow chart, state machine, architecture, chart, plot, timeline, tree, heatmap, gantt or custom layout that goes beyond the short examples in the system prompt), or after a typst block failed to compile and showed as code. Do not load it for normal Markdown answers, tables, math, or a drawing as simple as those examples.
allowed-tools: Bash(${CLAUDE_SKILL_DIR}/scripts/check.sh *)Intelligent UI draws each answer as a picture with the template `render/md.typ`. A fenced ```typst (or ```typ) block is compiled live and drawn in the answer. This skill tells you how to write a block that compiles and looks right in dark and light mode, and how to check it before you answer.
#import "@preview/cetz:0.5.2" #import "@preview/cetz-plot:0.1.4": plot, chart #import "@preview/fletcher:0.5.8" as fletcher: diagram, node, edge
These are the only packages. There is no network.
1. Pick the package with the table below. 2. Read the one matching reference file (see the index). Do not read all of them. 3. Write the block body (no fences) to a scratch file outside the project, for example `/tmp/iui-draft.typ`. 4. Run `${CLAUDE_SKILL_DIR}/scripts/check.sh /tmp/iui-draft.typ`. 5. If a mode prints `error`, read the diagnostics, fix the file and run it again. 6. Read the dark PNG and the light PNG with the Read tool. Look for: text shown as code (the block did not compile), overlap, labels that cut lines, invisible strokes, a drawing taller than the box, empty space. 7. Fix and check again until both modes are right. Then paste the exact block from the file into the answer, in a ```typst fence.
For a full answer with Markdown around the drawings, write it to a `.md` file and check that file: it compiles the way the mod does.
| You want to draw | Use | Reference | |---|---|---| | Flow chart, pipeline, state machine, architecture boxes and arrows, commutative diagram | fletcher | `fletcher.md` | | Free drawing: timeline, tree, geometry, custom shapes, annotated figures, layouts with exact positions | cetz | `cetz.md` | | Line, scatter or function plot, filled area, bar or error bars on numeric axes, contour | cetz-plot `plot` | `plot.md` | | Bar, column, pie, radar, pyramid or box chart of categories | cetz-plot `chart` | `charts.md` | | Candlestick, ratio bars, heatmap, gantt, waterfall | cetz rects and lines in a scaled box | `charts.md` | | Coloured table, cards, side-by-side panels, a legend row | plain Typst `table`, `grid`, `box`, `rect` | `typst.md` |
If Markdown shows it well (a plain table, a list), use Markdown, not typst.
A timeline in a 10 × 2 unit box. It shows the canvas size, the stroke style, fills and muted text:
#import "@preview/cetz:0.5.2"
#cetz.canvas(length: calc.min(theme.width / 10, theme.height / 2), {
import cetz.draw: *
set-style(stroke: theme.fg)
line((0, 0), (10, 0), mark: (end: ">"))
for (x, name, date, c) in ((1, [v1.0], [Jan], theme.blue), (4, [v1.1], [Apr], theme.green), (8, [v2.0], [Oct], theme.orange)) {
circle((x, 0), radius: 0.15, fill: c, stroke: none)
content((x, 0.5), name)
content((x, -0.5), text(fill: theme.muted, date))
}
})${CLAUDE_SKILL_DIR}/scripts/check.sh [--theme NAME] [--mode dark|light|both] [--width PT] [--height PT] FILEClaude's answers, rendered. Real Markdown, math, charts and diagrams, right in your terminal. An independent, community-made mod for Claude Code. Not affiliated with Anthropic. Intelligent UI draws each answer from Claude as a typeset picture, with Typst.
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to…
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures,…
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference…