Testreel: Programmatic Demo Video Generation with Claude Code

What Testreel Does
Testreel is an npm package that lets you describe user interactions (click, type, scroll, zoom, etc.) in JSON, YAML, or Playwright format, then generates polished demo videos with visual effects.
Key Features from Source
- Generate webm, mp4, or gif videos from interaction descriptions
- Add cursor overlays, click ripples, and gradient backgrounds
- Use JSON, YAML, or Playwright to define interactions
- Integrated with Playwright for creating videos using mocks and sample data
- MIT License
- Built on Playwright + FFMPEG
Primary Use Cases
The source identifies two main value propositions:
- No need to manually re-record demos due to typos or misclicks - just update the config and regenerate
- Allows LLM agents (like Claude Code) to generate demo videos for web apps with cursor overlays and customizable desktop backgrounds
Practical Implementation
According to the source, users can ask Claude Code to use Testreel to generate demo videos of specific UI flows by describing what they want (e.g., "use realistic data," "use this image"). The author found this relatively straightforward to implement.
The tool is positioned as a programmatic version of ScreenStudio or Cap, enabling automated demo creation similar to how Playwright handles end-to-end testing.
Repository Information
The package is available at: https://github.com/greentfrapp/testreel
The author notes they created it with Claude Code and will continue updating it based on their own usage.
📖 Read the full source: r/ClaudeAI
👀 See Also

Automated Claude Code Pipeline Cuts Token Usage from 78k to 15k Per Feature
An open-source pipeline for Claude Code automates 12 phases including pre-check analysis of existing code, reducing token usage from ~78k to ~15k per feature. It offers three profiles (yolo, standard, paranoid) and replaces confidence scores with grep-based validation.

Phaselock: An AI Agent Control System Inspired by Parenting Techniques
Phaselock is an open-source Agent Skill that implements four control mechanisms for AI coding agents: explicit gates before action, immediate feedback on mistakes, constrained choices, and mechanical rule enforcement. It works with Claude Code, Cursor, Windsurf, and any tool supporting hooks.

TestThread: Open Source Testing Framework for AI Agents
TestThread is an open source testing framework for AI agents that runs tests against live endpoints, provides pass/fail results with AI diagnosis, and includes features like semantic matching, PII detection, and CI/CD integration.

Time Complexity MCP: Static Analysis Tool Feeds Big-O Complexity to AI Coding Agents
Time Complexity MCP is an open-source MCP server that performs static code analysis to detect Big-O complexity, feeding the results directly to AI coding agents like Claude Code or Copilot without token consumption. It supports JavaScript, TypeScript, Python, Java, Kotlin, and Dart.