juanmarchetto/agent-skills/webreel
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Create and record scripted browser demo videos with webreel. Generates MP4, GIF, or WebM recordings with cursor animation, keystroke overlays, and sound effects from a JSON config. Use when: record a demo, create a browser video, edit a webreel config, generate a screen recording, preview a demo, product video, marketing video, record website, work with webreel in any way.
Install
npx vskill@latest install juanmarchetto/agent-skills/webreelSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
webreel
webreel records scripted browser demos as MP4, GIF, or WebM with cursor animation, keystroke overlays, and sound effects. You define steps in a JSON config, and webreel drives headless Chrome, captures frames, and encodes with ffmpeg.
Installation
Install webreel as a project dependency so the version is pinned in the lockfile. This ensures deterministic recordings across machines and CI.
If the project already has webreel in its dependencies, skip this step.
Prerequisites
webreel requires Chrome and ffmpeg, but you do NOT need to install them manually. Both are automatically downloaded to ~/.webreel on first run if not already present. Do not install Chrome or Chromium via puppeteer, playwright, or any other tool. webreel manages its own browser.
To download dependencies explicitly, or to fix corrupted/broken binaries:
To override the auto-downloaded binaries, set these environment variables:
CHROME_PATH- path to a Chrome or Chromium binary (used for preview)CHROME_HEADLESS_PATH- path to a chrome-headless-shell binary (used for recording)FFMPEG_PATH- path to an ffmpeg binary
If a recording fails with "No inspectable targets" or similar browser errors, the issue is almost certainly in the webreel config (wrong waitFor, missing element, timing), not a missing browser. Check the config and use --verbose to debug.
.gitignore
The .webreel directory is created at the project root during recording (frames, intermediate files). Add it to .gitignore:
Quick start
npx resolves to the locally installed version when webreel is in devDependencies. Output lands in videos/ by default (configurable via outDir).
Agent Workflow
When the user asks to record a demo, follow these steps:
- Check for config — look for
webreel.config.json(or.ts/.jsvariants) in the project root - Initialize if missing — if no config exists, run
npx webreel init --name <name> --url <url>to scaffold one - Edit config with steps — add steps to the
videosmap based on what the user wants to demonstrate (clicks, typing, navigation, etc.) - Preview first — run
npx webreel preview <name>to verify steps work in a visible browser before recording - Record — run
npx webreel record <name>to produce the final video - Iterate — if the user wants to adjust timing, theme, or overlays, edit the config and use
npx webreel composite <name>to re-apply overlays without re-recording
If the user provides a URL but no specific steps, suggest a sensible default flow: navigate to the page, wait for load, scroll down slowly, highlight key UI elements with clicks or hovers.
When to Use webreel vs Other Tools
| Tool | Best For | Key Difference | |
|---|---|---|---|
| webreel | Scripted demos with polish (cursor animation, keystroke overlays, sound effects) | Deterministic, config-driven, produces production-quality video | |
| Playwright recording | Quick screen captures for bug reports or docs | Fast but no cursor animation, no overlays, no post-processing | |
| demo-pipeline | Natural language to automated demo | Higher-level abstraction, less control over individual steps | |
| Agent browser (Playwright MCP) | Live interaction and testing | Real-time browsing, not optimized for video output |
Choose webreel when: the output needs to look polished (marketing, onboarding, product demos, social media), steps are known in advance, and you want repeatable recordings.
CLI commands
init
Scaffold a new webreel.config.json.
Flags: --name (video name), --url (starting URL), -o, --output (output file path).
record
Record one or more videos.
preview
Run steps in a visible browser without recording.
composite
Re-apply overlays (cursor, HUD, sfx) to existing raw video without re-recording. Useful for tweaking theme settings.
install
Download Chrome and ffmpeg to ~/.webreel. Also use this to fix corrupted or broken binaries.
validate
Check config for errors without running anything.
Config structure
Config files are auto-discovered as webreel.config.json (or .ts, .mts, .js, .mjs). Use -c to specify a custom path.
Top-level fields
| Field | Default | Description | |
|---|---|---|---|
$schema | - | "https://webreel.dev/schema/v1.json" | |
outDir | "videos/" | Output directory for rendered videos | |
baseUrl | "" | Base URL prepended to relative video URLs | |
viewport | 1080x1080 | Default viewport { width, height } | |
theme | - | Cursor and HUD overlay theme | |
sfx | - | Sound effect settings | |
include | - | Array of step file paths prepended to all videos | |
defaultDelay | - | Default delay (ms) appended after each step | |
clickDwell | - | Cursor dwell time (ms) before a click |
Per-video fields
Each entry in the videos map supports:
| Field | Default | Description | |
|---|---|---|---|
url | required | URL to open (absolute or relative to baseUrl) | |
viewport | inherited | Override viewport { width, height } | |
zoom | - | CSS zoom factor | |
waitFor | - | Selector or text to wait for before starting steps | |
output | "<name>.mp4" | Output path (.mp4, .gif, .webm) | |
thumbnail | { time: 0 } | Thumbnail config, or { enabled: false } | |
include | inherited | Step files to prepend | |
theme | inherited | Override theme | |
sfx | inherited | Override sound effects | |
defaultDelay | inherited | Override default delay | |
clickDwell | inherited | Override click dwell | |
fps | 60 | Frame rate | |
quality | 80 | Encoding quality (1-100) | |
steps | required | Array of step objects |
Videos map
Videos are keyed by name in the config:
Record specific videos by name: webreel record hero login.
Step types
Each step has an action field. Most steps accept optional label, delay (ms after step), and description fields.
| Action | Key fields | Purpose | |
|---|---|---|---|
pause | ms | Wait for a duration | |
click | text or selector, within, modifiers | Click an element | |
type | text, selector, within, charDelay | Type text into an input | |
key | key, target | Press a key combo (e.g. "cmd+s") | |
drag | from, to (element targets) | Drag between two elements | |
scroll | x, y, selector | Scroll the page or an element | |
wait | selector or text, timeout | Wait for an element to appear | |
moveTo | text or selector, within | Move cursor to an element | |
navigate | url | Navigate to a new URL | |
hover | text or selector, within | Hover over an element | |
select | selector, value | Select a dropdown value | |
screenshot | output | Capture a PNG screenshot |
For full field details on every step type, see steps-reference.md.
Element targeting
Many steps target elements using these fields:
text- match by visible text contentselector- match by CSS selectorwithin- narrow the search to a parent matching this CSS selector
You can use text or selector (not both). within is optional and scopes the search.
Viewport presets
Use preset names as string values for viewport, or specify { width, height }:
desktop (1920x1080), desktop-hd (2560x1440), laptop (1366x768), macbook-air (1440x900), macbook-pro (1512x982), ipad (1024x1366), ipad-pro (834x1194), ipad-mini (768x1024), iphone-15 (393x852), iphone-15-pro-max (430x932), iphone-se (375x667), pixel-8 (412x915), galaxy-s24 (360x780).
Theme
Customize cursor appearance and keystroke HUD:
cursor.image- path to a custom cursor SVG or PNGcursor.size- cursor size in pixelscursor.hotspot-"top-left"(default) or"center"hud.position-"top"or"bottom"
Common patterns
Shared steps via include
Factor out reusable step sequences (e.g. dismissing a cookie banner) into JSON files:
Reference them in the config:
Multiple videos in one config
Define several videos in the videos map. Shared settings (viewport, theme, defaultDelay) are inherited from the top level.
Environment variables
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/webreel/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/juanmarchetto/agent-skills/webreel)