Skip to content

Show more visuals and fewer words: images, SVG and HTML on Cue's screen #61

Open

Description

@a-Fig

Tyler, 2026-11-13: "the product is lacking in visuals and relies too much on words. We need to fix that. we need to leverage svgs, html, and other tools that will support the creation and showcasing of visuals on top of just words. We should also be able to grab images of off google images or something to help."

Cue's screen today is mostly text: research answers, slide bullets, captions, notes. Mermaid diagrams are the only drawn visual. The room should see pictures, charts and illustrations, not read paragraphs.

What to add

  • Real images. A show_image tool: Claude asks for a picture of something being discussed (a product, a place, a person in the news, a chart from an article), and the server finds one. Candidates:

    • Wikimedia Commons / Openverse: free, with no key, and licensed for reuse.
    • Google Custom Search's image search: needs a Programmable Search Engine ID and an API key; a decision for Tyler.
    • Image URLs found by web search.

    The server proxies or validates the image through the same safety checks as /api/page, so the bot page never loads arbitrary hosts it was steered to.

  • Drawn visuals. A show_visual tool where Claude writes SVG, or a small self-contained HTML/CSS block, for things Mermaid can't draw well: a big-number stat with an icon, a bar or line chart from numbers just said, a timeline, a map-like layout, a labelled illustration. It renders in a sandboxed iframe (sandbox without allow-scripts, or a strict CSP) and is sanitized: no scripts, no event handlers, no external URLs. Use the brand tokens (brand/tokens.css).

  • A prompt that prefers pictures. Research answers and slides should carry an image or a chart when one helps, and words get shorter.

Constraints

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeaturePR neededfrom: Tylerpriority: now

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions