Skip to content
Back to skills

Record Demo

ASecurity

Use when the user asks to record a demo of a finished frontend task or a video reproducing a bug in a web app. Records an mp4 with a visible cursor and step captions through agent-browser. Do not load for a single screenshot or e2e tests.

  • 13 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
toolsbashfrontend

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add tednaaa/nixos-config --skill record-demo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Record Demo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Record Demo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tednaaa-record-demo/badge)](https://www.skillsdirectory.com/skills/tednaaa-record-demo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: record-demo
description: Use when the user asks to record a demo of a finished frontend task or a video reproducing a bug in a web app. Records an mp4 with a visible cursor and step captions through agent-browser. Do not load for a single screenshot or e2e tests.
argument-hint: "<what to show or the bug> <url> <login> <password>"
---

# Record demo

## Inputs

From `$ARGUMENTS` and the chat:

- URL — missing → ask; never guess a port from configs
- account — missing and the page asks for login → ask
- scenario: what to show, or the bug's steps and expected result
- mode: a bug, broken behaviour, repro → repro; otherwise demo

## Preflight

- `agent-browser doctor` — no `pass` under Recording → stop and say so
- URL does not answer → stop and say so; never start a dev server

## Session

```bash
agent-browser session id --scope worktree --prefix record-demo
```

- `export AGENT_BROWSER_SESSION=<printed name>` in every Bash call
- `set viewport 1440 900`
- command details: `agent-browser skills get core`

## Rehearsal

No recording yet.

- `open <url>`, `snapshot -i`, walk the whole scenario
- per step note a selector that survives a fresh session — CSS or `find role … --name`, never an `@e` ref
- per pointer target note its centre from `get box <selector>`: `x + width/2`, `y + height/2`
- fix the failing steps
- repro: confirm the bug shows; it does not → say so, record nothing, stop

## Take folder

- `demos/<YYYY-MM-DD>__<HH>_<MM>/` in the task workspace from the workspace rule; taken → `__2`, `__3`

## Take

The whole take is one Bash call: every pause between calls lands in the video.

```bash
set -e
export AGENT_BROWSER_SESSION=<name>
trap 'agent-browser record stop' ERR
agent-browser close
agent-browser open --init-script <skill dir>/caption.js <url>
agent-browser set viewport 1440 900
agent-browser record start <take>/video.mp4 --cursor
agent-browser mouse move 720 450 --duration 300
agent-browser eval "__caption('<action>')"
agent-browser mouse move <cx> <cy> --duration 400
agent-browser wait 150
agent-browser click <selector>
agent-browser wait --text "<result text>"
agent-browser wait 600
agent-browser record stop
```

- pointer step: `mouse move` to the centre, `wait 150`, `click` — the cursor lands before the click
- text step: the pointer step on the field, then `type <field> "<text>"`; never `fill`
- caption: the request's language, one short action; covers the element in use → `__caption('<action>', 'top')`
- final state: `wait 1500` before `record stop`
- the script fails → delete the take folder, fix in rehearsal, retake

## Demo

- shortest path to the result, no side screens
- `screenshot <take>/final.png` before `record stop`

## Repro

- end on the broken state; caption names what is wrong
- `screenshot <take>/broken.png` before `record stop`
- `console > <take>/console.log`, then `errors >> <take>/console.log`
- `network requests > <take>/network.log`

## Reply

- the take folder path
- repro: the errors and failed requests that explain the bug, one line each
- `close` the session

Files in this skill

  • SKILL.md3 KB
  • caption.js1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.