Screenplay Brings Scripted Screen Recording to Claude Code
AI summary
Developer gmpetrov released Screenplay, a free MIT-licensed open-source tool for Claude Code. According to the developer, Claude Code can create a JSON scenario, which Screenplay plays in headless Chromium via Playwright, records, and edits into an MP4. The reported workflow includes cursor movement, automatic zooms, click effects, captions, and optional voice-over, and can also record desktop apps across macOS, Windows, and Linux. Screenplay does not contain AI itself and, because it runs headlessly, can operate in containers without a screen. The developer says the tool is also compatible with Codex and Cursor.
Just released Screenplay 🎬
Ask Claude Code "make a 30s video of https://yoursite.com" and you get a polished MP4: smooth cursor, auto zooms, click effects, captions, optional voice-over.
How it works
No AI inside, no API key: Claude does the thinking, Screenplay does the filming and editing. Headless, so it also runs in containers without a screen.
How Claude helped
I built it with Claude Code, and it's made for it. npx agent-screenplay init adds an MCP server and a /screenplay command to Claude Code (Codex and Cursor work too), plus a guide that teaches the agent how to write a good scenario: what to zoom on, how long to linger, when to add a callout. After filming, Claude looks at a storyboard of the take and fixes the scenario if a shot is off.
Try it (free, MIT): npx agent-screenplay init, restart Claude Code, then /screenplay Make a 30-second walkthrough of https://yoursite.com
Repo: https://github.com/gmpetrov/agent-screenplay
Feedback welcome! submitted by /u/gptrv
[link] [comments] |