Hatena
Using Claude Code to Create Videos That Explain How Things Work Is Incredibly Useful
AIFirst seen 586 points
A Japanese developer shares how to have Claude Code build an explainer video that shows how an app works. The video alternates between app actions and the hidden processing behind them.
Making explainer videos with Claude Code
The author uses Claude Code and a skill called animated-arch-diagram to make short videos. Each video shows an app screen action, then the process behind it, then another action. The demo app is a fake library book-search chat. The author made it to test the method.
Why not just use diagrams?
Usually, people explain apps with diagrams, HTML, or Markdown. The author instead uses JavaScript so Claude can build animated videos. The video is not a screen recording. It is a web page that draws one frame for each moment in time. Playwright takes a picture of each frame, and ffmpeg joins them into a video.
Key numbers from the demo
- The demo video is 44 seconds long.
- It has 1,314 frames.
- On the author's Mac, export took about 45 seconds.
- The sentence is split into 9 words.
- There are 10 books, each with a score. The top two differ by 1 point.
Why this matters
Clear explainer videos help people understand how software works. Because the video is made from code and data, it gives the same result each time. If the app changes, the video can be rebuilt, and its numbers update too. The author says this makes video production much easier.
What to watch
- Whether the animated-arch-diagram skill is shared and updated on the GitHub repository.
- How well this method works on real apps, not just a demo library app.
- How much time it saves compared with making videos by hand.
Glossary
- Claude Code
- An AI coding helper from Anthropic that can write and run code on your computer.
- Playwright
- A tool that controls a web browser automatically, used here to take screenshots.
- ffmpeg
- A free tool that joins still images and sound into a video file.
- JavaScript
- A programming language that runs in web pages and makes them move.
- Markdown
- A simple text format that uses plain symbols to set headings and lists.