本文へ移動
cccskills
無料GitHub で公開日本語紹介

data-dashboards

データを集計し、KPI・グラフ・表を備えたダッシュボードを作るスキル。チャット内の表示から、共有用の公開ページ作成、定期更新の設定まで扱います。

原文原文の説明を見る

Build a fast, good-looking data dashboard as a page: in this chat with show_html, or at a public link with publish_page. Use when the person asks for a dashboard, charts or KPIs on a page, or a data page to share or keep up to date.

インストール方法を見る

こんなときに便利

  • 売上指標と推移を一覧で確認したいとき
  • 公開リンクでダッシュボードを共有
  • 共有データページの定期更新
  • フィルターでグラフと表を絞り込み

日本語での紹介

できること

データを集計し、主要な指標を示すKPI、グラフ、フィルター、詳細表を備えたダッシュボードを作ります。小さな集計はチャット内に表示し、共有したい場合は公開ページにできます。定期的にデータを再出力して同じ場所へ公開し、リンクを変えずに更新する手順も扱います。

こんなときに便利

売上の推移や地域別の比較など、複数の数字を一つの画面で確認したいときに向いています。テンプレートには明暗テーマ、スマートフォン向けの配置、グラフに対応する数値表が用意され、表示した数値と直接の集計結果を照合する手順も含まれます。

使い方の例

  • 「売上データからKPIと月別推移をチャットに表示して」
  • 「地域で絞り込めるダッシュボードを共有用に公開して」
  • 「公開したページのデータを毎週更新して」

注意点

Data tools、show_html、publish_pageなどを使う環境が前提です。公開ページは誰でも閲覧できるため、秘密情報や個人情報を載せない配慮が必要です。チャット内は埋め込みCSVのみ対応し、ページ全体で256 KB、公開ページは全体で5 MBの上限があります。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(3)

  • SKILL.md6.5 KB
  • dashboard.html27.9 KB
  • manifest.json416 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Data dashboards

Pick the right home

The person wantsBuild
A quick answer or one chartNo page. Use the Data tools (data_sql, data_show) or a markdown table.
A small summary to look at hereA chat page (show_html) with pre-aggregated rows embedded as CSV.
To explore bigger data, or a link to shareQuery with the Data tools, export the slice with data_export (format: "parquet") into a folder beside index.html, then publish_page the folder.
"Keep it up to date"The shared page, plus a schedule (create_trigger, 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 chat page sends its text as html) and change only what the data needs:

  1. CONFIG: dataFile (data.parquet or data.csv), source, updated (when the data was refreshed, ISO time), currency.
  2. QUERIES and the render… functions: your columns and your questions. The sample has date, region, category, product, units, revenue.
  3. Headings, notes and KPI labels in the HTML.
  4. For a chat page, paste the CSV between the embedded-data tags.

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.
  • Chat pages read embedded CSV only. They can't fetch files, and Parquet needs a reader DuckDB downloads from extensions.duckdb.org, which the chat sandbox blocks.
  • 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 rest (the template greys every region but the selected one).

Colour

  • One accent colour for the page. The template's 6 categorical colours (separate light and dark sets) were checked for colour-blind separation and at least 3:1 contrast; use them in order.
  • Give each category a fixed colour, so filtering never repaints the survivors. Fold anything past 6 into "Other".
  • Magnitude: one hue from light to dark. Above/below a baseline: two hues with a grey middle.
  • Green and red mean good and bad only, always with ▲ ▼ and words, never colour alone.
  • Text uses the ink colours, never a series colour.

Layout and type

  • Order: title and filters, then 3 to 5 KPI tiles, the main chart full width, 1 or 2 supporting charts, a detail table, and the source line.
  • Space on a 4, 8, 12, 16, 24, 32 px scale; align to the grid; hairline grid lines; let whitespace separate cards.
  • System font. Tabular numbers in tables and axes; KPI numbers stay proportional.
  • Format every number and date with Intl: compact for KPIs and axes ($1.2M), full in tables and tooltips.
  • Say where the data came from, the dates it covers and when it was refreshed, at the bottom.

Interaction and access

  • One or two filters, in one row above everything; every KPI, chart and table follows them.
  • Tooltips add detail but never hold the only copy of a number: each chart has its table.
  • Each chart has an aria-label that states what it shows and the takeaway. Native select and details keep the keyboard working; keep visible focus and text contrast of at least 4.5:1.
  • It must work at 360 px wide: one column, nothing scrolls sideways except a wide table inside its own box.
  • Show a loading line at start, a plain error if a file or library fails, and dim (don't blank) the cards while filters apply.

Chat pages

  • The chat shows about 640 px of height before scrolling: keep to KPIs, two charts and a short table.
  • The chat sets the light or dark theme on the page; the template follows it.
  • The template tells you which filters the person picked (mausbot.setContext), so a follow-up like "why did it drop?" has context.

Before you hand it over

  • Look at it, light and dark, wide and narrow: labels must not collide or clip.
  • First load takes 1 to 3 seconds (DuckDB is about 7 MB, cached afterwards). Never chart more than about 10,000 marks; aggregate in SQL.
  • For a shared page, give the link and say how it stays current (the schedule, if any).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

create-verification-skill

無料概要あり

特定のアプリやプロジェクトの起動・操作・検証手順を、専用のSKILL.mdにまとめます。代表的な利用手順を実際に試し、成功の証拠や後片付けまで記載します。

  • プロジェクト専用の検証スキルを作りたいとき
  • 確認済みの利用手順と成功条件の文書化
  • 後片付けや保守の手順を残したいとき
milind-soni/OpenMausBot5,4262026年10月22日 更新

phone-harness

無料概要あり

USBデバッグで接続した実物のAndroid端末を操作し、画面確認やアプリの動作テストを進めます。タップ、文字入力、スワイプを行い、各操作の結果を確かめます。

  • Android実機でアプリをテストしたいとき
  • アプリの文字入力や画面移動を頼みたいとき
  • 画面確認やスクリーンショットの取得
milind-soni/OpenMausBot5,4262026年10月22日 更新

verify-omb

無料概要あり

OpenMausBotのサーバーや会話処理の変更を、模擬エンジンを使う隔離環境で検証します。正式な手順書と共通の操作ツールに沿って、変更後の動作を確かめます。

  • OpenMausBotのサーバー変更の検証
  • 隔離環境で会話処理を確認したいとき
  • 変更が動くと報告する前の確認
milind-soni/OpenMausBot5,4262026年10月22日 更新

windows-release

無料概要あり

OpenMausBotのWindows版インストーラーと自動更新用ファイルを作成・検証し、公開まで進めます。旧版向けの配布先への反映や、更新が届かない問題の確認も扱います。

  • Windows版の新バージョンを公開したいとき
  • 古いバージョンから更新できない問題の調査
  • インストーラーと自動更新ファイルの検証
milind-soni/OpenMausBot5,4262026年10月22日 更新

milind-soni のスキルをすべて見る

このスキルの問題を報告する