Claude's answers, rendered: Markdown, math, charts and diagrams drawn in the Claude Code terminal. Independent project, not affiliated with Anthropic.
Changelog
All releases of Intelligent UI for Claude Code (cc-intelligent-ui). Claude Code finds a new version by the version in .claude-plugin/plugin.json. To get it, refer to Update.
0.3.5 (2026-11-03)
New
- Images that Claude reads. When Claude opens a PNG, JPEG or WebP image with the Read tool, the image draws under the expanded Read row (ctrl+o,
--verbose, or an unfolded group) as a small preview, as a pasted image does. The folded line (Read 2 files) stays as it is. Refer to Images that Claude reads. (#2) IUI_INLINE.IUI_INLINE=1sends pictures as data, as over ssh.IUI_INLINE=0makes the terminal read the files, also over ssh. Use it where the mod cannot see ssh, such as in a background session.IUI_FONTandIUI_MODE. Over ssh, and withherdr --remote, the mod cannot read your terminal's font or background. SetIUI_FONT(the font family) andIUI_MODE(lightordark, for theautotheme) in the remote computer's shell start file to name them. The mod uses them only where it cannot read the terminal, and/iui detailsnames them. Refer to Terminals.
Fixed
- Background sessions with
IUI_FORCE=1. A background session (claude --bg,claude attach) now shows pictures whenIUI_FORCE=1andCLAUDE_CODE_FORCE_TERMINAL_IMAGES=1are set, also when the daemon started in tmux. Without both, answers stay text, because Claude Code draws no pictures there. Before, it never showed pictures. (#2)
0.3.4 (2026-10-25)
New
- A click opens a link or a file. With picture select, a plain click on a web link opens it in the browser (
openon macOS,xdg-openon Linux). A plain click on a file path opens it in your editor, at the line and column of the path. With no editor (the system app), only pictures, PDFs and text or code files open (text and code withopen -ton macOS). The mod copies the path of other files, such as a.command,.app,.weblocor.desktopfile, because the system app can run them. A folder or a symbolic link is not a live path. Alt+click copies the link or path, as a click did before. A click on a command or a code block's copy button still copies, and a drag still selects text. If the open fails, the mod copies the target and the toast says so, but not over a newer copy that came while it tried to open. Over ssh, a click copies. In iTerm2, Option+click goes to the terminal's own selection, so alt+click may not reach the mod there. Refer to Click a link, a file or a command. /iui editor. Sets the editor for file paths.auto(the default) uses the first editor on the PATH:code,code-insiders,codium,cursor,windsurf,zed,zeditor,subl,idea,webstorm,pycharm,goland,clion,rider; with none, the system default app./iui editor <name>picks one,/iui editor defaultuses the system default app, and/iui editor <command with {path} {line} {column}>runs your own command (split on spaces, no shell). The setting is kept across sessions.- A preview of pasted image paths. When you paste the path of an image file (path text that you copied), Claude Code shows
[Image #N]but writes no file until you send the prompt. The mod now reads the clipboard one time to find the file, and shows its preview. Absolute paths,~/paths, paths from the session folder,file://URLs, quoted paths and paths with escaped spaces work. It shows PNG, JPEG and WebP files (JPEG and WebP need Typst).
Fixed
- Copies from other apps are not overwritten. A click or a drag that still reads the text of its page now waits for the clipboard read of a newer copy from another app, and then copies nothing. A second copy of the same text, a text that the mod copied before, and a password manager's copy on Wayland now count as a newer copy.
/iui offand/clearstop a copy that is still pending. - The plan question waits for the plan's pictures (45 s at most). If they do not show (Typst fails, or over ssh a page is too large), Claude Code's own dialog asks, with the plan as text. After you edit the plan, the mod asks in all cases, and a toast tells you if its pictures did not show.
- Edit the plan on macOS without
code. The plan opens in your default text editor, and you choose "Done editing" when you saved it. Before, the mod waited until the editor app quit (10 minutes at most). - Converted pictures. Two sessions that convert the same JPEG, WebP, SVG or PDF at the same time no longer break each other's conversion.
- An empty row above the previews. The previews of pasted images no longer touch the line above them (for example "Crunched for 7s").
0.3.3 (2026-10-23)
New
- A preview of pasted images above the prompt box. When you paste an image (
[Image #N]), a small preview of it shows above the prompt box before you send the prompt, with its number (#N) at its left. Typst makes a copy of the image that fills the cells of the preview (a very wide or tall image shows whole, with an empty strip). The previews show side by side, approximately 5 rows tall. When you delete the[Image #N]text, or send or clear the prompt, the preview goes away. Refer to Preview of pasted images. - herdr support (the terminal multiplexer). In a herdr pane, Claude Code needs
CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1to show pictures. The mod asks one time to add the shell line, as in iTerm2./iui setupalso adds it. Then close the pane and open a new herdr pane. herdr must run in a terminal that shows kitty pictures (kitty, Ghostty or iTerm2). Refer to Terminals. - herdr in iTerm2. iTerm2 shows each row of a herdr picture from the bottom of the image, so the rows of a page showed in the wrong order. When the herdr client in use is iTerm2, the mod stores the bands of rows of each page and picture in reverse order. Then iTerm2 shows them in the correct order.
/iui detailsshowspages and pictures stored upside down by rowswhen this is on. It does not work withherdr --remotein iTerm2. /iui setupworks in herdr on Linux too./iui detailsnames herdr, its version, the terminal that it runs in and how the mod found that terminal, for exampleherdr 0.9.5 (in kitty, the terminal in front). If the mod uses the variables of the herdr server, it shows(in Ghostty, from the server's start).- A one-line installer.
curl -fsSL https://intelligentui.art/install.sh | bashchecks the system and Claude Code, installs Typst 0.15.1 when no Typst 0.15 or later is found (the official release from GitHub, checked against a SHA-256 in the script, into~/.local/bin), adds therazorback16marketplace and installs the mod with theclaude plugincommands (arazorback16marketplace from another source, such as a fork, a pinned ref or a local folder, is added again from GitHub; a second user copy from another marketplace is uninstalled), and turns on auto-update for the marketplace in~/.claude/settings.json(extraKnownMarketplaces, with a backup of the file before the auto-update change; all other settings stay byte for byte; an"autoUpdate": falsethat you set stays). Run it again to update. It never usessudo. When iTerm2 or herdr is there, it also adds the mod's/iui setupblock to your shell's start file (with a backup).IUI_NO_TYPST=1,IUI_NO_AUTO_UPDATE=1andIUI_NO_SHELL_SETUP=1skip a step. Refer to The install script. - A new logo and a plugin icon. Terminal cells and a prompt that become a typeset integral sign. It is the plugin icon (
.claude-plugin/icon.png, 1024 px) and the icon of the site.
Fixed
- The newest copy wins. A click, a picture selection's up,
/iui graband theui.copychange of picture cells each read their text first. An older one that was still reading wrote the clipboard over a newer copy. Now it writes nothing when a newer copy came: a newer click or up, a$.ui.copy(another plugin's, or the command button of a link row), Claude Code's own copy of a selection, or a copy in another app. Aui.copychange that lost its turn is refused./iui grab, a click on no target and an up with no text copy nothing and cancel no other copy. An older copy (a click, an up,/iui grabor aui.copychange) waits for a newer click or up that still reads its text, so it never writes first and is then overwritten. A copy in another app counts from the time the clipboard changed, not from the time the mod read it. - A password manager's copy is never read. On macOS the mod reads the clipboard with a short
perlscript (PerlObjCBridge) in place ofpbpaste, and stops at a copy with a concealed or transient type. On Linux,xclip,wl-pasteand GTK look for thex-kde-passwordManagerHinttarget before and after the read. On Wayland, a copy marked sensitive was skipped already. - The code in an answer can read no other file. Each compile of an answer or a plan had
/as its Typst root, so a Typst block could read any file (read,include,image,json,csv), andread("/dev/zero")used all the memory. Now each compile runs in a root of its own, with only the template, the theme and the answer's images. The skill'scheck.shdoes the same, and it stops with an error when its cache folder is a link or not yours. Pictures are the same as before. /iui setupwith bash on macOS writes the first of~/.bash_profile,~/.bash_loginand~/.profilethat exists. Before, it made~/.bash_profile, and a login bash then no longer read~/.profile.- In a session that shows pictures already,
/iui setupsays so, not to open a new tab. /iui setup,/iui setup removeand the setup question never write a shell start file that they cannot read (no permission, or too large). Before, such a file was replaced with only the Intelligent UI block. Now the mod changes no file and shows the line to add.- Plan mode: when Claude Code runs two
ExitPlanModecalls at once, the mod does not ask its question, so the answer for one plan can not go to the other (a rejected plan was allowed). Claude Code's own dialog asks. /iui themeruns one at a time: an older/iui themethat was still loading no longer sets its theme over a newer one. A setting that you change with/iuiwhile the mod starts is kept (before, the start set it back to the stored value).- A long session no longer keeps the last text of each answer in memory: the mod keeps the newest 1,024, as it does for the compile results.
- The picture select highlight could stop on a page whose frames went out of the page cache while its build waited. That page is now built again.
- The watcher no longer sends
killto the PID of a child that ended (the PID can be another process's). - On Linux, the GTK clipboard read, watch and check run Python isolated (
-I): agi.pyin the session's project folder no longer runs. - When
$.ui.selection()fails, aui.copyof picture cells and/iui grabcopy again (before, they said that a newer copy came first). - A clipboard read that fails (an error or the 2 s timeout), or a late read of one of the mod's last 4 copies, no longer cancels a newer copy.
- In herdr, the mod now uses the font and the background of the terminal that herdr runs in (Ghostty, kitty, iTerm2, cmux or Rio). Before, it used Menlo and the OS appearance, so the text could be dark on a dark background.
- With the
autotheme, the background comes from herdr: herdr gives the background of the terminal in front (OSC 11). This also works withherdr --remote. The mod asks only at the start and when you change to a different terminal, never on a timer, because the question reads the tty that Claude Code reads. Refer to Limitations. - The font comes from the herdr client that you use. You can attach to one herdr server from more than one terminal, for example from Ghostty and from kitty. On macOS, the mod uses the client in the terminal app in front. When the app in front is not a terminal (for example a browser), it keeps the last client. On Linux, and between two clients in the same app, it uses the client where you typed last. When you change to a different terminal, the mod finds it at the next check (every 1 s), reads its font and draws the pictures again. If the mod cannot find the client, it uses the variables of the terminal that started the herdr server.
- With the
- In herdr, a tall page of a long answer did not show (herdr does not send an image that is too large to the terminal). Refer to Limitations.
- herdr in iTerm2: the last rows of a page taller than 255 rows no longer go missing, and a picture that two sessions stored at the same time no longer stays blank.
- At a page break between two blocks (for example a paragraph and a list, or a table and a heading), the next page starts with the same gap as in one page. Before, the gap was lost. With the row grid off, the gap can be up to 1 row larger. At a break between two items of a list, the gap is the gap between the items (it was 1 or 2 rows too large).
Changed
- On Linux,
xselno longer reads the clipboard: it cannot show the targets of a copy, so it cannot skip a password manager's copy. Installxclip(or GTK 3 for Python);/iui detailstells you. - The README has a Privacy and access section: the network request, the clipboard reads and writes, the files, the processes and the Typst root.
- The shell line of
/iui setupsets the variable in iTerm2 and in herdr./iui setupreplaces the line of an older version. In herdr, the mod asks to update an older line. In iTerm2, the older line still works, and the mod does not ask. - In herdr, pages are shorter, so that each page is at most 16 MiB as pixels.
- Pasted images in the transcript look the same as their preview. After you send the prompt, the images show under it side by side, approximately 5 rows tall, with no number. They do not use
/iui heightnow (sent images and Typst drawings still do). Claude Code's own[Image #N]rows stay under them.
0.3.2 (2026-10-21)
New
- Links, file paths and commands in the pictures are live (picture select, fullscreen mode). Move the pointer over one: its cells show on the selection colour. A click copies it: a web link its URL, a file path its full path, a command the full command (toasts "copied the link", "copied the path", "copied the command"). A command is any inline code (for example
`git status`;`! cmd`copies onlycmd); a code block is not a target. A drag that starts on one still selects text. Refer to Click a link, a file or a command. - Code blocks have a header with the language and a copy button. A click on the button copies all the code of the block (toast "copied the code"; picture select, fullscreen mode). A code block is only as wide as its code needs, at most the width of the page. A code block in a live Typst drawing has no header.
- A copy includes inline math as its LaTeX source, for example
$A = \pi r^2$. The mod copies the full equation when the selection covers its middle. Display math is not copied. IUI_DEBUG=1writes aselect: clickline with the target of each click, and aselect: hoverline when the target under the pointer changes.
Changed
- A copy that starts at a list item's first word does not copy its marker (
-,1.). The marker is copied when the selection covers it. - Where the pages take picture select, the dim link rows under the pictures do not show (the links are in the picture). On the main screen, over ssh, before Claude Code 2.1.298 and with
/iui select off, they show as before.
0.3.1 (2026-10-21)
New
- Picture select. In fullscreen mode, with Claude Code 2.1.298 or newer, the mod selects the text of a picture itself. Drag over the picture: the selected cells show on a blue background (VS Code's selection colour), and when you release the button, the mod copies their text and shows the toast "copied N chars of text". A click with no drag removes the selection. A selection can go on into the next page of the same answer. The highlight swaps the page's picture with
$.ui.blit(a frame with the selected cells tinted), so the layout never changes./iui select offturns it off. Refer to Picture select. - Pages ready in the background. When a page is drawn or comes on the screen, the mod decodes it and finds its words in the background, in short slices, so scrolling and drawing continue. Thus the first highlight and the copy at the button's up do not wait. Refer to The page cache.
- More ways to remove a picture selection: a key typed in the prompt, and a new selection of Claude Code (normal text). A single click on normal text does not remove it (Claude Code tells a mod nothing about it), and Escape does not either. Refer to Limitations.
Changed
- The automatic copy of 0.3.0 is gone: the mod does not write the clipboard after a copy of picture cells in fullscreen mode. Picture select copies the text of pictures. A copy that still gives picture cells (the main screen, a selection of Claude Code that starts outside a picture) gets a toast that names
/iui grab, and the clipboard does not change. /iui detailsshows the linesPicture select:and/iui grab hint:in place ofAuto copy:.- If the private cache folder cannot be used (a link, not a folder, or not yours), the mod draws nothing and tells you why in
/iui,/iui detailsand a toast. Before, it used the shared folder/tmp/cc-intelligent-ui.
Fixed
- Rio: the pictures use Rio's own font, Cascadia Code NF. This font is inside the Rio program, so Typst did not have it and drew the theme's fonts. Now the mod copies the font from the program, as it does for Ghostty's JetBrains Mono. A font in Rio's config that is not installed also gives Rio's own font, because Rio draws that font.
- The terminal font is the font that the terminal draws, also when its config names a font that is not installed: Ghostty and cmux on macOS draw their JetBrains Mono, Ghostty and kitty on Linux draw the nearest font of fontconfig, kitty on macOS draws Menlo (also for a font that is not fixed-pitch), iTerm2 draws the user's fixed-pitch font. For a Ghostty
font-familylist, the first font of the list that is installed. kitty on macOS with nofont_familynow gives Menlo for body text too. A name in another case or spacing (for exampleiosevkaterm) gives the installed name, so that Typst finds the font. - The font folder that the mod gives Typst goes after your own
TYPST_FONT_PATHS. Before, it replaced it. An empty entry inTYPST_FONT_PATHS(for example/a:) no longer stops each Typst run. - iTerm2: a profile font with font settings after its size (for example, ligatures off) is read. Before, the terminal font was not known.
- cmux: a
font-familyin cmux's own config (config.ghosttyin its Application Support folder) is read. /iui detailstells you when Typst does not have the terminal font.- Bold text in a terminal font with no bold face (for example, Monaco in iTerm2): the pictures draw a fake bold, as the terminal does. Before, bold text in that font was drawn regular, because Typst does not make a bold face. Text in other fonts does not change. Refer to Limitations.
- Plan mode: when Claude changes the plan and asks for approval again in the same message, the picture shows the changed plan. Before, it showed the plan before the change.
- Picture select: a push of the button on a page that had just gone off the screen no longer waits for ever (no highlight until a reload).
- Picture select: two tall pages on the screen no longer make each other ready again and again (the page cache keeps the pages on the screen, and the page of the selection).
- Picture select: a drawing drawn again with new page files (a stream, a resize, a theme or size change) no longer keeps its old pages in the queue.
- Picture select: a slow copy no longer writes the clipboard after a newer copy.
- Picture select: a selection of many full rows no longer stops the hooks for up to 0.16 s; the tinted rows are made in the background, and a frame makes them for 6 ms at most.
- Picture select: a lost button up ends the drag; a reloaded Client is not ignored; a Client fault or a change to fullscreen mode takes effect at the next draw;
/iui offand/iui select offlet the page cache go; with noperl, the mod tries to write a frame one time only.
0.3.0 (2026-10-20)
New
The
intelligent-uiskill. Claude loads it before it draws a complex or unusual drawing, or after a drawing failed. It has:- References for the Typst language, fletcher, CeTZ, cetz-plot plots and cetz-plot charts, with 53 examples that compile in light and dark mode.
- Recipes for drawings that the packages do not have: candlestick, ratio bars, heatmap, gantt, waterfall and more.
check.sh, which compiles a drawing with the real template, your theme and your terminal size, in light and dark mode. It gives each error with its line in the drawing, and a picture that Claude looks at before it answers.
Normal answers and simple drawings do not load the skill. Refer to Usage.
More visual answers. Claude is told to draw a process, a structure, a timeline or data when a picture explains more than words. The system prompt has three short examples (a flow chart, a timeline and a plot) and the rules that keep drawings readable in light and dark mode.
Tables like Claude Code's own. The
claude-codetheme draws a full grid around tables (table.stylein a theme).
Changed
- Body text uses the terminal's font, at the terminal's size.
- Ghostty and cmux: the text size does not include the window padding. When the Ghostty config names no font, the mod uses Ghostty's own JetBrains Mono.
- The first line of an answer is not on the row grid. It uses the theme's padding.
- Each live Typst block must import the packages that it uses.
0.2.3 (2026-10-19)
Changed
- On the main screen, the mod does not change the clipboard by itself. A toast names
/iui grab, which copies the text of the pictures that you selected. - Fullscreen mode is recommended. A one-time toast says this, and the README says how to turn it on (
/tui fullscreen).
0.2.2 (2026-10-19)
New
- SVG files that Claude sends draw under their row.
- PDF files that Claude sends draw one page under their row, with ‹ page › controls.
Fixed
- Multi-line labels in live Typst drawings do not overlap on the row grid.
- With more than one Claude Code session open, a fullscreen session does not write over the copy of another session.
0.2.1 (2026-10-18)
New
- Linux (X11 and Wayland): the clipboard watch (
wl-paste,clipnotifyor GTK), light or dark mode from the desktop portal, the terminal font from fontconfig, and plan editors. Refer to Install. /iuitypeahead: the subcommands show as you type.
Changed
- Plain text compiles about 3 times faster: Typst loads only the fonts that it needs.
- A simpler
/iui themelisting, with one mark for the theme in use.
Fixed
- Fonts with no x-height value (for example DejaVu Sans Mono and Andale Mono) are not drawn too large.
- Copied text keeps its spaces with all fonts (Noto Sans lost them).
0.2.0 (2026-10-18)
New
- The row grid (
/iui grid on|off, on by default). Each line of text in a picture is on the terminal's rows, so a mouse selection covers the text. - Link rows. The web links, file paths and commands of an answer show in rows under its picture. A cmd+click opens a link. A click on a command copies it.
- Update notice. A daily check for a new version shows a toast.
/iui updates offstops it.
Changed
- The
claude-codetheme draws code blocks with no background and a thin border, so the selection shows through them.
0.1.0 (2026-10-17)
The first release.
- Claude's answers draw as rendered Markdown pictures, with Typst: headings, tables, task lists, block quotes, code with syntax colours, and LaTeX math.
- Live diagrams, charts and plots: Claude writes Typst blocks with CeTZ, cetz-plot and fletcher, which work offline.
- Images in an answer, and JPEG, WebP and Markdown files that Claude sends, draw in the transcript.
- In plan mode, the plan draws rendered, with an approve, edit or reject question under it.
- Copy text from the pictures with the mouse.
- Themes that follow light and dark mode:
claude-code(the default),vscode-modern,vscode, or your own. - Pictures use the full terminal width. Resizing and scrolling do not jitter.
- The
/iuicommand:on,off,theme,size,details,setup,grabanddump. - Terminals on macOS: kitty 0.28+, Ghostty, cmux, iTerm2 3.6+ (after
/iui setup), and Rio 0.5.27+ (not tested). Over ssh from kitty or Ghostty.