data-dashboards
Skill này làm gì
Skill này cho phép AI tạo một trang đẹp và nhanh, có biểu đồ, các con số chính hoặc trang đích đơn giản. Skill dành cho người muốn xem hoặc chia sẻ dữ liệu mà không cần xây dựng một website.
Khi nào nên dùng
- ✓Khi bạn yêu cầu một bảng điều khiển có biểu đồ hoặc các con số chính.
- ✓Khi bạn muốn một trang đơn giản để xem, chẳng hạn trang bảng giá hoặc một công cụ nhỏ.
- ✓Khi bạn muốn một trang dữ liệu được chia sẻ qua liên kết và có thể cập nhật thường xuyên.
Liên kết skill
https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần một bảng điều khiển có biểu đồ cho số liệu bán hàng hàng tháng, để xem ngay trong chat này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI xây một trang HTML và hiển thị trong chat dưới dạng một thẻ mà bạn có thể mở toàn màn hình. Trang chỉ được chia sẻ bằng liên kết công khai khi bạn yêu cầu, và bạn có thể chỉ vào một phần để nhờ sửa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Trang được chia sẻ có công khai không?
Có. Trang đã công bố là công khai, nên skill giữ bí mật và chi tiết riêng tư ra khỏi trang.
Tôi có thể cập nhật trang sau không?
Có. Công bố lại cùng một trang sẽ giữ nguyên liên kết.
Trang có thể tự cập nhật theo lịch không?
Có. Một lịch trình có thể chạy lại việc xuất dữ liệu và công bố lại cùng trang đó.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 11k
- Vị trí xếp hạng
- #11795
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
create-verification-skill
11kGiúp agent của bạn viết một hướng dẫn tái sử dụng cho biết cách khởi chạy, kiểm thử và kiểm tra một ứng dụng cụ thể, với khả năng hoàn tác cho mỗi thay đổi.
phone-harness
11kCho phép agent của bạn điều khiển điện thoại Android kết nối qua USB: mở ứng dụng, đọc màn hình, chạm hoặc gõ thay bạn.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.