Repository navigation
Description
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_imagetool: 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_visualtool 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 (sandboxwithoutallow-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
- Fits Cue's 1280×720 screen share at 15 fps, at sizes readable in a Meet tile.
- Model output can be shaped by web pages, so sanitizing and sandboxing aren't optional (How do we keep what Cue shows right, and safe for a room? #14).
- Follows the
public/views/module pattern from Show running notes and a comparison table #35 and Present slides in five layouts and fit brand-colored diagrams to the stage #54. - Changes
agent.jsandserver.js, so it needs an Opus review. A new outside image service needs Tyler's OK.
Activity
Add replay transcripts where a chart or a picture is the right answer…
Add show_image: a freely licensed picture, found and served by the se…
Add replay transcripts where a chart or a picture is the right answer…
Add show_visual: Claude draws an SVG chart or stat, shown sandboxed
Add show_image: a freely licensed picture, found and served by the se…
Add replay transcripts where a chart or a picture is the right answer…