Browse Data

Orca
Chat Visuals

Show a chart, diagram, table, report or mockup inline in this Orca chat as an HTML page. Use when a visual would help the user understand your answer. Only available when the ORCA_CHAT_SCRATCH_DIR environment variable is set.

✓ VerifiedClaude + ChatGPTMITUpdated Dec 6, 2026

What’s inside

The method, in two moves.

  1. 01

    Writing the page

    Save it in the folder named by ORCA_CHAT_SCRATCH_DIR (printenv ORCA_CHAT_SCRATCH_DIR; in PowerShell $env:ORCA_CHAT_SCRATCH_DIR).

  2. 02

    Showing it

    After the file exists, put this on its own line in your reply, outside any code block:

Read it before you add it

The full skill.

Inline visuals in an Orca chat

Orca can show an HTML page inside your reply. Use one whenever a visual would make the answer clearer.

Writing the page

  • Save it in the folder named by ORCA_CHAT_SCRATCH_DIR (printenv ORCA_CHAT_SCRATCH_DIR; in PowerShell $env:ORCA_CHAT_SCRATCH_DIR). If it's unset or you can't write there, skip the visual. This folder belongs to this chat and is kept as long as the chat. Save files meant for the project in the workspace.
  • One complete HTML file per visual, directly in that folder, under 512 KB, with a new file name each time (e.g. latency-by-region-7c1e.html): letters, digits, ., _, -, ending in .html.
  • Inline your styles, scripts and data. Libraries and fonts may load only from cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com, esm.sh, fonts.googleapis.com and fonts.gstatic.com. The page can't make network requests.
  • For screenshots and other images, name the file by path and Orca fills in the bytes when it shows the page: <img src="shot.png">, background: url('shots/bg.jpg'). Relative paths resolve in the ORCA_CHAT_SCRATCH_DIR folder; absolute paths, file:// URLs and C:\... paths work too. In a <script>, only file:// URLs are filled in ('file:///abs/path/shot.png'). Never base64-encode an image yourself. PNG, JPEG, GIF, WebP, AVIF, BMP and SVG, up to 8 MB each, 16 MB and 32 images per page on top of the 512 KB page limit. Pages that reference local images cannot load external CDN libraries, fonts, or custom scripts (use HTML and CSS for collages, tables, layouts, and <details> toggles; pages that need CDN libraries like Mermaid or Chart.js must not reference local images). Images are read each time the page is shown, and a shared copy of the page includes only images in that folder, so copy screenshots into the ORCA_CHAT_SCRATCH_DIR folder under new names first; a missing image shows as a placeholder.
  • <audio> and <video> elements can't load media here, even from data: URLs. To share a recording, save it as its own file in the ORCA_CHAT_SCRATCH_DIR folder (in the workspace only if the user wants it in the project) and give its path in your reply instead.
  • Don't size anything to the viewport height (100vh); Orca fits the frame to your content.
  • The page is as wide as your reply, and its left edge lines up with your text. Don't add side padding, a max-width or centering to html, body or the outermost element, and don't wrap the page in an outer card or border.
  • If a box needs its own background (a mock of a screen, a panel that must stand apart), give it at least 16px of padding and var(--radius) corners.
  • Use Orca's theme variables for surfaces, text, and controls; pair hover --accent with --accent-foreground. Scope fixed-palette CSS to its mockup. Orca updates tokens and color-scheme live. Charts use --chart-1 to --chart-5.
  • Make the saved HTML readable in an ordinary browser too: use paired fallback values such as background:var(--background,#fff);color:var(--foreground,#171717) for every theme-token use. Scripts reading chart colors need a fallback too: getComputedStyle(document.documentElement) .getPropertyValue('--chart-1').trim() || '#2563eb'. Never redefine Orca's tokens on :root: those declarations would override the viewer's live theme. Use separate names for local colors.
  • Exposed tokens: --background, --foreground, --card, --card-foreground, --popover, --popover-foreground, --primary, --primary-foreground, --secondary, --secondary-foreground, --muted, --muted-foreground, --accent, --accent-foreground, --destructive, --destructive-foreground, --border, --input, --ring, --radius, --font-sans, --font-mono, and --chart-1 through --chart-5.

Showing it

After the file exists, put this on its own line in your reply, outside any code block:

::orca-visual{file="latency-by-region-7c1e.html" title="Latency by region"}

file is the bare file name, never a path; title is optional. At most 8 per reply.

Checked by Skillplug

Reviewed and tested.

  • Well-formedEn-tête et corps valides
  • Files all present1 référence(s), liens tous valides
  • Reasonable size1 fichier(s), 4 ko
  • No risky scriptsAucun script
  • No leaked secretsAucun secret repéré
  • No hidden instructionsAucune consigne suspecte
  • Open licenseMIT (licence du dépôt)
  • Tested by an AITest réussi (8/10) : Le skill donne des consignes concrètes et détaillées pour produire des visuels HTML adaptés au rendu Orca, avec une solution de repli si le dossier requis est indisponible.

Reviews

No reviews yet

Reviews open soon. Add Orca Chat Visuals and you’ll be among the first to say how it went.

Written by

stablyai

Shared under the MIT license, from the stablyai/orca repository on GitHub.

View the source ↗

Questions

Do I have to mention the skill when I ask?

No. Ask the way you normally would. Your assistant recognizes the task and opens the skill on its own.

What if stablyai updates?

You get the new version automatically, in your next conversation. Nothing to reinstall.

Who owns this skill?

Par stablyai, sous licence MIT. Source : https://github.com/stablyai/orca/tree/main/resources/native-chat-visuals/skills/orca-chat-visuals

Works well with