Pular para o conteúdo
Skillpedia
Análise e planilhas11 mil · #11795

data-dashboards

O que ela faz

Esta skill permite que uma IA crie uma página rápida e bem apresentada com gráficos, números principais ou uma página de apresentação simples. É para quem quer ver ou compartilhar seus dados sem construir um site.

Quando usar

  • ✓Quando você pede um painel com gráficos ou números principais.
  • ✓Quando você quer uma página simples para olhar, como uma página de preços ou uma pequena ferramenta.
  • ✓Quando você quer uma página de dados compartilhada por link que possa ser mantida atualizada.

Link da skill

https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Preciso de um painel com gráficos para os números mensais de vendas, que eu possa ver aqui no chat.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA cria uma página HTML e a mostra no chat como um cartão que você pode abrir em tela cheia. Ela só é compartilhada por link público quando você pede, e você pode apontar uma parte da página para alterá-la.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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:

  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.
  • A page sent as html reads embedded CSV only. A folder page (show_html path) 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
Perguntas frequentes

Minha página compartilhada será pública?

Sim. Uma página publicada é pública, por isso a skill mantém segredos e detalhes privados fora dela.

Posso atualizar a página depois?

Sim. Publicar a mesma página de novo mantém o mesmo link.

A página pode atualizar em um cronograma?

Sim. Um agendamento pode executar a exportação dos dados de novo e publicar a mesma página.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
11 mil
Posição no ranking
#11795
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas