visualize
Ce qu’il fait
Cet outil construit une page HTML complète comportant des graphiques, des tableaux ou des schémas, à afficher directement dans le chat. Il est utile lorsque l'information visuelle est plus claire qu'un texte.
Quand l’utiliser
- ✓Pour afficher un graphique des ventes mensuelles.
- ✓Pour présenter un tableau avec les résultats d'une recherche.
- ✓Pour présenter un organigramme de processus.
Lien du skill
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/visualize/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Crée un graphique à barres montrant la population des 5 plus grandes villes du Brésil.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'outil demande d'abord à un spécialiste des données de calculer les informations nécessaires et de choisir le type de graphique le plus adapté. Ensuite, il fait appel à un spécialiste du design pour organiser la page, et enfin, il assemble la page HTML finale, en s'assurant que tout fonctionne sans connexion internet et que les couleurs s'adaptent au thème du chat.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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.
- Data: load
data-scientist. Compute every figure with its engines (DuckDB or Polars), at the grain the reader needs, and follow itsreferences/visualization.mdfor which chart answers which question. Keep the query: every number on the page must trace back to it. - 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). - Build one self-contained page under the constraints below.
- Preview and look. Render with
html_previewin 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. Wherehtml_previewis not offered, open the page file in a browser through thebrowserskill and capture the same four views. - Show it with
show_html_page(OmO) orhtml_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-1to--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.
Questions fréquentes
La page créée a-t-elle besoin d'internet pour fonctionner ?
Non, la page est autonome : tous ses éléments (code, styles, polices) y sont inclus, elle fonctionne donc même hors ligne.
Puis-je utiliser des couleurs personnalisées ?
La page utilise les couleurs du thème du chat là où elle est affichée, mais vous pouvez définir des couleurs de secours pour qu'elle reste lisible quel que soit le thème.
Comment savoir d'où viennent les chiffres ?
L'outil inclut un bloc expliquant comment les chiffres ont été calculés, ainsi que les points importants à connaître, comme les données manquantes.
Détails
Description originale de l’auteur
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.
Popularité
- Étoiles GitHub
- 70k
- Position au classement
- #3126
- Licence
- NOASSERTION
- Mis à jour
- 15/10/2026
Commentaires
- …
Autres skills de ce dépôt
comment-checker
70kAide votre agent à comprendre et traiter les retours des vérificateurs automatiques de commentaires. Utile pour les revues automatisées de code ou de contenu.
lcx-contribute-bug-fix
70kAide votre agent à corriger des bugs dans les projets liés à LazyCodex. Il crée des issues ou des pull requests pour garantir la qualité du code.
lcx-doctor
70kPermet à votre agent de vérifier l'état des installations de LazyCodex et de Codex CLI. Utile quand le système se comporte bizarrement après des mises à jour ou des changements.
lcx-report-bug
70kAide votre agent à signaler en détail les bugs des projets LazyCodex. Il crée des issues avec les informations utiles aux développeurs pour résoudre le problème.
Skills similaires
canvas
394kPermet à votre agent d'afficher un widget visuel hébergé sur un panneau Mac connecté, puis de masquer ce panneau ou de le déplacer vers une autre page.
control-ui
394kAide votre agent à organiser et dépanner l'interface de contrôle d'OpenClaw, y compris les sessions, les tableaux de bord et les passerelles connectées.
diagram-maker
394kAide votre agent à créer des diagrammes clairs en SVG, HTML ou Excalidraw modifiable, pour des processus, des architectures système et des croquis de tableau blanc.