Answer me with HTML is an agent skill that has the model write a short Markdown draft and leaves the layout, tables and diagrams to a command line tool. hsianghui’s post says that took 612 output tokens against 4,893 for hand-written HTML. I ran it on seven models, hand-written page against skill page, then again inside an agent. The saving is real. It came to about six times, between the post’s eight and the repo’s own live figure of 4.9. What the post doesn’t show is how often the first draft fails to render.
What the skill does
The skill is QingYunA/answer-me-with-html, MIT licensed, version 0.6.4 when I ran it. When a question deserves more than a paragraph, the model writes Markdown with a few extra blocks such as flow, sequence, state, chart, callout and ask. The bundled CLI, am.mjs, turns that draft into one self-contained HTML page with three themes, light and dark modes and a Reply button. The model never writes HTML, CSS or SVG.

The repo ships its own benchmark. On live runs it reports about 4.9 times fewer output tokens, 2.6 times faster answers and 15 percent lower cost per answer. The 8 times figure in the post is the token count of nine saved pages against nine saved drafts. I wanted to see what other models do with it.
How I ran it
Everything ran on a 4-core, 16 GB RAM, Ubuntu 24 box. I used two rigs. The first calls each model directly, once as a plain question and once with the skill text as the system prompt, so the only difference is the skill. The second runs opencode 1.19.6 with the skill installed in the project folder, and asks the bare question to see whether the agent reaches for the skill on its own.
Seven models: Kimi K3.1 Pro, DeepSeek V4.1 Flash, Claude Opus 5.5, GPT-6.2 Sol, Gemini 4 Neon, MiniMax M4 and GLM 5.4. The first rig used three questions, two runs each.
Explain the TCP three-way handshake and teardown.
Redis or Memcached for our cache?
git merge vs rebase: when should I use which?
Without the skill, each question got this instruction appended:
Answer with one self-contained HTML page: inline CSS, any diagrams as inline SVG, no external requests. Reply with the HTML only.
With the skill, the model got the skill text as the system prompt and this instead:
Write only the Markdown draft that goes between the heredoc markers. No commands, no explanation, no code fence around the whole draft.
I then ran the CLI on each draft myself. If it refused the draft, I sent the model the error message and let it try again, up to two more times. The agent rig used the bare questions, plus a third about the repo itself:
Redis or Memcached for our cache?
Explain the TCP three-way handshake
How are the modules in this repo organised?
About six times fewer tokens
Every model wrote less with the skill. Across the six models in the chart, the median went from about 5,500 output tokens to about 900. Answers came back 2 to 5 times faster, counting the first draft only and not any fix.
| Model | Hand-written tokens | Skill tokens | Hand-written secs | Skill secs | Rendered first try | Rendered after fixes |
|---|---|---|---|---|---|---|
| Kimi K3.1 Pro | 6,517 | 1,334 | 88 | 19 | 3 of 6 | 4 of 6 |
| DeepSeek V4.1 Flash | 4,736 | 973 | 11 | 5 | 3 of 6 | 5 of 6 |
| Claude Opus 5.5 | 7,942 | 2,210 | 63 | 21 | 2 of 6 | 2 of 6 |
| GPT-6.2 Sol | 1,193 | 424 | 14 | 8 | 6 of 6 | 6 of 6 |
| Gemini 4 Neon | 6,272 | 545 | 51 | 15 | 3 of 6 | 3 of 6 |
| GLM 5.4 | 3,944 | 821 | 54 | 16 | 4 of 6 | 5 of 6 |
| MiniMax M4 | 30,000 | 11,031 | 284 | 112 | 3 of 6 | 4 of 6 |

Two rows need a note. MiniMax M4 counts its reasoning tokens, its hand-written runs hit my 30,000 token cap twice and the connection dropped on the other four, so it’s in the table but not the chart. GLM’s rate limit failed three of its six hand-written runs, so its row rests on three. Sol saves the least, because its hand-written pages are already short.
The skill has a cost too. Its text is about 7,300 input tokens on every call, against about 70 for the bare question. I didn’t price the runs, so I can’t say whether the saved output pays for the extra input on your plan.

The pages are heavier. A skill page ran between 179 and 202 KB in every run, because it carries its own scripts and themes. The hand-written pages were 15 KB at the median, and Sol’s ran 3 to 5 KB. The skill page loads from one file with no outside requests, apart from a single link to the project on GitHub.
What the pages look like
Same question, same model, hand-written on the left and skill on the right. Kimi’s hand-written page is a styled hero with cards. Its skill page is plainer, with a recommendation panel and a comparison table.



