ClaudeMods
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 Every-Comment5473

ターミナル上の Claude Code におけるインテリジェント UI:本物の表、LaTeX、画像、ライブ図。

応答をターミナル内で組版された Typst 画像としてレンダリングする Claude Code モッド。表、LaTeX 数式、インライン画像、チャート、図、プランモード、テーマをサポートします。

翻訳済み

この mod について

CC Intelligent UI は、Typst を介して各回答を組版された画像としてレンダリングする Claude Code モッドであり、レンダーフックを使用して回答行を kitty graphics プレースホルダーで描画された PNG ページに置き換えます。レンダリングされた Markdown(見出し、表、タスクリスト、引用、構文ハイライトされたコード)、インラインおよびディスプレイ LaTeX、貼り付けおよびインライン画像、Claude が作成したチャート/図(CeTZ、cetz-plot、fletcher)をサポートします。プランモードでは、承認/編集/拒否コントロール付きでレンダリングされたプランを表示します。テーマには Claude Code カラー(デフォルト)と VS Code Markdown プレビューバリアントが含まれ、それぞれライト/ダークバージョンがあり、/iui theme <name> でカスタム JSON テーマも利用できます。kitty、Ghostty、cmux ではすぐに動作します。iTerm2 3.6+ では /iui setup が必要です。tmux や screen はサポートされていません。macOS で Claude Code 2.1.298+ を使用し、brew install typst と /plugin install cc-intelligent-ui --marketplace razorback16/cc-intelligent-ui でインストールします。約 450 のシステムプロンプトトークンが追加されます。保存されたトランスクリプトはプレーン Markdown のままです。画像内のテキストは検索できず、レンダリングはプログレッシブではありません。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add razorback16/cc-intelligent-ui
claude plugin install cc-intelligent-ui@razorback16
原文 / README

I got tired of reading Markdown tables as rows of pipes, so I made Claude Code render its answers. CC Intelligent UI is a Claude Code mod that draws each answer as a typeset picture with Typst. Tables line up, math looks like a paper, and when a picture explains more than words, Claude draws a chart or a diagram itself. What you get Rendered Markdown: headings, tables, task lists, quotes, code with syntax colours, in your terminal's font LaTeX math , inline and display Images: the images you paste into the prompt show in the transcript, and images in an answer show inline Charts and diagrams that Claude writes on the fly (CeTZ, cetz-plot, fletcher), in your theme's colours Plan mode: the plan shows rendered, with approve / edit / reject under it You can still select and copy text from the pictures with the mouse Themes: Claude Code's own colors (the default), or VS Code's Markdown preview in Modern or Dark+/Light+ colors. Each theme has a light and a dark version, and the mod follows your terminal. You can also make your own with a small JSON file ( /iui theme <name> ) Terminals: kitty, Ghostty and cmux work out of the box. iTerm2 3.6+ needs /iui setup once. No tmux or screen. Other terminals just get the normal text. Install (macOS, Claude Code 2.1.298+): brew install typst /plugin install cc-intelligent-ui --marketplace razorback16/cc-intelligent-ui No restart needed. /iui off turns it off. How it works: a render hook swaps each answer row for PNG pages that Typst compiles in 0.15–0.6 s, drawn with kitty graphics placeholders. The saved transcript stays plain Markdown. The mod adds about 450 tokens to the system prompt so Claude knows it can write typst blocks. Honest limits: I have tested it only on macOS. ssh, Linux and other OSes are not tested yet; Rendering is not progressive: while Claude writes, the block is shown, and the picture shows once Claude finishes it. Search doesn't find text inside pictures. I built most of it with Claude Code itself. Feedback and bug reports welcome. GitHub: https://github.com/razorback16/cc-intelligent-ui Independent community project, not affiliated with Anthropic. submitted by /u/Every-Comment5473 to r/ClaudeCode [link] [comments]

関連作品