DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

  • 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page