Saltar al contenido
Skillpedia
Interfaces (UI/UX)70 mil · #3126

visualize

Qué hace

Esta herramienta crea una página HTML completa con gráficos, tablas o diagramas que se muestra directamente en el chat. Es útil cuando la información visual se entiende mejor que el texto.

Cuándo usarla

  • ✓Para mostrar un gráfico de ventas mensuales.
  • ✓Para mostrar una tabla con resultados de una investigación.
  • ✓Para presentar un diagrama de flujo de un proceso.

Link de la skill

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/visualize/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/visualize/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un gráfico de barras que muestre la población de las 5 ciudades más grandes de Brasil.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta primero pide a un especialista en datos que calcule la información necesaria y elija el mejor tipo de gráfico. Después, usa a un especialista en diseño para organizar la página y, por último, monta la página HTML final, asegurándose de que todo funcione sin conexión a internet y de que los colores se adapten al tema del chat.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Visualize

A page shown inline sits beside a reply, in the reader's theme, and is read in a few seconds. It earns its place only by being clearer than the paragraph it replaces. This skill owns what is particular to such a page. The data work belongs to data-scientist and the design work to frontend: load those skills for their parts instead of improvising them here.

The loop

Do these in order. Never show a page you have not looked at.

  1. Data: load data-scientist. Compute every figure with its engines (DuckDB or Polars), at the grain the reader needs, and follow its references/visualization.md for which chart answers which question. Keep the query: every number on the page must trace back to it.
  2. Design: load frontend. Use it for hierarchy, type, spacing and states. This page's constraints replace its design-system gate: the page brings no palette or fonts of its own and uses the theme the host injects (below).
  3. Build one self-contained page under the constraints below.
  4. Preview and look. Render with html_preview in dark and in light, at the reply's width and at 390 px. Read the screenshot and the console, fix what you see, and preview again. Where html_preview is not offered, open the page file in a browser through the browser skill and capture the same four views.
  5. Show it with show_html_page (OmO) or html_render (other hosts), with the height the preview measured. Then write only what the page does not already say.

Constraints of an inline page

  • No network. Inline every script, style, font and image (data: URIs); the sandbox blocks every request, so a CDN library leaves a blank chart. Draw with hand-written SVG when a library cannot be inlined.
  • Theme from the host. Color only through the injected custom properties: --background, --foreground, --muted, --muted-foreground, --card, --border, --primary, --accent, --destructive, --warning, --success, the series colors --chart-1 to --chart-6, and --font-sans, --font-mono, --radius. They hold in both themes and change live; a literal color does neither. A page opened outside the app gets only a few of them, so give each a fallback for both themes: var(--chart-2, light-dark(#0d9488, #2dd4bf)).
  • Part of the reply, not a card. Fluid width, no outer padding, border or banner. Give charts fixed pixel heights, not heights that scale with the width. A fluid SVG stretched with preserveAspectRatio="none" stretches its text too, so put axis labels in HTML beside it, positioned by percentage.
  • Readable without scripts. On the web a page first renders with scripts off, until the reader presses Run page. Put the figure itself in markup or SVG, and use scripts only for interaction.
  • Traceable. Show how the numbers were computed in a small, muted "How this was computed" block (the query or aggregation), and state caveats near the figure when they change how a number reads: dropped rows, a partial window, a small sample.
  • Designed empty and error states. No data, or a failed query, is stated in the same visual language, never as a blank frame.
  • Links. A link opens only after the reader confirms it in the app, which shows its full address. Keep data out of link addresses.

Before you show it

  • The title states the finding, not the dataset name.
  • Axis labels carry units, numbers use tabular figures and a sensible precision, and nothing clips at 390 px.
  • The series colors separate in both themes, and the console is clean.
Preguntas frecuentes

¿La página creada necesita internet para funcionar?

No, la página es autónoma: todos los elementos (código, estilos, tipografías) están incluidos en ella, por lo que funciona incluso sin conexión.

¿Puedo usar colores personalizados?

La página usa los colores del tema del chat donde se muestra, pero puedes definir colores de respaldo para que se vea bien con cualquier tema.

¿Cómo sé de dónde salieron los números?

La herramienta incluye un bloque que explica cómo se calcularon los números y cualquier advertencia importante, como datos que faltan.

Detalles

Descripción original del autor

Builds a self-contained HTML page (chart, table, diagram, dashboard) to show inline in a thread. Use before calling show_html_page, html_preview or html_render, or whenever an answer reads better as a page than as prose.

repo: code-yeongyu/oh-my-openagent

Popularidad

Estrellas en GitHub
70 mil
Posición en el ranking
#3126
Licencia
NOASSERTION
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas