DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to record a 28 second film of a machine for social feeds with Machine Skill

Generate a machine and record a numbered-beat film with music, sized for a feed post.

Short answer: Run npx skills add AirsupHQ/machine-skill -g -a claude-code and start a Claude Code session; then run /machine a mechanical watch movement, the escapement ticking to produce watch.html; install the recorder dependencies with npm i -D playwright && npx playwright install chromium and install ffmpeg from your package manager. All steps.

  • Content
  • Intermediate
  • 60 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA content creator or marketer making short technical clips who wants a film without a video editor.

The problemFilming a moving machine by hand is slow, and screen recordings of web pages often show glitches or blank frames.

The outcomeA 28 second MP4 of a machine in numbered beats with a music bed, sized for a 1080 x 1350 feed post.

What you need first

  • Claude Code, or another Agent Skills host such as Codex or Cursor, to build machines
  • A browser with WebGL 2 to run the generated pages
  • Node 18+, Playwright and ffmpeg, only if you want to record films or stills

Steps

  1. Run npx skills add AirsupHQ/machine-skill -g -a claude-code and start a Claude Code session.
  2. Run /machine a mechanical watch movement, the escapement ticking to produce watch.html.
  3. Install the recorder dependencies with npm i -D playwright && npx playwright install chromium and install ffmpeg from your package manager.
  4. Record the film with node ~/.claude/skills/machine/scripts/record.mjs watch.html out/watch.mp4 --music freepd:Classical/Easy_Lemon.
  5. For a feed post, record again with node scripts/record.mjs examples/turbofan.html out/turbofan-feed.mp4 --w 1080 --h 1350, then check the output with node scripts/pinkscan.mjs out/*.mp4.

Prompt for your agent

Using the repo AirsupHQ/machine-skill, build a watch movement page for <machine description> and record a 1080 x 1350 film with `scripts/record.mjs`. The expected output is an MP4 in out/ of about 28 seconds. Verify that `scripts/pinkscan.mjs` reports no pink frames and that the command exits zero.

Caveat. Recording needs Node, Playwright and ffmpeg on a machine with a working headless GPU, and the README says heavy pages want a real GPU.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for AirsupHQ/machine-skill and "Record a 28 second film of a machine for social feeds"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer