Visualiseのロゴ

Visualise

コミュニティ
bentossell
visualise

Render inline interactive visuals — SVG diagrams, HTML widgets, charts, and explainers — directly in the conversation. Use this skill whenever the user asks to visualize, diagram, chart, illustrate, or explain something visually, or when an explanation would genuinely benefit from a spatial/interactive diagram rather than text. Also triggers for: flowcharts, architecture diagrams, data visualizations, interactive explainers, comparison layouts, UI mockups, and any request containing 'show me', 'draw', 'map out', 'visualize', or 'diagram'. Even when the user doesn't explicitly ask for a visual, use this skill proactively when the topic has spatial, sequential, or systemic relationships that a diagram would clarify better than prose.

概要

公開者bentossell
リポジトリvisualise
スキル名visualise
スター
484
フォーク
24
同梱ファイル
5
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 5個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bentossell/visualise.git \
  .claude/skills/visualise
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Inline Visualizer

Render rich visual content — SVG diagrams, HTML interactive widgets, charts — directly inline in a chat conversation. Output streams token-by-token into a sandboxed iframe. The result feels like a natural extension of the conversation, not an attachment.

How it works

You generate raw HTML or SVG fragments. The client renders them in a sandboxed iframe with the design system's CSS variables injected. No <html>, <head>, or <body> tags — just content fragments.

Two output modes:

  • SVG mode: Output starts with <svg>. Client auto-wraps in a card. Best for static diagrams.
  • HTML mode: Raw HTML fragment. Best for interactive content (sliders, tabs, charts, controls). You can embed <svg> elements inside HTML mode.

The client detects which mode based on whether the output starts with <svg.

Before generating any visual

Read the design system reference before your first visual in a conversation:

  1. Always read first: references/design-system.md — CSS variables, color ramps, typography, core rules
  2. Then read the relevant module:
    • Diagrams (flowcharts, structural, illustrative): references/diagrams.md
    • Interactive explainers, comparisons, data records: references/components.md
    • Charts (Chart.js, data viz): references/charts.md

Read the design system file once per conversation. Read module files as needed for each visual type.

Streaming constraints

Output streams token-by-token into the DOM. This dictates structure:

  1. <style> first (keep under 15 lines — inline styles preferred)
  2. Visible HTML/SVG content next (the user sees it building up)
  3. <script> last (executes only after streaming completes)

Because of streaming:

  • No gradients, drop shadows, blur, or glow — they flash during DOM diffs. Use flat fills.
  • No display:none or hidden content — it streams invisibly.
  • No <!-- comments --> or /* comments */ — waste tokens, break streaming.
  • Inline style="..." preferred over <style> blocks so elements look correct mid-stream.
  • No tabs or carousels that start hidden — show everything stacked vertically during stream. Post-streaming JS can add interactivity.

Iframe sandbox rules

The visual renders in a sandboxed iframe. These are hard constraints:

  • No localStorage / sessionStorage — all state must be in-memory
  • No position: fixed — the iframe auto-sizes to content height; fixed elements collapse it
  • No external fetches — CSP blocks API calls from inside the widget
  • CDN allowlist only: cdnjs.cloudflare.com, esm.sh, cdn.jsdelivr.net, unpkg.com
  • No DOCTYPE, <html>, <head>, <body> — just content fragments
  • Background is transparent — the host provides the container/card styling
  • Load libraries via <script src="https://cdnjs.cloudflare.com/ajax/libs/..."> (UMD globals)

The sendPrompt bridge

A global sendPrompt(text) function is available inside the iframe. It sends a message to the chat as if the user typed it. Use it to make visuals conversational — clicking a node in a diagram can trigger a follow-up explanation.

Use sendPrompt when the user's next step benefits from the model thinking. Handle filtering, sorting, toggling, and calculations in local JS instead.

Choosing the right visual type

Route on the verb, not the noun. The same subject gets different treatment depending on what was asked:

User saysTypeWhat to build
"how does X work"Illustrative diagramSpatial metaphor showing the mechanism
"what are the components of X"Structural diagramLabelled boxes showing containment
"walk me through the steps"FlowchartSequential boxes and arrows
"compare X vs Y"Comparison layoutSide-by-side cards with metrics
"show me the data"ChartChart.js or inline data viz
"explain X" (spatial concept)Interactive explainerSliders, controls, live state

Default to illustrative for "how does X work" — it's the more ambitious choice. Don't retreat to a flowchart because it feels safer.

Multiple visuals per response

Generate multiple visuals in a single response, interleaved with prose:

  1. Text block (introduce/explain)
  2. Visual
  3. Text block (transition)
  4. Visual (if needed)

Never stack visuals back-to-back without text between them.

Output wrapper

Wrap visual output in a code fence with the language tag visualizer so the client detects and routes it to the iframe renderer:

```visualizer
<svg width="100%" viewBox="0 0 680 400">
  ...
</svg>
```

The client strips the fence and injects the content into the iframe with theme variables prepended.

Quick reference

RuleValue
SVG viewBox widthAlways 680px
Font sizes14px labels, 12px subtitles only
Stroke width0.5px for borders and edges
Max colors per diagram2-3 ramps
Box subtitle length≤5 words
Corner radius (SVG)rx="4" default, rx="8" for emphasis
Corner radius (HTML)var(--border-radius-md) or -lg
Min font size11px
Text weights400 regular, 500 bold only
Heading sizesh1=22px, h2=18px, h3=16px

同梱ファイル

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

よくある質問

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

Render inline interactive visuals — SVG diagrams, HTML widgets, charts, and explainers — directly in the conversation. Use this skill whenever the user asks to visualize, diagram, chart, illustrate, or explain something visually, or when an explanation would genuinely benefit from a spatial/interactive diagram rather than text. Also triggers for: flowcharts, architecture diagrams, data visualizations, interactive explainers, comparison layouts, UI mockups, and any request containing 'show me', 'draw', 'map out', 'visualize', or 'diagram'. Even when the user doesn't explicitly ask for a visu...

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

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

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

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

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

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

Visualiseは何個のAIモデルで使えますか?

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

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

bentossellがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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