Loading video...

Video Failed to Load

Go Home

Every tip in Andrej Karpathy's post is gold. I use the HTML one a lot. When I'm learning something new or trying to understand complex code, I ask the agent to build me a visual HTML page. Here I was learning SEO and GEO. The agent turned the key...

51,534 views • 7 days ago •via X (Twitter)

17 Comments

CODIFY's profile picture
CODIFY7 days ago

@karpathy Thanks for sharing this!

Esen Espinosa's profile picture
Esen Espinosa7 days ago

@karpathy I literally ask AI to make me complete career paths for me to tackle. It took a couple weeks, but is possible and easy to read.

Lochin's profile picture
Lochin7 days ago

@karpathy How about the cost? When you ask to generate something in HTML, it burns a lot of token or do you use alternative free AI? Because i try to not buy a pro plan and paid subscription, can i still manage to build it in HTML?

Rise of AI's profile picture
Rise of AI6 days ago

@karpathy A nice next step: ask the page to make you predict the result before revealing it. Clicking through an explanation can feel like understanding; changing an input, making a prediction and getting it wrong shows you exactly what you haven’t learned yet.

@hemanth's profile picture
@hemanth6 days ago

@karpathy Yeah, trying to create an HTML communication skill, but the thing is, I'm not able to create a very good skill that can convey information beautifully. Any tips?

Asmir's profile picture
Asmir7 days ago

@karpathy yh the clickable page is nice but i'd be careful, if you can't spot a wrong claim yet then a polished page makes it feel checked. seo and geo advice is half guesswork so i'd make it put a source next to every claim

Kai's profile picture
Kai7 days ago

@karpathy Yeah, hallucinations are definitely a concern here.

Hugo Kemnitz's profile picture
Hugo Kemnitz7 days ago

Ask your Agent what he thinks about it in comparison to md files. It is BS. Token consumption will go up due to the waste in the html files. Limited word catalog of the aerospace standard will hurt your brain if you’re semi intelligent. And your agents will struggle to find content specific word.

Rohan's profile picture
Rohan7 days ago

@karpathy Asking for an HTML page forces the agent to commit to a structure, so gaps in its understanding show up as missing boxes. Did the SEO and GEO page get anything wrong that you only noticed because it was drawn out?

sofie j,'s profile picture
sofie j,6 days ago

@karpathy this is how i end up with 40 tabs open and a new hobby every week

Yurii Filipchuk🇺🇦 — e/acc's profile picture
Yurii Filipchuk🇺🇦 — e/acc6 days ago

@karpathy custom textbook for an audience of one.

Danish Khan's profile picture
Danish Khan7 days ago

@karpathy That airlines manual thingy drastically changed outputs for me, even on smaller models.

TheAgenticHQ's profile picture
TheAgenticHQ6 days ago

@karpathy same, the html pages click better than walls of text. did this for a messy api last week and it finally stuck. your seo one looks clean too.

Directionally Correct's profile picture
Directionally Correct6 days ago

@karpathy Yeah, I will literally never make a PowerPoint again 😂

Jordan Lee's profile picture
Jordan Lee6 days ago

@karpathy yeah I’d take a clickable page over 50 pages of docs any day lol

Darren Li's profile picture
Darren Li6 days ago

@karpathy Same here. Asking the agent for an interactive HTML page instead of a wall of text changed how fast I pick up new stuff.

Florian Hack's profile picture
Florian Hack7 days ago

@karpathy Fanboy Post and Late to the Party

Related Videos

Three skills I use every day in Claude Code and Codex to solve my hardest problems: 1️⃣ /agent-watchdog When I have one agent like Codex working on a task and I don't fully trust it's going to do everything right, I'll open up another one like Claude Code and tell it to watchdog the Codex thread. You can copy the Codex deep link into Claude Code and it'll look at the prompt you sent, watch the Codex thread until it's done, then compare the Codex solution to how it was planning to solve it and automatically fix anything that Codex missed. It can also test the work of the other agent end-to-end. Similar to the idea of OpenRouter's new Fusion feature, I've definitely found that two models thinking through a problem and checking each other's work can be wildly more impactful than just one. 2️⃣ /plan-arbiter Similar ideas as /agent-watchdog - but with this one you have both make plans, compare plans, negotiate the differences, and make a final plan to execute. I find Claude Code is better at writing plans, but Codex is faster and cheaper to execute on them. Then I usually have Claude Code watchdog the Codex work and fix anything that was missed. 3️⃣ /read-the-damn-docs One thing that drives me crazy with coding agents is they're so reluctant to look up docs. They'll just guess and guess and guess at the right API surface for things, or the right solution to an integration of two things. Once I explicitly tell it to look up the docs, it says "Oh, I see the answer," and it fixes the problem. So I made the /read-the-damn-docs skill. Add it and your agents will know when and how to do efficient web searches to look up docs for the types of problems you really should look up docs for. All of these are totally open source over on my GitHub. If you try them, let me know your feedback. Will link to them below:

Steve (Builder.io)

43,089 views • 3 months ago