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.
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
Code-driven AI illustrations are more useful than images from dedicated image models
Code‑driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game‑changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross‑platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.