Visualizeのロゴ

Visualize

コミュニティ
Undertone0809
visualize

Rudder Chat内で、安全なインラインの視覚的な説明を作成します。チャート、プロット、図、タイムライン、比較、静的マップ、シミュレーター、シナリオビュー、または理解を大きく助けるコンパクトなビジュアルを求められた場合に使用します。静的なノードとエッジの構造にはMermaidを優先し、独自の図形にはランタイムに依存しないRudderのHTML/SVG/CSSメッセージ形式を使用します。Rudderのビジュアルは宣言的で、スクリプトを使いません。シミュレーターの依頼は静的なシナリオまたは開閉式の比較に置き換え、JavaScript、ネットワークアクセス、外部アセットには決して依存しないでください。

Add to TypingMind

概要

公開者Undertone0809
リポジトリrudder
スキル名visualize
スター
290
フォーク
31
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Undertone0809がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Visualize」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Undertone0809/rudder/tree/main/server/resources/bundled-skills/visualize
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Undertone0809/rudder.git /tmp/rudder
mkdir -p .claude/skills
cp -r /tmp/rudder/server/resources/bundled-skills/visualize .claude/skills/visualize
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVisualizeを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVisualizeを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Visualizeは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Visualize

Create a visual only when it materially improves what the user can understand, compare, or decide. The Rudder inline runtime is scriptless and has no network access, so design for a useful first render with declarative HTML, SVG, and CSS.

Choose The Output

  1. Use a normal fenced Mermaid block when labeled nodes and edges fully explain a static structure or flow. Do not create an HTML artifact for that case.
  2. Use an inline visual for charts, timelines, comparisons, spatial layouts, static scenario views, or compact reports that benefit from custom geometry.
  3. Use the v1 message envelope only in Rudder Chat. It is a Rudder protocol, independent of Codex, Claude, Gemini, Cursor, OpenCode, Pi, Hermes, process, HTTP, or gateway filesystem conventions.
  4. Outside Rudder Chat, fall back to Mermaid, Markdown tables, or concise prose. Do not emit a Rudder envelope on a surface that cannot render it.

Message Envelope

  • Write only an HTML fragment. Do not include a doctype or html, head, or body elements.
  • Keep every fragment at or below 64 KiB UTF-8, all fragments together at or below 128 KiB, and the complete visual-bearing final reply at or below 256 KiB. Emit at most three visuals in one assistant message.
  • Give the fragment one top-level markup root, <div id="widget">. Bounded <style> blocks may precede that root.
  • Put any custom CSS in bounded <style> elements. Inline style attributes are removed.
  • Check the fragment before replying. Fix escaped markup such as literal \" or \n, missing labels, clipped content, and malformed SVG.
  • Put this exact opening marker on its own line where the visual should render, then the fragment, then the exact closing marker on its own line:
text
:::rudder-inline-visual:v1
<style>#widget .series { color: var(--viz-series-1); }</style>
<div id="widget">...</div>
:::rudder-inline-visual:end

The markers must have no indentation, attributes, or trailing text. Keep any necessary explanation outside the envelope. Never emit ::codex-inline-vis{...}, ::rudder-inline-vis{...}, a file path, an iframe, or a second link to source HTML; Rudder owns capture, trusted placement, persistence, sandboxing, and rendering.

Rudder Safety Boundary

Rudder sanitizes the fragment before rendering, but generate valid input rather than relying on sanitization:

  • Do not write scripts, event handlers, JavaScript URLs, forms, links, images, media, nested frames, embedded objects, canvas, or external resources.
  • Do not use fetch, XHR, WebSocket, module imports, CDN libraries, web fonts, or URL-bearing CSS. The artifact has no network access.
  • Do not use active controls such as buttons, inputs, selects, or textareas. They are removed because the scriptless runtime cannot preserve their state or behavior safely.
  • Do not implement a parent bridge, follow-up prompt action, filesystem access, or access to Rudder state, credentials, cookies, storage, or APIs.
  • Use <details> and <summary> for the only stateful native disclosure. Use data-tooltip on <summary> for short supplementary hover/focus text. A tooltip on any other preserved element is hover-only and must not contain essential information.
  • Keep all data needed for the visual inside the fragment. Use inline SVG for charts and supplied geometry; never fetch a basemap or invent geography.