The skill pages share one look because one tool draws them. You get the three themes and the block types it knows, and nothing else.

Drafts that don’t render
Of the 42 skill drafts in the first rig, 24 rendered on the first go. The CLI refuses a draft it can’t parse and says which line. Fifteen of the 18 failures were the same error, a fenced block that never closes:
✗ L56 Cannot parse the draft: fenced block ```callout is not closed

With up to two fix rounds, 29 of 42 rendered. Sol rendered all six first time. Opus rendered two of six and never recovered the other four, even with two fix rounds, which is a bad result for the model many people reach for on a hard question. The agent rig went better: all 19 runs that tried to build a page ended with one, because the agent reads the error and runs the CLI again. MiniMax M4 needed three failed renders on the repo question. So a failure costs you a retry, as long as something is there to retry.
Inside an agent
In opencode I gave each model only the bare question. On the Redis and TCP questions, 13 of 14 runs reached for the skill on their own and finished in 11 to 32 seconds on 500 to 1,700 output tokens. The exception was GLM on Redis, which answered in plain text. GLM’s TCP run did use the skill but took 170 seconds.
The repo question is the hard one, because the model has to read the code first. Kimi took 33 tool calls and 506 seconds, and GLM took 1,065 seconds. Opus answered in chat after one tool call and built no page. DeepSeek ran the repo’s CLI directly without loading the skill.
| Model | Used the skill | Pages built | Seconds | Output tokens |
|---|---|---|---|---|
| Kimi K3.1 Pro | Yes | 2 | 506 | 4,524 |
| DeepSeek V4.1 Flash | No, ran the CLI directly | 2 | 45 | 4,037 |
| Claude Opus 5.5 | No | 0 | 80 | 1,554 |
| GPT-6.2 Sol | Yes | 1 | 58 | 3,587 |
| Gemini 4 Neon | Yes | 1 | 45 | 2,554 |
| MiniMax M4 | Yes | 6, with 3 failed renders | 218 | 7,704 |
| GLM 5.4 | Yes | 2 | 1,065 | 5,663 |
It doesn’t barge in on simple questions. I asked all seven how to show hidden files with ls. None loaded the skill. Each gave a one-line answer, ls -a, in 4 to 8 seconds.
The page itself
I opened the pages in a real browser. Pages have a theme picker, a light and dark mode, and font size buttons. Questions go in an ask block, and the Reply button turns the chosen option into text you paste back to the agent. In the recording, on a demo page I wrote, I switch the choice from Redis to Memcached and the Reply panel shows it as Memcached (was: Redis).

I checked the 19 pages the agents built at a phone width of 390 pixels. None overflowed sideways. The CLI also exports a video. I ran am video on the repo’s own TCP example with the voice off, and it produced a 54 second MP4 of about 2 MB.
What it will and won’t embed
The skill can quote real code into a page with src=. I pointed it at a folder of files named like secrets. It refused .env, id_rsa, credentials.json and secrets.yml, and refused files outside the folder. It did embed config.local.env and settings.js, both holding an API_KEY line, because the guard goes by file name. The render prints each file it embedded, and the skill tells the model to warn you before you share a page with private code in it. A raw script tag in a draft is blocked with a warning.
Should you use it
It’s worth it for questions that deserve a table or a diagram, where the hand-written page would run to thousands of tokens. For short answers it isn’t, and the agents skipped it for the one short question I tried.
- Pick a model that renders cleanly. Sol did every time, and Opus failed four of six drafts even after two fix rounds.
- Run it inside an agent, so a bad draft gets fixed from the CLI’s error instead of landing on you.
- Set aside about 7,300 input tokens of skill text per call before counting the saving.
- Check what a page embeds before you share it, especially when you point it at your own code.
What this covers
The first rig is two runs of three questions per model, so every figure is a median of six or fewer. The agent rig is one run per model per question. I didn’t price the runs, judge the pages’ accuracy or compare them with other ways of getting a page out of a model.
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.
Sources: hsianghui on X; the answer-me-with-html repository and its bench README (0.6.4); runs of opencode 1.19.6 and direct model calls on a 4-core, 16 GB RAM, Ubuntu 24 box.




