Pular para o conteúdo
Skillpedia
Análise e planilhas5,5 mil · #14813

terminal-line-plot

O que ela faz

Esta skill ensina um agente a mostrar uma tendência numérica como um gráfico em texto, diretamente em um terminal ou no chat. É útil para escores, métricas e históricos ao longo do tempo, sem abrir um app de gráficos.

Quando usar

  • ✓Quando um usuário pede para ver uma curva, uma linha de tendência ou a evolução de um escore no terminal.
  • ✓Quando um usuário quer o histórico de uma métrica mostrado em um chat, sem criar arquivos de imagem.
  • ✓Quando um usuário tem números de uma saída de comando e quer um gráfico rápido em texto.

Link da skill

https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/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/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/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

“Mostre meu escore de treinamento das últimas dez gerações como um gráfico de linha no terminal.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente reúne a série, confirma qual métrica será plotada e se valores maiores ou menores são melhores, e roda um script incluído que imprime o gráfico. Também pode imprimir uma tabela curta para que os valores sejam fáceis de ler.

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

Texto original do autor, em inglês, direto do GitHub.

Terminal Line Plot

Use this skill to turn numeric sequences into terminal-readable line charts. It is task-agnostic: do not assume any domain, metric direction, filtering rule, or data layout unless the user or artifacts define it.

Workflow

  1. Identify the series to plot:
    • x values are usually ordered steps, dates, versions, generations, epochs, or run ids.
    • y values must be numeric.
    • If multiple plausible metrics exist, choose the one the user asked for; otherwise state the selected metric before plotting.
  2. Preserve metric semantics:
    • Use exact metric names from artifacts when available.
    • Label whether higher or lower is better if known.
    • Do not mix partial and complete points silently; mark provisional or incomplete points in the title, notes, or point list.
  3. Use scripts/plot_series.py for deterministic plotting.
  4. Print a compact table or point list when it prevents misreading the curve.
  5. Do not write image files unless the user explicitly asks. Prefer stdout.

Script Usage

Run the bundled script from the skill directory:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --points "0:-4.49,1:-4.53,2:-4.87,3:-4.77,4:-3.23" \
  --title "Best future_fitness by generation" \
  --x-label generation \
  --y-label future_fitness \
  --higher-better

Input options:

  • --points "x:y,x:y,..." for quick point lists.
  • --csv FILE --x-field FIELD --y-field FIELD for CSV.
  • --json FILE --x-field FIELD --y-field FIELD for JSON arrays of objects, arrays of pairs, or mappings.
  • --stdin csv|json|points to read data from stdin.

Useful options:

  • --height N controls chart height.
  • --x-step N controls horizontal spacing between points.
  • --provisional-x X may be repeated to mark incomplete points with ○.
  • --value-table prints the plotted values below the chart.
  • --invert-y-note only changes the note; it does not invert the axis.

Plotting Guidelines

  • Prefer line drawing characters ●, ○, ╱, ╲, and ─.
  • Keep the x-axis readable. If labels collide, increase --x-step or plot fewer points.
  • Use a taller chart for noisy or close-valued curves.
  • For negative scores where "higher is better", the visually higher point should still mean numerically larger.
  • If the active/final point is incomplete, mark it provisional and do not draw conclusions from it.
  • For dense data, aggregate intentionally: best per generation, mean per epoch bucket, rolling median, or another stated rule.

Example Patterns

Manual points:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --points "0:7.88,1:7.78,2:8.45,3:8.61,4:9.28" \
  --title "Mean objective value by generation" \
  --y-label "objective" \
  --value-table

CSV:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --csv metrics.csv \
  --x-field generation \
  --y-field score \
  --title "Score by generation"

JSON:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --json metrics.json \
  --x-field gen \
  --y-field best_score
Perguntas frequentes

Ele cria arquivos de imagem?

Não, a menos que o usuário peça. A skill prefere imprimir na tela.

Quais formatos de entrada funcionam?

A skill lista listas de pontos, CSV, JSON e saídas de comando como entradas.

Como os pontos incompletos são tratados?

A skill afirma que se deve marcar pontos provisórios ou incompletos no título ou nas notas, em vez de misturá-los silenciosamente.

Detalhes

Descrição original do autor

Draw readable ASCII line charts directly in the terminal from numeric series, command output, CSV, JSON, or manually extracted points. Use when the user asks for a curve, trend line, score progression, leaderboard trend, metric history, or any plot that should be visible in a CLI/chat transcript without opening a GUI or writing image files.

repo: sapientinc/PRAXIST

Popularidade

Estrelas no GitHub
5,5 mil
Posição no ranking
#14813
Licença
—
Atualizada em
23/09/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas