data-dashboards
できること
このスキルは、AIがグラフ、主要な数字、シンプルなランディングページを備えた、素早く見栄えのよいページを作れるようにします。Webサイトを作らずにデータを見たり共有したりしたい人向けです。
使う場面
- ✓グラフや主要な数字を含むダッシュボードを依頼するとき。
- ✓価格ページや小さなツールなど、見るためのシンプルなページがほしいとき。
- ✓リンクで共有でき、最新に保てるデータのページがほしいとき。
スキルのリンク
https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チャットで見られるように、毎月の売上の数字をグラフにしたダッシュボードがほしいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはHTMLページを作り、それを全画面で開けるカードとしてチャットに表示します。公開リンクでの共有は、あなたが頼んだときにのみ行われ、ページの一部を指して変更できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Data dashboards and pages
A page made with show_html shows in the chat as one card. The person watches it appear, steps back through
its versions, opens it full screen, shares it at a public link, and points at a part to change: their next
message then says what they pointed at (a tag, its text, a CSS selector and a bit of its HTML). Change exactly
that with show_html and the page's app_id; the same card refreshes.
Pick the right home
| The person wants | Build |
|---|---|
| A quick answer or one chart | No page. Use the Data tools (data_sql, data_show) or a markdown table. |
| A small summary to look at here | A chat page (show_html) with pre-aggregated rows embedded as CSV. |
| To explore bigger data, or a link to share | Query with the Data tools, export the slice with data_export (format: "parquet") into a folder beside index.html, show the folder in the chat with show_html path, and publish_page it when the person wants a link: the same card gains it. |
| "Keep it up to date" | The shared page, plus a schedule (trigger, action=create, when=schedule) whose instructions re-run the export, set CONFIG.updated, and publish the same folder again. Publishing the same path keeps the same link. |
Publish only when the person asks to share. A published page is public: never put secrets, personal details or rows they didn't ask to share in it.
Start from the template
dashboard.html sits next to this guide, in the folder named by this skill's root. It is tested in the chat
sandbox and on published pages, in light and dark, at phone and desktop widths. Copy it to your working folder as
index.html (a small chat page sends its text as html; a folder page is shown with path) and change only what the
data needs:
CONFIG:dataFile(data.parquetordata.csv),source,updated(when the data was refreshed, ISO time),currency.QUERIESand therender…functions: your columns and your questions. The sample hasdate,region,category,product,units,revenue.- Headings, notes and KPI labels in the HTML.
- For a chat page, paste the CSV between the
embedded-datatags.
Keep the rest: the pinned versions (DuckDB-WASM 1.32.0, ECharts 6.1.0, both from cdn.jsdelivr.net; never @latest),
the single-threaded DuckDB set up through a blob worker (it needs no special headers, so it runs in the chat sandbox),
the colour tokens, Intl formatting, loading and error states, aria labels and the "Show the numbers" tables.
Cut cards rather than adding a fifth chart.
Data
- Aggregate first. Ship the smallest table that answers the questions: one row per day and dimension, not raw events. Do the heavy work with the Data tools, then export.
- Size. Keep data at or under about 5 MB (a published page holds 5 MB in all). A chat page is at most 256 KB including the template (about 28 KB), so embed at most about 200 KB of CSV.
- A page sent as
htmlreads embedded CSV only. A folder page (show_htmlpath) loads the files beside its index.html, Parquet included, so it shows inline exactly as it will publish. - Published pages: prefer Parquet. It is often 10 to 20 times smaller than CSV; DuckDB fetches its Parquet reader (about 0.5 MB) on first load. CSV works too.
- Types. Dates as DATE (Parquet) or
YYYY-MM-DD(CSV). Cast sums and counts to DOUBLE in SQL so they arrive as plain numbers. - Put filter values into SQL only through the template's
quote(). - Check one or two numbers on the page against a direct query before you show it.
Design
Charts
- One question per chart. Make the heading the question ("Which regions sell the most?") and the note under it the answer, computed from the data.
- Pick the form by the job: compare categories with a bar (horizontal and sorted when labels are long); show change over time with a line; show part-to-whole with a stacked bar. A single number is a KPI tile, not a chart. Many categories belong in a table.
- Never: 3D, two y-axes (use two charts, or index both series to 100), pies with more than 3 slices, rainbow colour scales, a number on every point.
- Bars start at zero. Don't cut an axis to make a change look bigger.
- Label directly: values at bar tips, series names at line ends. Use a legend only when direct labels collide.
- Annotate the key point (the peak, a target, the change that matters) on the chart itself.
- Emphasis beats colour: one accent for what matters, grey for the
よくある質問
共有したページは公開されますか?
はい。公開されたページは誰でも見られるので、このスキルは秘密情報や非公開の詳細をページに入れないようにします。
後でページを更新できますか?
はい。同じページを再度公開すると、同じリンクが保たれます。
ページは定期的に更新されますか?
はい。スケジュールによって、データのエクスポートを再実行し、同じページを再度公開できます。
詳細
作者による元の説明
Build a fast, good-looking page: a data dashboard, or any page made with show_html (a landing page, a pricing page, a tool), in this chat or at a public link with publish_page. Use when the person asks for a dashboard, charts or KPIs on a page, a page or mock-up to look at, or a data page to share or keep up to date.
repo: milind-soni/OpenMausBot
人気
- GitHubのスター
- 11k
- ランキング
- #11795
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
create-verification-skill
11kエージェントが、特定のアプリを起動し、テストし、確認するための、一つの再利用可能なガイドを書けるよう支援します。各変更には取り消しの手段が付きます。
phone-harness
11kエージェントが、USBで接続されたAndroidの電話を操作し、アプリを開いたり、画面を読んだり、代わりにタップや入力をしたりできるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。