visualize
できること
このツールは、グラフ、表、図を含む完全なHTMLページを作成し、チャット画面にそのまま表示します。文章よりも視覚的な情報のほうが分かりやすい場合に役立ちます。
使う場面
- ✓月次の売上グラフを表示するとき。
- ✓調査結果をまとめた表を表示するとき。
- ✓処理の流れを示すフローチャートを提示するとき。
スキルのリンク
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/visualize/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ブラジルで人口が多い上位5都市の人口を示す棒グラフを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはまずデータの専門家に、必要な情報を計算させ、最適なグラフの種類を選ばせます。次にデザインの専門家にページのレイアウトを整えさせ、最後に完成したHTMLページを組み立てます。その際、インターネット接続がなくても動作し、色がチャットのテーマに合わせて変わるように確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Visualize
A page shown inline sits beside a reply, in the reader's theme, and is read in a few seconds. It earns its place only by being clearer than the paragraph it replaces. This skill owns what is particular to such a page. The data work belongs to data-scientist and the design work to frontend: load those skills for their parts instead of improvising them here.
The loop
Do these in order. Never show a page you have not looked at.
- Data: load
data-scientist. Compute every figure with its engines (DuckDB or Polars), at the grain the reader needs, and follow itsreferences/visualization.mdfor which chart answers which question. Keep the query: every number on the page must trace back to it. - Design: load
frontend. Use it for hierarchy, type, spacing and states. This page's constraints replace its design-system gate: the page brings no palette or fonts of its own and uses the theme the host injects (below). - Build one self-contained page under the constraints below.
- Preview and look. Render with
html_previewin dark and in light, at the reply's width and at 390 px. Read the screenshot and the console, fix what you see, and preview again. Wherehtml_previewis not offered, open the page file in a browser through thebrowserskill and capture the same four views. - Show it with
show_html_page(OmO) orhtml_render(other hosts), with the height the preview measured. Then write only what the page does not already say.
Constraints of an inline page
- No network. Inline every script, style, font and image (
data:URIs); the sandbox blocks every request, so a CDN library leaves a blank chart. Draw with hand-written SVG when a library cannot be inlined. - Theme from the host. Color only through the injected custom properties:
--background,--foreground,--muted,--muted-foreground,--card,--border,--primary,--accent,--destructive,--warning,--success, the series colors--chart-1to--chart-6, and--font-sans,--font-mono,--radius. They hold in both themes and change live; a literal color does neither. A page opened outside the app gets only a few of them, so give each a fallback for both themes:var(--chart-2, light-dark(#0d9488, #2dd4bf)). - Part of the reply, not a card. Fluid width, no outer padding, border or banner. Give charts fixed pixel heights, not heights that scale with the width. A fluid SVG stretched with
preserveAspectRatio="none"stretches its text too, so put axis labels in HTML beside it, positioned by percentage. - Readable without scripts. On the web a page first renders with scripts off, until the reader presses Run page. Put the figure itself in markup or SVG, and use scripts only for interaction.
- Traceable. Show how the numbers were computed in a small, muted "How this was computed" block (the query or aggregation), and state caveats near the figure when they change how a number reads: dropped rows, a partial window, a small sample.
- Designed empty and error states. No data, or a failed query, is stated in the same visual language, never as a blank frame.
- Links. A link opens only after the reader confirms it in the app, which shows its full address. Keep data out of link addresses.
Before you show it
- The title states the finding, not the dataset name.
- Axis labels carry units, numbers use tabular figures and a sensible precision, and nothing clips at 390 px.
- The series colors separate in both themes, and the console is clean.
よくある質問
作成されたページは動作するのにインターネット接続が必要ですか?
いいえ。ページは自己完結型で、コード、スタイル、フォントなどすべての要素がページ内に含まれているため、オフラインでも動作します。
好きな色を使うことはできますか?
ページは表示されるチャットのテーマカラーを使用しますが、どのテーマでも見やすくなるように代替の色を指定することもできます。
数値がどこから来たのか、どうすればわかりますか?
ツールには、数値の計算方法や、データの欠落などの重要な注意点を説明するブロックが含まれています。
詳細
作者による元の説明
Builds a self-contained HTML page (chart, table, diagram, dashboard) to show inline in a thread. Use before calling show_html_page, html_preview or html_render, or whenever an answer reads better as a page than as prose.
人気
- GitHubのスター
- 70k
- ランキング
- #3126
- ライセンス
- NOASSERTION
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
comment-checker
70kエージェントが自動コメントチェッカーからのフィードバックを理解し、それに対応するのを支援します。自動化されたコードやコンテンツのレビュー結果の処理に役立ちます。
lcx-contribute-bug-fix
70kエージェントがLazyCodex関連プロジェクトのバグ修正に貢献するのを支援します。Issueやプルリクエストを作成し、コードの品質を保ちます。
lcx-doctor
70kエージェントがLazyCodexとCodex CLIのインストール状態を確認できるようにします。更新や変更の後に動作がおかしいときに役立ちます。
lcx-report-bug
70kエージェントがLazyCodexプロジェクトのバグを詳しく報告するのを支援します。開発者が問題を修正するのに役立つ情報を含むIssueを作成します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。