chart-rendering
O que ela faz
Esta skill escolhe o tipo de gráfico certo para uma pergunta e o desenha como imagem, com título e rótulos claros. É para quem quer uma visualização de uma análise em vez de uma tabela longa.
Quando usar
- ✓Quando você pede um gráfico ou uma plotagem de um conjunto de números.
- ✓Quando um resultado tem muitas linhas e seria mais fácil de ler como imagem.
- ✓Quando você quer ver como um valor muda ao longo do tempo.
Link da skill
https://github.com/agentscope-ai/agentscope-java/blob/main/agentscope-examples/agents/agentscope-dataagent/src/main/resources/shared/agents/data-agent/skills/chart-rendering/SKILL.mdCopie 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
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Plote nossos cadastros mensais do último ano como um gráfico de linhas, com um título claro e eixos rotulados.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill primeiro associa a pergunta a um tipo de gráfico, como linha para mudança ao longo do tempo ou barra para comparar categorias. Depois escreve um script curto que desenha o gráfico e salva a imagem e o script juntos.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Chart Rendering Skill
Repeatable SOP for turning a result set into a chart that actually communicates the point.
Steps
Match chart type to question. Decide before drawing:
Question shape Chart "How does X change over time?" Line (single series) or multi-line "Composition / share of total" Stacked bar, or 100% stacked area "Comparison across a small set of categories" Bar (horizontal if labels are long) "Relationship between two numeric variables" Scatter "Distribution of a single variable" Histogram or box plot "Cumulative total" Area If none fit, ask the user which view they want — do not default to "any chart will do".
Prepare the data. The query result from the [[sql-analysis]] Skill should already be tidy (one row per data point, one column per dimension). If not, reshape first using pandas (
pivot,melt,groupby). Save the cleaned frame toknowledge/cache/<topic>.csvso it can be re-rendered.Render with matplotlib. Write the script to a file under
scratch/charts/<topic>.pyand execute it viashell_run. Conventions:- Title — one sentence answering the question (not "Untitled chart").
- Axes — label both, include units (
Active users (count),Date (UTC)). - Legend — include only if there is more than one series.
- Colours — use the matplotlib default palette unless the user has a
stated brand colour in
knowledge/style.md. - Output — save as PNG (
bbox_inches='tight',dpi=150) underknowledge/charts/<topic>.png.
Show and explain. In the assistant reply, link the saved image with a markdown image embed (
) and write 2–3 sentences interpreting it — what the chart shows, the one thing the user should take away, and any caveat (incomplete latest data point, outliers excluded, etc.).Keep the script reproducible. The chart file is the artefact; the script under
scratch/charts/<topic>.pyis the source of truth. If the user asks for a tweak ("can we use a log y-axis?"), edit the script and re-run — do not regenerate from scratch.
Anti-patterns
- ❌ Pie charts with > 5 slices.
- ❌ Charting raw counts when proportions are what the user actually asked.
- ❌ A chart whose axes have no labels or unit.
- ❌ Embedding the image without 2 sentences of interpretation.
When to delegate
If the user wants a multi-chart dashboard with narrative around it (e.g. "build
me a weekly product health deck"), spawn the report-writer sub-agent —
this Skill is for individual charts.
Perguntas frequentes
Quais tipos de gráfico ela usa?
Ela pode usar gráficos de linha, barras empilhadas, barras, dispersão, histograma, box plot e área, conforme a pergunta.
O que eu recebo de volta?
Você recebe um arquivo de imagem e o script que o gerou.
E se nenhum tipo de gráfico servir?
A skill pergunta qual visualização você quer, em vez de adivinhar.
Detalhes
Descrição original do autor
Visualise the result of an analysis as a chart (line, bar, area, scatter, etc.). Use when the user asks to "plot...", "chart...", "show me the trend of...", "visualise...", or when a numerical result has more than ~10 rows and would be easier to read as a picture. Produces an image file plus the script that generated it.
Popularidade
- Estrelas no GitHub
- 6,2 mil
- Posição no ranking
- #14390
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agentscope-java
6,2 milAjuda seu agente a escrever código Java não bloqueante para o AgentScope, um framework multiagente construído sobre o Project Reactor.
data-report
6,2 milAjuda seu agente a resumir um conjunto de dados em um relatório com médias, totais, intervalos e tendências, salvo como arquivo Markdown.
data-transform
6,2 milAjuda seu agente a converter um arquivo de dados entre formatos como CSV e JSON, para que os dados possam ser usados em outras ferramentas.
git-changelog
6,2 milAjuda seu agente a escrever um changelog ou notas de versão a partir do histórico do Git, agrupados em funcionalidades, correções e outras mudanças.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.