Text is Slow: Ask for a Page for AI Agent A developer has published a practical guide for turning long text output into self-contained interactive HTML pages, citing Andrej Karpathy's argument that plain text is often the slowest way to understand AI-generated work. The guide walks through five copy-paste prompts for Claude Code, Cursor and Claude — converting course lessons into scroll-based stories, git diffs into visual PR previews, and multi-agent logs into daily reports — each producing a single file with no build step or server. Andrej Karpathy made a simple point on X https://x.com/karpathy/status/2105819303471976479 : as AI does more of the work, our job moves to oversight and understanding, and plain text is often the slowest way to understand anything. He suggests a ladder of output formats: controlled-language text, diagrams, interactive HTML pages and explainer videos. He also says code is now cheap enough to build large, throwaway software that you use once. That idea is easy to agree with and easy to forget. This guide makes it practical. Below are five real cases you can set up today in Claude Code, Cursor or Claude, each with a prompt you can copy. Then there are five more ideas for later. Every case follows the same loop: Keep the file self-contained. No build step, no server, no external data. That one rule makes it work the same in every tool. Course Blog into Interactive lesson using AI https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHT4POb9a4AAjGyn%3Fformat%3Djpg%26name%3Dsmall Problem: Course content is usually long text. Students skim it and forget it. Fix: Turn each lesson into a scroll-based story with a diagram, a small interaction and a quick check. Prompt: Read lesson-03.md http://lesson-03.md . Create lesson-03.html as one file. Make a scroll story: one idea per screen, an SVG diagram for the main concept, one interactive element a slider, toggle or click-through , and three quiz questions at the end. Write the text in simple technical English: short sentences, active voice. Dark theme. Where to run it: Claude Code or Cursor, with a loop over the lessons folder. Ask for the same layout every time so the course looks consistent. Check the facts in each lesson yourself before you ship, because a polished page makes a wrong claim look right. Git difference into Visual PR preview https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHT4PRPQb0AAqbdR%3Fformat%3Djpg%26name%3Dsmall Problem: A diff shows what changed, not what it means. Reviewers read hundreds of lines to find the one risky change. Fix: Generate a visual preview for each pull request. Prompt in Cursor or Claude Code, inside the repo : Run git diff main...HEAD. Create pr-preview.html as one file. Include: a plain-English summary in five lines, a diagram of the files and functions that changed and how they connect, before and after snippets for the three most important changes, and a list of risks and things to test. Open the file next to the real diff. Use it as a map, not as a replacement for reading the code. For a team setup, add the file as a CI artifact so every PR has a link. The model can miss a bug, so treat the "risks" list as a starting point. Daily agent report for the teams https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHT4PUOlbEAEhz H%3Fformat%3Djpg%26name%3Dsmall Problem: You run several agents. Each one writes a long log. The person who needs the result, such as a manager, a client or the parents of a student using a learning agent, will not read raw logs. Fix: One interactive daily report. Here are today's logs from five agents logs/ .json . Create daily-report.html as one file with the data embedded. Show: a top card with what got done, what failed and what needs a human decision; a timeline per agent; a filter by agent; and a "why" panel that opens on click. Use plain, calm language for a non-technical reader. Where to run it: A scheduled script collects the logs, calls Claude, writes the file and emails or hosts it. Because the data is embedded, the page works offline when opened from an email attachment. For anything about children, show only what the parents need and do not include private details by default. YouTube videos into interactive examples https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHT4PWqGaIAA0kff%3Fformat%3Djpg%26name%3Dsmall Problem: The best teaching is locked in long videos. Fix: Archive the transcript, then turn it into a page. TubeLog https://github.com/shreyvijayvargiya/tubelog saves each video's transcript as a Markdown file, which is the ideal input. Read videos/