Claude Code users report HTML artifacts improve PR review, dashboards, and visual explainers
A cluster of Claude Code users, guides, and companion tools shifted from Markdown toward HTML artifacts for code review, dashboards, and explainer pages. The pattern matters because richer outputs are easier to inspect and share during long agent workflows, though several builders note the token cost is materially higher than Markdown.

TL;DR
- In trq212's post, the core claim is simple: Claude Code users are asking for HTML instead of Markdown because browser-rendered artifacts carry navigation, layout, SVG, and interaction that long agent sessions can actually use.
- The strongest concrete use case in nicopreme's visual-explainer note and Simon Willison's write-up is PR review, where HTML can render the real diff, margin notes, severity colors, and jump links instead of another wall of prose.
- omarsar0's workflow clip pushed the idea past explainers into live dashboards, with HTML artifacts sitting on top of an LLM wiki stack for monitoring stats, research queues, and agent actions.
- The tradeoff is not subtle: according to plannotator's follow-up, one HTML output path is measuring at about 5 times the tokens of Markdown before optimization.
- The pattern is already leaking into tools around Claude Code, because charlieholtz's preview post adds HTML preview to a markdown-style surface while the visual-explainer repo turns diff reviews, plan audits, and diagrams into self-contained pages.
You can browse Thariq Shihipar's example gallery, steal Simon Willison's PR review prompt pattern, inspect Anthropic's own frontend-design skill, and watch a separate tool author ship HTML preview in the next release. The weirdly useful bit is that most of the examples are not websites in the usual sense. They are disposable interfaces for one task, one repo, or one agent run.
HTML artifacts
Thariq Shihipar's example gallery turns the argument into a catalog. The gallery groups artifacts by job instead of by frontend technique: exploration and planning, code review and understanding, design, prototyping, diagrams, research, reports, and custom editors.
The examples are much more concrete than "HTML over Markdown":
- Side by side code approaches with inline tradeoffs
- Live visual design directions
- Implementation plans with milestones and data-flow diagrams
- Annotated PR reviews and module maps
- Component variant sheets and design-token swatches
- Clickable flows, animation sandboxes, and inline SVG diagrams
That screenshot also shows the scale of the thing. The companion page collects 20 self-contained .html files, grouped as replacements for documents people usually skim once and forget.
PR review and explainers
The best argument for HTML is code understanding. In Simon Willison's post, the prompt he pulled from Shihipar asks Claude to review a PR as an HTML artifact, focus on the streaming and backpressure logic, render the actual diff, and add inline margin annotations with severity color-coding.
Willison then tried the same pattern on an obfuscated Linux exploit script. simonw's example shows the shape that Markdown struggles to produce cleanly: a safety callout, a numbered high-level summary, and a pattern-versus-purpose table for the weird bits of the code.
Shihipar's follow-up in trq212's reply pushes the idea further, suggesting an interactive step-through with a simulated call stack or state machine. That is the real shift here, Christmas come early for explainer nerds: the output is moving from formatted notes to small single-purpose interfaces.
Skills and companion tools
Anthropic's own frontend-design skill already points Claude Code toward polished HTML, CSS, and JS outputs. Its instructions are not about generic mockups, they explicitly push for production-grade interfaces, distinctive visual direction, and working frontend code.
Outside Anthropic, the visual-explainer repo packages the same instinct into a portable skill. Its headline commands are easy to scan:
draw a diagram of our authentication flow/diff-review/plan-review ~/docs/refactor-plan.md- slide-deck and recap style outputs for project summaries
According to omarsar0's reply, /frontend-design is his default for designing artifacts, while omarsar0's workflow clip shows those artifacts hooked up to agents and an LLM wiki layer. The result is less "generated document" and more local control panel.
Token costs
The cost objection showed up immediately, and it is real. In plannotator's follow-up, the rough measurement for one HTML output path is about 5 times the tokens of Markdown, though he adds that raw CSS is inflating the count and a CDN or Tailwind-style approach cuts that roughly in half.
Simon Willison makes the same tradeoff legible from the other side in his post: Markdown used to win decisively when 8,192-token GPT-4 limits made lean output mandatory, but richer output starts to look cheaper when the time sink is human comprehension rather than context fit.
Even the jokes landed on pricing first. untraceable_the's joke worked because the extra-token bill is obvious enough that builders are already talking about when HTML is worth spending on, not whether it is free.
Preview surfaces
One clean signal that this is escaping tweet discourse is tool support. In charlieholtz's preview post, a markdown-style editor that already supported Markdown preview adds HTML preview in its next release after seeing the thread.
A second signal is infrastructure choice. stephenhaney's Paper note says building on HTML and CSS cost extra R&D versus a custom renderer, but still ended up being the right bet because HTML had become the language for visual communication with agents. That is new information at the tail of the story: once artifacts stop being throwaway eye candy, renderer choice becomes product strategy.