FREE RESOURCE · FROM THE "CARTOON" REEL
Make a cartoon episode with Claude Code + HyperFrames (setup, prompts, YouTube rules)
By Hammad Yousuf · 26 November 2026
Claude Code writes the cartoon as code (HTML and CSS scenes, characters, storyboard); HyperFrames, HeyGen's free, open-source framework (Apache 2.0), renders that code to an MP4. No video model and no animator: every shot is a web page that gets recorded frame by frame.
Facts checked 26 November 2026
What it is
- Claude Code writes the whole cartoon as code: the story, a character sheet, a storyboard and each scene as HTML/CSS layers.
- HyperFrames renders it: it seeks each frame in headless Chrome and encodes the result with FFmpeg, so the same input gives the same video. Apache 2.0, with no per-render fees (about 90,000 GitHub stars on 26 Nov 2026).
- Narrator, music and sound effects come from the HyperFrames /media-use skill (voiceover, music and sound effects with HeyGen or free local tools), not from Claude itself.
- Edits are one line: 'make it night' changes the scene code and re-renders.
Setup
Needs Node.js 22+ and FFmpeg on your machine. Claude Code is not in the Free plan: it comes with Pro and every plan above it (Max, Ultra, Team, Enterprise).
Claude Code plugin (the route in the reel)
1. Add the HyperFrames marketplace:
claude plugin marketplace add heygen-com/hyperframes2. Install the plugin:
claude plugin install hyperframes@hyperframesTo keep the plugin current, run /plugin in Claude Code, then Marketplaces → hyperframes → Enable auto-update.
Other agents: install the skills
Using Codex, Cursor or another coding agent, or prefer plain skills? Install the skills instead and pick "Core Skills" in the picker (no picker in scripts: `npx hyperframes skills update`).
npx skills add heygen-com/hyperframesBy hand, with the CLI
Want to see the moving parts? The CLI does the same by hand: create a project, preview it live in the browser, then render it to MP4.
npx hyperframes init my-video
cd my-video
npx hyperframes preview
npx hyperframes renderPrompts
Episode prompt: paste it into Claude Code.
Use HyperFrames. Make a 60-second kids' cartoon in a felt-and-paper style: a little blue elephant in an Indian village finds a fallen star. Write the story, a character sheet and a 6-shot storyboard first, then build each scene as HTML/CSS layers and render it.Edit prompt: one line, and Claude Code changes the scene code and renders again.
make it nightYouTube rules
- Original stories only: YouTube Partner Program content must not be mass-produced, generic or repetitive, and AI content made with generic or unoriginal templates is not eligible.
- If you make kids' content, YouTube requires you to mark it Made for Kids (COPPA applies wherever you are).
- AI disclosure is only required for realistic content. A fully animated cartoon, or a voice-over in your own cloned voice, does not need the label; making a real person appear to say something they did not does.
Templates and automation are not banned on their own: the finished video still has to show your own creative idea and give real entertainment or educational value.
Official links
- HyperFrames on GitHub (Apache 2.0)github.com/heygen-com/hyperframes ↗
- HyperFrames plugin guidehyperframes.heygen.com/guides/plugins ↗
- Claude Codeclaude.com/product/claude-code ↗
- Claude plansclaude.com/pricing ↗
- YouTube channel monetization policies (inauthentic content)support.google.com/youtube/answer/1311392 ↗
- YouTube: Made for Kids FAQsupport.google.com/youtube/answer/9684541 ↗
- YouTube: disclosing altered or synthetic contentsupport.google.com/youtube/answer/14328491 ↗
Sources checked
- HyperFrames: Apache 2.0, renders HTML to MP4 with headless Chrome + FFmpeg, about 90,000 stars on 26 Nov 2026. Source ↗
- Plugin install commands, npx skills route, CLI commands, Node.js 22+ and FFmpeg, the /media-use skill (README, 26 Nov 2026). Source ↗
- Claude Code is not in Free; included in Pro, Max, Ultra, Team and Enterprise. Source ↗
- YPP: content must not be mass-produced, generic or repetitive; AI content from generic or unoriginal templates is ineligible. Source ↗
- Creators must mark kids' content Made for Kids (COPPA). Source ↗
- Disclosure is for realistic AI content; non-realistic animation and cloning your own voice for voice-overs are exempt. Source ↗
About the video: the reel that sent you here is presented by an AI avatar of Hammad Yousuf: a cartoon version of him with an AI clone of his voice. The cartoon in it was written as code by Claude Code.
Keep going
- 10 Claude animation styles: the prompts
- Claude animation styles: the free style pack (10 looks, real code)
- Claude motion graphics: the style file, the brief and 16 scene lines
- All free resources from the reels
- More free prompts from my reels
- Follow @withhammad.ai on Instagram for the next one
- Subscribe to @with.hammad on YouTube