Using Claude Code: The Unreasonable Effectiveness of HTML

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Prompting LLMs for HTML instead of Markdown output unlocks diagrams and interactive explanations at zero cost, changing a long-standing default habit.

Read this as

Thariq Shihipar, who works on Claude Code at Anthropic, wrote a piece arguing that people should ask AI chatbots for HTML output rather than Markdown, the plain-text format most people have defaulted to. HTML lets the AI include diagrams, clickable navigation and other visual aids in its answers. Simon Willison tested the idea by having the GPT-5.5 model produce an interactive web page explaining a recently discovered Linux security exploit, and found the result pretty good. Anyone who uses AI tools for explanations could try this today.

An Anthropic Claude Code team member, Thariq Shihipar, published guidance advocating HTML over Markdown as LLM output, with examples collected on a dedicated site. Willison notes Markdown's dominance came from GPT-4-era token limits (8,192 tokens) that made its efficiency matter; those constraints no longer apply, so the default is worth revisiting. No costs or adoption data are given. Teams writing prompt conventions for AI coding tools have an immediately actionable, low-cost practice change.

Thariq Shihipar (Anthropic, Claude Code team) argues HTML beats Markdown as an LLM output format because it permits SVG diagrams, inline widgets and in-page navigation. Willison observes the Markdown default stems from GPT-4's 8,192-token limit, which made HTML's token overhead costly; that rationale no longer holds. He demonstrated via 'llm -m gpt-5.5' generating a styled, interactive HTML explainer of the copy.fail Linux privilege-escalation PoC. Limitation: he should have prompted for exploit focus over the surrounding Python harness.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Code Claude GPT-5.5 copy.fail GPT-4 tools.simonwillison.net

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading