Who it is forA language teacher or community educator who needs a lesson written in a script such as Arabic, Urdu or Hebrew.
The problemMost video tools do not draw handwriting correctly in right-to-left or non-Latin scripts.
The outcomeA narrated board MP4 with the chosen script written in a face that suits it.
What you need first
- macOS
- Node 20 or newer
- ffmpeg (install with brew install ffmpeg)
- Claude Code, since the repo installs as a Claude Code skill
Steps
- Complete the install:
brew install ffmpeg, thengit clone https://github.com/haiderfarooq3/khan-explainer ~/.claude/skills/khan-explainer, thencd ~/.claude/skills/khan-explainer/scripts && npm install && npx playwright install chromium. - Render the Arabic example:
cd ~/.claude/skills/khan-explainerandnode scripts/render.js examples/arabic.js arabic.mp4. - Ask Claude Code for your lesson in the target language, and set
langon the scene to the matching code, for examplelang: 'ar'for Arabic. - Run
node tests/run.jsto render the language samples, then open the contact sheet to check the writing direction.
Prompt for your agent
Using the khan-explainer skill, create a lesson in <language> with the scene set to lang <language code> and render it to an MP4. Expected output is a narrated board MP4 with correct writing direction. Verify with the contact sheet that the text reads in the right direction and is not clipped.
Caveat. The README says the language-matched voice comes from the lang setting, so check the voice output yourself for languages you do not read.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for haiderfarooq3/khan-explainer and "Make a lesson board in Arabic, Urdu, Hebrew or another language"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer