Credentials. The skill reads and writes the shared .env file, which holds TTS settings and any Vbee credentials, so keep .env out of commits as the README says.
Who it is forA content creator or teacher who wants a new short comparing two confusing concepts and prefers to describe it to an AI coding agent instead of building the project by hand.
The problemBuilding a comparison video means creating a project, writing a script, generating voiceover and laying out the scene while keeping the series style consistent.
The outcomeA new project folder under videos/ with a generated composition and voiceover files, checked with npm run check.
What you need first
- Node.js 18 or newer
- FFmpeg and FFprobe available in PATH
- One TTS provider: VieNeu TTS (needs CIT Voice Studio running locally), Edge TTS (no API key), or Vbee TTS (needs App ID and Access Token)
- Optional: an AI coding agent such as Claude Code, Cursor or Codex to run the create-video skill
Steps
- Clone the repo with git clone https://github.com/Cuongyd196/auto-compare-video and open its folder. (inferred, check the README)
- Run
cp .env.example .envand set TTS_PROVIDER in .env to vieneu, edge or vbee. - In Claude Code, run
/create-video Dev và DevOpswith your own concept pair. - When asked, confirm the concept pair and the 12-line script, unless AUTO_CREATE_VIDEO is set to 1.
- Inside the new project folder under videos/, run
npm run check, thennpm run render.
Prompt for your agent
In the auto-compare-video repo, run the create-video skill for the concept pair <concept A and concept B>, following DESIGN.md, and create the project under videos/. Expected output: a new videos/ project folder with index.html and assets/vo/durations.json. Verify that npm run check passes inside that folder before reporting done.
Caveat. The README says the create-video skill asks for confirmation unless AUTO_CREATE_VIDEO=1, so expect a pause before the project is built.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Cuongyd196/auto-compare-video and "Make a new comparison short with the Claude Code skill"
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