inline-vis

Solid

Emit a sandboxed inline HTML visualization in an assistant message when a workspace .html file should render in-thread. Use after writing or updating a demo/chart/report HTML file the user should see without opening a panel.

Data & Documents 2,482 stars 282 forks Updated today MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
91
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Inline HTML visualizations When the user should see a small HTML demo, chart, or report **inline in the assistant message**, write (or update) a workspace-relative `.html` file, then emit this **message directive** as its own block (not inside a fenced code block): ```text ::inline-vis{file="demo.html"} ``` ## Rules - `file` is **workspace-relative** (e.g. `demo.html`, `charts/out.html`). Never use absolute paths. - `height` is optional and sets the iframe viewport height in pixels. It must be a whole number from 120 through 1200; omit it for the 224px default. - Only `.html` / `.htm` files are accepted. - Inline and external CSS/JavaScript are supported. Remote images, fonts, media, fetches, and WebSockets are also allowed subject to normal browser CORS, mixed-content, and remote-server policies. Scripts execute in an opaque-origin iframe and cannot access the bb page, cookies, or storage. - Keep files small (under the sidebar preview's 5 MiB document limit). - Emit the directive only after the file exists on disk in the current thread workspace. - Do **not** put the directive inside backticks or a markdown code fence, or it stays literal text. - Incomplete streaming syntax stays literal until the closing `}` arrives — emit a complete directive in one piece when possible. ## Example turn 1. Write `demo.html` with a simple visualization (inline styles, no remote JS). 2. Reply with a short caption and the directive: ```text Here is the chart: ::inline...

Details

Author
get-bb
Repository
get-bb/bb
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

visualize

Render a polished visual inline in the chat as part of your answer — a diagram, a chart, an interactive explainer, or a UI mockup. Load it proactively whenever an explanation would land better as a picture than as prose. Do not wait to be asked.

1,097 Updated today
vellum-ai
Web & Frontend Listed

html-visualize-feedback

Render a document, draft, or plan as a browser HTML page the user marks up with inline comments — feedback mode of html-visualize.

0 Updated 6 days ago
hk9890
Data & Documents Listed

html-report

Parse data files of many formats — CSV/TSV, Excel (.xlsx), SQLite, JSONL/NDJSON, JSON, Markdown, plain text, and log files — and generate a stunning, self-contained, single-file HTML experience that visualizes the data: a Three.js animated hero, GSAP scroll animations, Tailwind styling, column-profiled data tables with search/sort/pagination, histograms and time-series charts, a markdown reading view with outline navigation, a filterable log viewer, and a collapsible tree explorer for arbitrary JSON. Use this skill whenever the user uploads or points at a data file (spreadsheet, export, database, document, log) and wants to "visualize", "explore", "browse", "display", or "turn into a webpage" that data, or asks for an interactive "report", "page", "dashboard", "viewer", or "UI" for it — even if they don't say "HTML" explicitly. Not for static image asks ("infographic", "poster image", "PNG I can share") — that is the separate infographic skill. Ships a five-style design bank (dark glass, editorial light, brut

8 Updated 5 days ago
costiash