Read references/runtime-contract.md before writing custom markup or CSS. Use assets/example-chart.html as a structure example, not as data or copy to repeat.

Composition

  • Start with the visual itself. Do not add decorative KPI rows, repeated legends, permanent toolbars, or explanatory paragraphs inside the fragment.
  • Use one dominant chart, diagram, or comparison. Add up to three compact summary cards only when their values are central to reading the visual.
  • For a requested simulator or adjustable explorer, show representative static scenarios or a disclosure-based comparison and state the limitation in the surrounding response. Do not pretend controls survived when they cannot.
  • For maps, use only user-supplied or locally available geometry that can be embedded as safe SVG. Otherwise choose a table, ranked plot, or schematic.
  • Keep the outer surface transparent and unframed. Use .card only for a real bounded summary or detail; never nest cards.

Layout And Accessibility

  • Design for the full Chat width around 736px and reflow cleanly down to 320px.
  • Avoid fixed outer widths, viewport-height layouts, horizontal scrolling, fixed positioning, and clipped labels.
  • Use semantic headings sparingly. Do not restate the user prompt or render a title inside the fragment when the surrounding Markdown already names it.
  • Give each meaningful SVG role="img" plus an accessible name or description. Include <title> and <desc> when they improve screen-reader output.
  • Label important values directly. Add a legend only when multiple series cannot be labeled on the marks.
  • Pair color with text, shape, or line style so meaning never depends on color alone.

Theme And Utilities

  • Use Rudder theme variables for every color. Start with --foreground, --muted-foreground, --border, and --viz-series-1; use --viz-series-2 through --viz-series-6 only for stable categories.
  • Use host utilities such as .viz-grid, .viz-row, .viz-stat, .viz-stat-value, .viz-badge, .card, .text-small, .text-muted, .text-destructive, and .sr-only before adding custom CSS.
  • Keep custom selectors scoped below #widget. Use only theme variables already provided by Rudder; custom CSS variables are removed.
  • Use normal text by default and weights 400 or 500. Reserve compact secondary text for annotations, never essential labels.

Verification

Before replying:

  1. Confirm each envelope uses the exact v1 markers, satisfies the 64/128/256 KiB limits, and the message has no more than three visuals.
  2. Confirm the fragment contains no scripts, handlers, URLs, external assets, active controls, document-level elements, or unsupported embeds.
  3. Confirm SVG view boxes, labels, referenced IDs, table semantics, and CSS selectors are valid.
  4. Check both narrow and wide layout when a preview path is available. If not, keep the geometry responsive and the composition conservative.
  5. Emit the envelope only after the fragment is complete and valid. Never leave an opening marker unterminated.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Visualize」では何ができますか?

Rudder Chat内で、安全なインラインの視覚的な説明を作成します。チャート、プロット、図、タイムライン、比較、静的マップ、シミュレーター、シナリオビュー、または理解を大きく助けるコンパクトなビジュアルを求められた場合に使用します。静的なノードとエッジの構造にはMermaidを優先し、独自の図形にはランタイムに依存しないRudderのHTML/SVG/CSSメッセージ形式を使用します。Rudderのビジュアルは宣言的で、スクリプトを使いません。シミュレーターの依頼は静的なシナリオまたは開閉式の比較に置き換え、JavaScript、ネットワークアクセス、外部アセットには決して依存しないでください。

TypingMindでVisualizeを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Visualizeはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVisualizeをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Undertone0809/rudder/tree/main/server/resources/bundled-skills/visualizeを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Visualizeを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Visualizeで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVisualizeを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Visualize」は無料ですか?

はい。Undertone0809がApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